This commit is contained in:
mii443
2025-07-03 22:19:05 +09:00
parent 2c884f407f
commit c9cb527840
3 changed files with 3 additions and 6 deletions

View File

@@ -3,7 +3,6 @@
extern crate alloc;
pub mod allocator;
pub mod constant;
pub mod cpuid;
pub mod graphics;
@@ -11,8 +10,6 @@ pub mod logging;
pub mod memory;
pub mod serial;
use alloc::vec;
use core::arch::asm;
use core::panic::PanicInfo;
use core::ptr::addr_of;
@@ -20,10 +17,9 @@ use core::ptr::addr_of;
use x86_64::{registers::control::Cr3, structures::paging::OffsetPageTable, VirtAddr};
use crate::{
constant::{BANNER, KERNEL_STACK_SIZE, PKG_VERSION},
constant::{KERNEL_STACK_SIZE, PKG_VERSION},
graphics::{FrameBuffer, FRAME_BUFFER},
memory::memory::BitmapMemoryTable,
memory::paging,
memory::{allocator, memory::BitmapMemoryTable, paging},
};
#[repr(C, align(16))]

View File

@@ -1,2 +1,3 @@
pub mod allocator;
pub mod memory;
pub mod paging;