Debug output HULK memory range end addresses
This commit is contained in:
parent
4e46b98efc
commit
156642293f
@ -219,7 +219,9 @@ private void get_memory_map(ulong * physical_address_limit, UINTN * memory_map_k
|
||||
bootinfo().bss_phys = bootinfo().memory_map[count].base;
|
||||
bootinfo().memory_map[count].base += hulk_bss_size();
|
||||
bootinfo().memory_map[count].size -= hulk_bss_size();
|
||||
Serial.writefln("Locating HULK BSS at %x", bootinfo().bss_phys);
|
||||
Serial.writefln("Locating HULK BSS at %x:%x",
|
||||
bootinfo().bss_phys,
|
||||
bootinfo().bss_phys + hulk_bss_size() - 1u);
|
||||
found_bss = true;
|
||||
}
|
||||
if ((!found_stack) &&
|
||||
@ -229,7 +231,9 @@ private void get_memory_map(ulong * physical_address_limit, UINTN * memory_map_k
|
||||
bootinfo().stack_phys = bootinfo().memory_map[count].base;
|
||||
bootinfo().memory_map[count].base += hulk_stack_size();
|
||||
bootinfo().memory_map[count].size -= hulk_stack_size();
|
||||
Serial.writefln("Locating HULK stack at %x", bootinfo().stack_phys);
|
||||
Serial.writefln("Locating HULK stack at %x:%x",
|
||||
bootinfo().stack_phys,
|
||||
bootinfo().stack_phys + hulk_stack_size() - 1u);
|
||||
found_stack = true;
|
||||
}
|
||||
if ((!found_fb_buffer1) &&
|
||||
@ -239,7 +243,9 @@ private void get_memory_map(ulong * physical_address_limit, UINTN * memory_map_k
|
||||
bootinfo().fb_buffer1_phys = bootinfo().memory_map[count].base;
|
||||
bootinfo().memory_map[count].base += fb_size;
|
||||
bootinfo().memory_map[count].size -= fb_size;
|
||||
Serial.writefln("Locating HULK FB1 at %x", bootinfo().fb_buffer1_phys);
|
||||
Serial.writefln("Locating HULK FB1 at %x:%x",
|
||||
bootinfo().fb_buffer1_phys,
|
||||
bootinfo().fb_buffer1_phys + fb_size - 1u);
|
||||
found_fb_buffer1 = true;
|
||||
}
|
||||
Serial.writefln("Memory range %x:%x (%u)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user