diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/boot/init/boot.s | 18 | ||||
| -rw-r--r-- | kernel/boot/init/crti.s | 18 | ||||
| -rw-r--r-- | kernel/boot/init/crtn.s | 18 | ||||
| -rw-r--r-- | kernel/boot/link.ld | 18 | ||||
| -rw-r--r-- | kernel/drivers/vga_text_buffer/vga_text_buffer.c | 18 | ||||
| -rw-r--r-- | kernel/include/driver/vga_text_buffer.h | 18 | ||||
| -rw-r--r-- | kernel/include/libk/io.h | 18 | ||||
| -rw-r--r-- | kernel/include/libk/string.h | 18 | ||||
| -rw-r--r-- | kernel/kernel/kernel.c | 18 | ||||
| -rw-r--r-- | kernel/libk/printk.c | 18 | ||||
| -rw-r--r-- | kernel/libk/strlen.c | 18 |
11 files changed, 198 insertions, 0 deletions
diff --git a/kernel/boot/init/boot.s b/kernel/boot/init/boot.s index 6b40c1c..363f98e 100644 --- a/kernel/boot/init/boot.s +++ b/kernel/boot/init/boot.s @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + /* Adapted from https://wiki.osdev.org/Bare_Bones */ /* Declare constants for the multiboot header. */ diff --git a/kernel/boot/init/crti.s b/kernel/boot/init/crti.s index 4e221ab..8ea5c60 100644 --- a/kernel/boot/init/crti.s +++ b/kernel/boot/init/crti.s @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + .section .init .global _init .type _init, @function diff --git a/kernel/boot/init/crtn.s b/kernel/boot/init/crtn.s index 0d58006..7109b57 100644 --- a/kernel/boot/init/crtn.s +++ b/kernel/boot/init/crtn.s @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + .section .init /* gcc will nicely put the contents of crtend.o's .init section here. */ popl %ebp diff --git a/kernel/boot/link.ld b/kernel/boot/link.ld index e6498d5..75239d2 100644 --- a/kernel/boot/link.ld +++ b/kernel/boot/link.ld @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + /* The bootloader will look at this image and start execution at the symbol designated as the entry point. */ ENTRY(_start) diff --git a/kernel/drivers/vga_text_buffer/vga_text_buffer.c b/kernel/drivers/vga_text_buffer/vga_text_buffer.c index d8013ae..d400f2d 100644 --- a/kernel/drivers/vga_text_buffer/vga_text_buffer.c +++ b/kernel/drivers/vga_text_buffer/vga_text_buffer.c @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #include <stddef.h> #include <stdint.h> #include <stdbool.h> diff --git a/kernel/include/driver/vga_text_buffer.h b/kernel/include/driver/vga_text_buffer.h index d292419..7d46b54 100644 --- a/kernel/include/driver/vga_text_buffer.h +++ b/kernel/include/driver/vga_text_buffer.h @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #ifndef __drivers_vga_text_buffer_h #define __drivers_vga_text_buffer_h diff --git a/kernel/include/libk/io.h b/kernel/include/libk/io.h index 4de1af9..ac31038 100644 --- a/kernel/include/libk/io.h +++ b/kernel/include/libk/io.h @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #ifndef __libk_io_h #define __libk_io_h diff --git a/kernel/include/libk/string.h b/kernel/include/libk/string.h index 7ec7adc..7a92dfa 100644 --- a/kernel/include/libk/string.h +++ b/kernel/include/libk/string.h @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #ifndef __libk_string_h #define __libk_string_h diff --git a/kernel/kernel/kernel.c b/kernel/kernel/kernel.c index f5dcf08..a650a31 100644 --- a/kernel/kernel/kernel.c +++ b/kernel/kernel/kernel.c @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #include <libk/io.h> #include <driver/vga_text_buffer.h> diff --git a/kernel/libk/printk.c b/kernel/libk/printk.c index b255dbe..4326d01 100644 --- a/kernel/libk/printk.c +++ b/kernel/libk/printk.c @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #include <libk/io.h> #include <driver/vga_text_buffer.h> diff --git a/kernel/libk/strlen.c b/kernel/libk/strlen.c index 9fdcec9..656b06f 100644 --- a/kernel/libk/strlen.c +++ b/kernel/libk/strlen.c @@ -1,3 +1,21 @@ +/* +* CMOS +* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #include <stddef.h> #include <libk/string.h> |
