This commit is contained in:
Philipp Oppermann
2015-12-31 03:38:30 +01:00
parent 8e65034643
commit 33322ec49b
2 changed files with 3 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ pub extern "C" fn rust_main(multiboot_information_address: usize) {
memory_map_tag.memory_areas()); memory_map_tag.memory_areas());
memory::test_paging(&mut frame_allocator); memory::test_paging(&mut frame_allocator);
memory::remap_the_kernel(&mut frame_allocator, boot_info);
println!("It did not crash!");
loop {} loop {}
} }

View File

@@ -9,6 +9,7 @@
pub use self::area_frame_allocator::AreaFrameAllocator; pub use self::area_frame_allocator::AreaFrameAllocator;
pub use self::paging::test_paging; pub use self::paging::test_paging;
pub use self::paging::remap_the_kernel;
use self::paging::PhysicalAddress; use self::paging::PhysicalAddress;
mod area_frame_allocator; mod area_frame_allocator;