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 --- drivers/CMakeLists.txt | 18 ++++++++++++++++++ drivers/acpi/Acpi.cpp | 18 ++++++++++++++++++ drivers/acpi/Acpi.h | 18 ++++++++++++++++++ drivers/acpi/CMakeLists.txt | 18 ++++++++++++++++++ drivers/acpi/Ics.cpp | 18 ++++++++++++++++++ drivers/acpi/Ics.h | 18 ++++++++++++++++++ 6 files changed, 108 insertions(+) (limited to 'drivers') diff --git a/drivers/CMakeLists.txt b/drivers/CMakeLists.txt index c11b75f..7e28526 100644 --- a/drivers/CMakeLists.txt +++ b/drivers/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(Drivers INTERFACE) add_subdirectory(acpi) diff --git a/drivers/acpi/Acpi.cpp b/drivers/acpi/Acpi.cpp index 6551c6a..7b56175 100644 --- a/drivers/acpi/Acpi.cpp +++ b/drivers/acpi/Acpi.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 "Acpi.h" diff --git a/drivers/acpi/Acpi.h b/drivers/acpi/Acpi.h index d9dc378..be77024 100644 --- a/drivers/acpi/Acpi.h +++ b/drivers/acpi/Acpi.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 #include #include "Ics.h" diff --git a/drivers/acpi/CMakeLists.txt b/drivers/acpi/CMakeLists.txt index 32f2fac..35c1d7b 100644 --- a/drivers/acpi/CMakeLists.txt +++ b/drivers/acpi/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(ACPI STATIC) target_link_libraries(ACPI PUBLIC CXX_COMPILER_REQUIREMENTS) diff --git a/drivers/acpi/Ics.cpp b/drivers/acpi/Ics.cpp index 754b9f0..df0b63b 100644 --- a/drivers/acpi/Ics.cpp +++ b/drivers/acpi/Ics.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 "Ics.h" diff --git a/drivers/acpi/Ics.h b/drivers/acpi/Ics.h index b4e38d4..c90f205 100644 --- a/drivers/acpi/Ics.h +++ b/drivers/acpi/Ics.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 -- cgit v1.2.3