From 7c35f03c0d05aece379867f14a85b77204b68879 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Tue, 9 Jun 2026 20:02:43 +0700 Subject: Apply the GPLv3 license 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 --- arch/CMakeLists.txt | 18 ++++++++++++++++++ arch/SecondaryInit.cpp | 18 ++++++++++++++++++ arch/SecondaryInit.h | 18 ++++++++++++++++++ arch/x86/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/PrimaryInit.cpp | 18 ++++++++++++++++++ arch/x86/PrimaryInit.h | 18 ++++++++++++++++++ arch/x86/cpuid/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/cpuid/Cpuid.cpp | 18 ++++++++++++++++++ arch/x86/cpuid/Cpuid.h | 18 ++++++++++++++++++ arch/x86/gdt/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/gdt/Gdt.cpp | 18 ++++++++++++++++++ arch/x86/gdt/Gdt.h | 18 ++++++++++++++++++ arch/x86/ic/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/ic/IPic.h | 18 ++++++++++++++++++ arch/x86/ic/Pic.cpp | 18 ++++++++++++++++++ arch/x86/ic/Pic.h | 18 ++++++++++++++++++ arch/x86/idt/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/idt/Idt.cpp | 18 ++++++++++++++++++ arch/x86/idt/Idt.h | 18 ++++++++++++++++++ arch/x86/io/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/io/VGADisplay.cpp | 18 ++++++++++++++++++ arch/x86/io/VGADisplay.h | 18 ++++++++++++++++++ arch/x86/io/VGADisplayInfo.h | 18 ++++++++++++++++++ arch/x86/msr/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/msr/Msr.cpp | 18 ++++++++++++++++++ arch/x86/msr/Msr.h | 18 ++++++++++++++++++ arch/x86/port/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/port/PortOps.cpp | 18 ++++++++++++++++++ arch/x86/port/PortOps.h | 18 ++++++++++++++++++ 29 files changed, 522 insertions(+) mode change 100755 => 100644 arch/x86/gdt/Gdt.cpp mode change 100755 => 100644 arch/x86/gdt/Gdt.h (limited to 'arch') diff --git a/arch/CMakeLists.txt b/arch/CMakeLists.txt index 0491df7..acef070 100644 --- a/arch/CMakeLists.txt +++ b/arch/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(Architecture INTERFACE) add_library(Initialization STATIC) diff --git a/arch/SecondaryInit.cpp b/arch/SecondaryInit.cpp index 900f84b..04a4343 100644 --- a/arch/SecondaryInit.cpp +++ b/arch/SecondaryInit.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "SecondaryInit.h" void SecondaryInitialization::processorInitialize() diff --git a/arch/SecondaryInit.h b/arch/SecondaryInit.h index 4823052..b841a3e 100644 --- a/arch/SecondaryInit.h +++ b/arch/SecondaryInit.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include #if defined(__IAPC) diff --git a/arch/x86/CMakeLists.txt b/arch/x86/CMakeLists.txt index 5601efa..8abb611 100644 --- a/arch/x86/CMakeLists.txt +++ b/arch/x86/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + target_link_options(CXX_LINKER_REQUIREMENTS INTERFACE LINKER:-L${CMAKE_CURRENT_LIST_DIR} ) diff --git a/arch/x86/PrimaryInit.cpp b/arch/x86/PrimaryInit.cpp index bd03904..e21b509 100644 --- a/arch/x86/PrimaryInit.cpp +++ b/arch/x86/PrimaryInit.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "PrimaryInit.h" // Test ISRs define start diff --git a/arch/x86/PrimaryInit.h b/arch/x86/PrimaryInit.h index 239595d..4d2376a 100644 --- a/arch/x86/PrimaryInit.h +++ b/arch/x86/PrimaryInit.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "gdt/Gdt.h" #include "io/VGADisplay.h" #include "idt/Idt.h" diff --git a/arch/x86/cpuid/CMakeLists.txt b/arch/x86/cpuid/CMakeLists.txt index f03b2b1..e6af515 100644 --- a/arch/x86/cpuid/CMakeLists.txt +++ b/arch/x86/cpuid/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(CPUID STATIC) target_link_libraries(CPUID PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/cpuid/Cpuid.cpp b/arch/x86/cpuid/Cpuid.cpp index 91d159f..a5e3955 100644 --- a/arch/x86/cpuid/Cpuid.cpp +++ b/arch/x86/cpuid/Cpuid.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "Cpuid.h" #include diff --git a/arch/x86/cpuid/Cpuid.h b/arch/x86/cpuid/Cpuid.h index c8ad4aa..73dec19 100644 --- a/arch/x86/cpuid/Cpuid.h +++ b/arch/x86/cpuid/Cpuid.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef CPUID_H #define CPUID_H #include 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 + * + * 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 . + ]] + 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 old mode 100755 new mode 100644 index 70f30cd..36c78c3 --- a/arch/x86/gdt/Gdt.cpp +++ b/arch/x86/gdt/Gdt.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "Gdt.h" diff --git a/arch/x86/gdt/Gdt.h b/arch/x86/gdt/Gdt.h old mode 100755 new mode 100644 index 8f1d967..1b5c424 --- a/arch/x86/gdt/Gdt.h +++ b/arch/x86/gdt/Gdt.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef GDT_H #define GDT_H diff --git a/arch/x86/ic/CMakeLists.txt b/arch/x86/ic/CMakeLists.txt index e6130d7..b724a64 100644 --- a/arch/x86/ic/CMakeLists.txt +++ b/arch/x86/ic/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(IC STATIC) target_link_libraries(IC PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/ic/IPic.h b/arch/x86/ic/IPic.h index 5e0449b..6f72391 100644 --- a/arch/x86/ic/IPic.h +++ b/arch/x86/ic/IPic.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef IPIC_H #define IPIC_H diff --git a/arch/x86/ic/Pic.cpp b/arch/x86/ic/Pic.cpp index 77d9041..a0a8328 100644 --- a/arch/x86/ic/Pic.cpp +++ b/arch/x86/ic/Pic.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "Pic.h" diff --git a/arch/x86/ic/Pic.h b/arch/x86/ic/Pic.h index 9739e05..d0b7c2b 100644 --- a/arch/x86/ic/Pic.h +++ b/arch/x86/ic/Pic.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef PIC_H #define PIC_H diff --git a/arch/x86/idt/CMakeLists.txt b/arch/x86/idt/CMakeLists.txt index da7bdae..a3780a3 100644 --- a/arch/x86/idt/CMakeLists.txt +++ b/arch/x86/idt/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(IDT STATIC) target_link_libraries(IDT PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/idt/Idt.cpp b/arch/x86/idt/Idt.cpp index e24cbfe..0064d6a 100644 --- a/arch/x86/idt/Idt.cpp +++ b/arch/x86/idt/Idt.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "Idt.h" diff --git a/arch/x86/idt/Idt.h b/arch/x86/idt/Idt.h index 3054fd5..a91d34a 100644 --- a/arch/x86/idt/Idt.h +++ b/arch/x86/idt/Idt.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef IDT_H #define IDT_H diff --git a/arch/x86/io/CMakeLists.txt b/arch/x86/io/CMakeLists.txt index 9c2dd33..0686529 100644 --- a/arch/x86/io/CMakeLists.txt +++ b/arch/x86/io/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(IO STATIC) target_link_libraries(IO PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/io/VGADisplay.cpp b/arch/x86/io/VGADisplay.cpp index 7246102..50fd4b7 100644 --- a/arch/x86/io/VGADisplay.cpp +++ b/arch/x86/io/VGADisplay.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "VGADisplay.h" VGADisplay out::display; diff --git a/arch/x86/io/VGADisplay.h b/arch/x86/io/VGADisplay.h index 562b1ae..7e37852 100644 --- a/arch/x86/io/VGADisplay.h +++ b/arch/x86/io/VGADisplay.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef VGAGRAPHICS_H #define VGAGRAPHICS_H diff --git a/arch/x86/io/VGADisplayInfo.h b/arch/x86/io/VGADisplayInfo.h index 55303dd..0f010fc 100644 --- a/arch/x86/io/VGADisplayInfo.h +++ b/arch/x86/io/VGADisplayInfo.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef VGAINFOCLASS_H #define VGAINFOCLASS_H diff --git a/arch/x86/msr/CMakeLists.txt b/arch/x86/msr/CMakeLists.txt index 86d3330..3f4fd8a 100644 --- a/arch/x86/msr/CMakeLists.txt +++ b/arch/x86/msr/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(MSR STATIC) target_link_libraries(MSR PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/msr/Msr.cpp b/arch/x86/msr/Msr.cpp index 7420ab7..19dd1d6 100644 --- a/arch/x86/msr/Msr.cpp +++ b/arch/x86/msr/Msr.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "Msr.h" #include "../cpuid/Cpuid.h" diff --git a/arch/x86/msr/Msr.h b/arch/x86/msr/Msr.h index 8262757..e6c90b2 100644 --- a/arch/x86/msr/Msr.h +++ b/arch/x86/msr/Msr.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + // Tasks: // 1) Implement msr write and save functions // 2) Ia32ApicBase field diff --git a/arch/x86/port/CMakeLists.txt b/arch/x86/port/CMakeLists.txt index 6ad61ef..a45d280 100644 --- a/arch/x86/port/CMakeLists.txt +++ b/arch/x86/port/CMakeLists.txt @@ -1,3 +1,21 @@ +#[[ + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + ]] + add_library(Port STATIC) target_link_libraries(Port PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/arch/x86/port/PortOps.cpp b/arch/x86/port/PortOps.cpp index 4b418dd..cade451 100644 --- a/arch/x86/port/PortOps.cpp +++ b/arch/x86/port/PortOps.cpp @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #include "PortOps.h" diff --git a/arch/x86/port/PortOps.h b/arch/x86/port/PortOps.h index f8dac63..b305d3d 100644 --- a/arch/x86/port/PortOps.h +++ b/arch/x86/port/PortOps.h @@ -1,3 +1,21 @@ +/** + * Copyright (c) 2026 Alexey Gavrilov + * + * 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 . + */ + #ifndef PORT_H #define PORT_H -- cgit v1.2.3