aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.rs
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-19 23:35:18 -0700
committerChristian Cunningham <cc@localhost>2022-08-19 23:35:18 -0700
commitdc3326c21dad5fc72eff6804d1c9b1d673a79a12 (patch)
treea4219d9f665a1f4088bc57fdb6dc2c25a8be31bc /src/kernel.rs
parent37038b21c3805de5c2117b2bd6e7397e16c999a3 (diff)
Fixed allocation bug
Diffstat (limited to 'src/kernel.rs')
-rw-r--r--src/kernel.rs5
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()
}