Call remap_the_kernel from rust_main

master
Philipp Oppermann 8 years ago
parent 5d898d8474
commit 40f1732ccb

@ -53,6 +53,9 @@ pub extern fn rust_main(multiboot_information_address: usize) {
kernel_start as usize, kernel_end as usize, multiboot_start,
multiboot_end, memory_map_tag.memory_areas());
memory::remap_the_kernel(&mut frame_allocator, boot_info);
println!("It did not crash!");
loop {}
}

@ -1,4 +1,5 @@
pub use self::area_frame_allocator::AreaFrameAllocator;
pub use self::paging::remap_the_kernel;
use self::paging::PhysicalAddress;
mod area_frame_allocator;

Loading…
Cancel
Save