Build HELLO page tables from unused memory instead of scratch buffer

This commit is contained in:
josh committed 2022-11-02 22:49:42 -04:00
1 parent 0b326e2e36
commit 8aa01ba122
4 files changed
+99 -75

No files matched your search

+1 -6
View File
@@ -33,6 +33,7 @@ struct BootInfo
enum Type
{
Reserved,
Bootloader,
Conventional,
Unusable,
ACPIReclaim,
@@ -68,12 +69,6 @@ struct BootInfo
/* Physical address of stack while jumping to HULK. */
ulong stack_phys;
/* Physical address of page tables while jumping to HULK. */
ulong pt_phys;
/* Size of page tables while jumping to HULK. */
ulong pt_size;
/* Physical address of ACPI XSDT table. */
ulong acpi_xsdt_phys;
}