sweep unused imports
This commit is contained in:
parent
ee4dd3e2f2
commit
50955547b9
|
@ -1,6 +1,5 @@
|
||||||
use alloc::alloc::{GlobalAlloc, Layout};
|
use alloc::alloc::{GlobalAlloc, Layout};
|
||||||
use bootloader::BootInfo;
|
use bootloader::BootInfo;
|
||||||
use bootloader::bootinfo::{MemoryMap, MemoryRegionType};
|
|
||||||
use core::ptr::null_mut;
|
use core::ptr::null_mut;
|
||||||
use x86_64::{
|
use x86_64::{
|
||||||
structures::paging::{
|
structures::paging::{
|
||||||
|
|
|
@ -14,10 +14,6 @@ use xe_os::println;
|
||||||
entry_point!(kernel_main);
|
entry_point!(kernel_main);
|
||||||
|
|
||||||
fn kernel_main(boot_info: &'static BootInfo) -> ! {
|
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);
|
xe_os::init(&boot_info);
|
||||||
println!("Hello World{}", "!");
|
println!("Hello World{}", "!");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue