diff options
Diffstat (limited to 'arch/x86/cpuid')
| -rw-r--r-- | arch/x86/cpuid/CMakeLists.txt | 18 | ||||
| -rw-r--r-- | arch/x86/cpuid/Cpuid.cpp | 18 | ||||
| -rw-r--r-- | arch/x86/cpuid/Cpuid.h | 18 |
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> |
