Relicense to MIT
This commit is contained in:
parent
6f65bbea34
commit
913353ed03
@ -2,6 +2,7 @@
|
||||
name = "gila"
|
||||
version = "0.3.1"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
|
||||
[dependencies]
|
||||
acid_alloc = { version = "0.1.0", features = ["alloc"] }
|
||||
|
19
LICENSE
19
LICENSE
@ -1,18 +1,9 @@
|
||||
# License
|
||||
|
||||
# GNU Public License v3
|
||||
Copyright (c) 2025 shibedrill
|
||||
|
||||
Gila - a microkernel OS written in Rust, and inspired by Xinu.
|
||||
Copyright (C) 2025 shibedrill
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
This program 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.
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
@ -56,7 +56,7 @@ Information on the build system, repo structure, features, configuration options
|
||||
|
||||
## Licensing
|
||||
|
||||
Licensed under the GNU Public License v3. See [LICENSE](LICENSE) for details.
|
||||
Licensed under the MIT License. See [LICENSE](LICENSE) for details.
|
||||
|
||||
## Credits
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use core::arch::asm;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod asm;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use core::arch::asm;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod asm;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#[cfg(not(any(
|
||||
target_arch = "x86_64",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use core::arch::asm;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod asm;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub fn nop() {
|
||||
::x86_64::instructions::nop();
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use core::arch::asm;
|
||||
use core::ptr::addr_of_mut;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::LogLevel;
|
||||
use crate::{LOGGER, format, log_trace};
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod asm;
|
||||
pub mod gdt;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod modules;
|
||||
pub mod params;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::format;
|
||||
use crate::memory::alloc::string::String;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::boot::modules::FILE_REQUEST;
|
||||
use crate::memory::alloc;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use enumflags2::{BitFlags, bitflags};
|
||||
use lazy_static::lazy_static;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// TODO: Implement per-arch memory handlers for ACPI memory map regions
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#[cfg(feature = "acpi")]
|
||||
mod acpi;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::memory::alloc::string::String;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::constants::LOG_DEFAULT_LEVEL;
|
||||
use crate::format;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::boot::modules::MODULE_RESPONSE;
|
||||
use crate::boot::params::EXECUTABLE_FILE_RESPONSE;
|
||||
use crate::{LOGGER, LogLevel, format, log_info, log_trace};
|
||||
use crate::{LOGGER, LogLevel, format};
|
||||
use alloc::string::String;
|
||||
|
||||
use free_list::{AllocError, FreeList, PAGE_SIZE, PageRange};
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use core::panic::*;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use crate::memory::alloc;
|
||||
use alloc::string::String;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/// Critical section: Mark a section of code as critical.
|
||||
/// Interrupts will be disabled until the section completes.
|
||||
|
@ -1,2 +1,2 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
@ -1,2 +1,2 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub mod x86_64;
|
||||
|
@ -1,2 +1,2 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pub mod syscall_impl;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![allow(dead_code, unused_variables)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![no_std]
|
||||
#![allow(unused_imports)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2025 shibedrill
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// Every architecture MUST implement this as part of the ABI.
|
||||
// Additional registers can be implemented with architecture-specific traits.
|
||||
|
Loading…
Reference in New Issue
Block a user