move memory related source to memory dir

This commit is contained in:
Masato Imai
2025-07-03 13:15:10 +00:00
parent 8bdc838461
commit 2c884f407f
5 changed files with 6 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ pub mod cpuid;
pub mod graphics;
pub mod logging;
pub mod memory;
pub mod paging;
pub mod serial;
use alloc::vec;
@@ -23,7 +22,8 @@ use x86_64::{registers::control::Cr3, structures::paging::OffsetPageTable, VirtA
use crate::{
constant::{BANNER, KERNEL_STACK_SIZE, PKG_VERSION},
graphics::{FrameBuffer, FRAME_BUFFER},
memory::BitmapMemoryTable,
memory::memory::BitmapMemoryTable,
memory::paging,
};
#[repr(C, align(16))]

View File

@@ -0,0 +1,2 @@
pub mod memory;
pub mod paging;