Kernel remapped.

This commit is contained in:
Yifan Wu 2020-12-04 17:23:35 +08:00
parent 1256085d36
commit 0011fe9477
9 changed files with 489 additions and 29 deletions

View file

@ -8,6 +8,9 @@
extern crate alloc;
#[macro_use]
extern crate bitflags;
#[macro_use]
mod console;
mod lang_items;
@ -38,6 +41,8 @@ pub fn rust_main() -> ! {
clear_bss();
println!("[kernel] Hello, world!");
mm::init();
println!("[kernel] back to world!");
mm::remap_test();
loop {}
trap::init();
loader::load_apps();