Fix calcuation of reserved HULK binary pages
This commit is contained in:
parent
b1be5b888f
commit
747e824dae
@ -48,7 +48,7 @@ struct hippo
|
||||
{
|
||||
size_t usable_memory;
|
||||
ulong[2][5] reserved = [
|
||||
[header.bootinfo.hulk_phys, cast(ulong)header.total_size],
|
||||
[header.bootinfo.hulk_phys, cast(ulong)header.total_size - LinkerAddresses.hulk_bss_size],
|
||||
[header.bootinfo.bss_phys, LinkerAddresses.hulk_bss_size],
|
||||
[header.bootinfo.stack_phys, header.stack_size],
|
||||
[cast(ulong)header.bootinfo.fb.buffer, header.bootinfo.fb.height * header.bootinfo.fb.stride],
|
||||
|
Loading…
x
Reference in New Issue
Block a user