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/x86/io/CMakeLists.txt | 18 ++++++++++++++++++ arch/x86/io/VGADisplay.cpp | 18 ++++++++++++++++++ arch/x86/io/VGADisplay.h | 18 ++++++++++++++++++ arch/x86/io/VGADisplayInfo.h | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) (limited to 'arch/x86/io') 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 -- cgit v1.2.3