summaryrefslogtreecommitdiffstats
path: root/arch/x86/cpuid
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/cpuid
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/cpuid')
-rw-r--r--arch/x86/cpuid/CMakeLists.txt18
-rw-r--r--arch/x86/cpuid/Cpuid.cpp18
-rw-r--r--arch/x86/cpuid/Cpuid.h18
3 files changed, 54 insertions, 0 deletions
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>