sweep unused imports
This commit is contained in:
parent
ee4dd3e2f2
commit
50955547b9
|
@ -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::{
|
||||
|
|
|
@ -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{}", "!");
|
||||
|
||||
|
|
Loading…
Reference in New Issue