diff --git a/src/allocator.rs b/src/allocator.rs index 03b494f..1c99714 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -1,6 +1,5 @@ use alloc::alloc::{GlobalAlloc, Layout}; use bootloader::BootInfo; -use bootloader::bootinfo::{MemoryMap, MemoryRegionType}; use core::ptr::null_mut; use x86_64::{ structures::paging::{ diff --git a/src/main.rs b/src/main.rs index 998a957..9b3d8c4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,10 +14,6 @@ use xe_os::println; entry_point!(kernel_main); fn kernel_main(boot_info: &'static BootInfo) -> ! { - use x86_64::VirtAddr; - use xe_os::allocator; - use xe_os::memory::{self, BootInfoFrameAllocator}; - xe_os::init(&boot_info); println!("Hello World{}", "!");