From dc3326c21dad5fc72eff6804d1c9b1d673a79a12 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 19 Aug 2022 23:35:18 -0700 Subject: Fixed allocation bug --- src/kernel.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/kernel.rs') 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() } -- cgit v1.2.1