Commit fe5e1d41 authored by Stefan Lankes's avatar Stefan Lankes

print also the start address of the heap

parent 10a55709
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment