diff options
Diffstat (limited to 'src/kernel.rs')
-rw-r--r-- | src/kernel.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/kernel.rs b/src/kernel.rs index e3e9166..321f34c 100644 --- a/src/kernel.rs +++ b/src/kernel.rs @@ -17,7 +17,6 @@ #![no_std] extern crate alloc; -use alloc::boxed::Box; mod mem; mod console; @@ -28,7 +27,6 @@ mod sync; mod uart; use crate::console::console; use crate::mem::alloc::*; -//use crate::sync::interface::Mutex; /// # Initialization Code /// @@ -42,9 +40,6 @@ unsafe fn kernel_init() -> ! { console().init().unwrap(); U64_QUEUE_ALLOCATOR.init(); ALLOCATOR.init(); - //ALLOCATOR.lock(|qa| { - // qa.init(); - //}); kernel_main() } |