wip
This commit is contained in:
@@ -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))]
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
pub mod allocator;
|
||||
pub mod memory;
|
||||
pub mod paging;
|
||||
|
||||
Reference in New Issue
Block a user