From 0dd19888fdc38516525fe314a7a8d88f809f8319 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 24 Aug 2022 19:28:17 -0700 Subject: Rename --- src/kernel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel.rs') diff --git a/src/kernel.rs b/src/kernel.rs index a6d8402..e92c701 100644 --- a/src/kernel.rs +++ b/src/kernel.rs @@ -32,7 +32,7 @@ mod sync; mod uart; mod util; use crate::console::console; -use crate::mem::alloc::alloc; +use crate::mem::alloc::allocator; /// # Initialization Code /// @@ -51,7 +51,7 @@ use crate::mem::alloc::alloc; /// the regular main. unsafe fn kernel_init() -> ! { console().init().unwrap(); - alloc().init().unwrap(); + allocator().init().unwrap(); kernel_main() } -- cgit v1.2.1