refactor: File structure modification
All checks were successful
ParrotXray/CureOS/pipeline/head This commit looks good

This commit is contained in:
ParrotXray 2025-11-18 13:15:23 +08:00
parent 61ead612e0
commit d0f18cda9d
Signed by: ParrotXray
SSH Key Fingerprint: SHA256:OEnKoo72UOfrmZ3LVSBn9K/UfpEzNrl+q8JMLG9CaAI
15 changed files with 13 additions and 14 deletions

View File

@ -4,6 +4,18 @@
#![feature(abi_x86_interrupt)]
#![feature(alloc_error_handler)]
extern crate alloc;
pub mod hal;
pub mod klibc;
pub mod arch;
pub mod mm;
pub mod tty;
pub mod kernel;
pub mod drivers;
pub mod shell;
pub mod task;
pub mod process;
use hal::cpu;
use alloc::vec::Vec;
use core::panic::PanicInfo;
@ -15,18 +27,6 @@ use x86_64::{
VirtAddr,
};
pub mod hal;
pub mod klibc;
pub mod arch;
pub mod mm;
pub mod tty;
pub mod kernel;
pub mod drivers;
pub mod shell;
pub mod task;
mod process;
use hal::cpu;
const CONFIG: BootloaderConfig = {
let mut config = BootloaderConfig::new_default();
config.mappings.physical_memory = Some(config::Mapping::Dynamic);

View File

@ -1,5 +1,4 @@
// src/kernel/tty/mod.rs
// src/kernel/tty.rs
pub mod tty;
pub mod font;
pub mod device;