summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAlexey Gavrilov <alexey.gavrilov@mail.com>2026-06-09 20:02:43 +0700
committerAlexey Gavrilov <alexey.gavrilov@mail.com>2026-06-09 20:02:43 +0700
commit38cbd9f8b8f90a1a351dcfd30435d280b7942786 (patch)
treeeff6c33980afc598beb91cd80ae4b2fd830613c0 /arch/x86
parentd8003ed52d7e360995edd112bdd0b53af8eea9b5 (diff)
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 <alexey.gavrilov@mail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/CMakeLists.txt18
-rw-r--r--arch/x86/PrimaryInit.cpp18
-rw-r--r--arch/x86/PrimaryInit.h18
-rw-r--r--arch/x86/cpuid/CMakeLists.txt18
-rw-r--r--arch/x86/cpuid/Cpuid.cpp18
-rw-r--r--arch/x86/cpuid/Cpuid.h18
-rw-r--r--arch/x86/gdt/CMakeLists.txt18
-rw-r--r--[-rwxr-xr-x]arch/x86/gdt/Gdt.cpp18
-rw-r--r--[-rwxr-xr-x]arch/x86/gdt/Gdt.h18
-rw-r--r--arch/x86/ic/CMakeLists.txt18
-rw-r--r--arch/x86/ic/IPic.h18
-rw-r--r--arch/x86/ic/Pic.cpp18
-rw-r--r--arch/x86/ic/Pic.h18
-rw-r--r--arch/x86/idt/CMakeLists.txt18
-rw-r--r--arch/x86/idt/Idt.cpp18
-rw-r--r--arch/x86/idt/Idt.h18
-rw-r--r--arch/x86/io/CMakeLists.txt18
-rw-r--r--arch/x86/io/VGADisplay.cpp18
-rw-r--r--arch/x86/io/VGADisplay.h18
-rw-r--r--arch/x86/io/VGADisplayInfo.h18
-rw-r--r--arch/x86/msr/CMakeLists.txt18
-rw-r--r--arch/x86/msr/Msr.cpp18
-rw-r--r--arch/x86/msr/Msr.h18
-rw-r--r--arch/x86/port/CMakeLists.txt18
-rw-r--r--arch/x86/port/PortOps.cpp18
-rw-r--r--arch/x86/port/PortOps.h18
26 files changed, 468 insertions, 0 deletions
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 <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/>.
+ ]]
+
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 <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 "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 <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/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 <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(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 <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 "Cpuid.h"
#include <MemoryOperations.h>
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 <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 CPUID_H
#define CPUID_H
#include <Types.h>
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
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 <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(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 <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 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 <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 "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 <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 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 <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(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 <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 "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 <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 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 <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(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 <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 "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 <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 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 <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 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 <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(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 <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 "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 <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/>.
+ */
+
// 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 <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(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 <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 "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 <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 PORT_H
#define PORT_H