Fix calcuation of reserved HULK binary pages

This commit is contained in:
josh committed 2022-10-18 16:23:13 -04:00
1 parent b1be5b888f
commit 747e824dae
1 file changed
+1 -1
+1 -1
View File
@@ -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],