aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.rs
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-24 19:28:17 -0700
committerChristian Cunningham <cc@localhost>2022-08-24 19:28:17 -0700
commit0dd19888fdc38516525fe314a7a8d88f809f8319 (patch)
tree7b37d96a360e1781fffdaf4f7dbe8fb3b32b30dc /src/kernel.rs
parent68149e991454dc880ceb1f7324e118795625d863 (diff)
Rename
Diffstat (limited to 'src/kernel.rs')
-rw-r--r--src/kernel.rs4
1 files changed, 2 insertions, 2 deletions
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()
}