diff options
| author | Alexey Gavrilov <alexey.gavrilov@mail.com> | 2026-06-09 20:02:43 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <alexey.gavrilov@mail.com> | 2026-06-21 16:43:20 +0700 |
| commit | 7c35f03c0d05aece379867f14a85b77204b68879 (patch) | |
| tree | eff6c33980afc598beb91cd80ae4b2fd830613c0 /arch/x86/gdt | |
| parent | d8003ed52d7e360995edd112bdd0b53af8eea9b5 (diff) | |
Apply the GPLv3 licensedocs
Copyright disclaimer and copyright note are prepending to a every source
file.
Add license section in the `README.md` file.
Create the `LICENSE` file with license information.
Signed-off-by: Alexey Gavrilov <alexey.gavrilov@mail.com>
Diffstat (limited to 'arch/x86/gdt')
| -rw-r--r-- | arch/x86/gdt/CMakeLists.txt | 18 | ||||
| -rw-r--r--[-rwxr-xr-x] | arch/x86/gdt/Gdt.cpp | 18 | ||||
| -rw-r--r--[-rwxr-xr-x] | arch/x86/gdt/Gdt.h | 18 |
3 files changed, 54 insertions, 0 deletions
diff --git a/arch/x86/gdt/CMakeLists.txt b/arch/x86/gdt/CMakeLists.txt index ae31792..8010b94 100644 --- a/arch/x86/gdt/CMakeLists.txt +++ b/arch/x86/gdt/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov <alexey.gavrilov@mail.com> + * + * This file is part of ObjectiveOS. + * + * ObjectiveOS 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. + * + * ObjectiveOS 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 + * ObjectiveOS. If not, see <https://www.gnu.org/licenses/>. + ]] + add_library(GDT STATIC) target_link_libraries(GDT PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/gdt/Gdt.cpp b/arch/x86/gdt/Gdt.cpp index 70f30cd..36c78c3 100755..100644 --- a/arch/x86/gdt/Gdt.cpp +++ b/arch/x86/gdt/Gdt.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov <alexey.gavrilov@mail.com> + * + * This file is part of ObjectiveOS. + * + * ObjectiveOS 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. + * + * ObjectiveOS 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 + * ObjectiveOS. If not, see <https://www.gnu.org/licenses/>. + */ + #include "Gdt.h" diff --git a/arch/x86/gdt/Gdt.h b/arch/x86/gdt/Gdt.h index 8f1d967..1b5c424 100755..100644 --- a/arch/x86/gdt/Gdt.h +++ b/arch/x86/gdt/Gdt.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov <alexey.gavrilov@mail.com> + * + * This file is part of ObjectiveOS. + * + * ObjectiveOS 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. + * + * ObjectiveOS 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 + * ObjectiveOS. If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef GDT_H #define GDT_H |
