Skip to content
Snippets Groups Projects
Commit fe5e1d41 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

print also the start address of the heap

parent 10a55709
Branches crate
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ pub fn init() {
arch::mm::virtualmem::allocate_aligned(virt_size, LargePageSize::SIZE).unwrap()
};
info!("Heap size: {} MB", virt_size >> 20);
info!("Heap: size {} MB, start address 0x{:x}", virt_size >> 20, virt_addr);
// try to map a huge page
let mut counter = if has_1gib_pages && virt_size > HugePageSize::SIZE {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment