summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/amd64/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/amd64/machdep.c')
-rw-r--r--sys/arch/amd64/amd64/machdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index f5b6365..1194b63 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -38,6 +38,8 @@
#include <machine/spectre.h>
#include <machine/cpu.h>
#include <machine/uart.h>
+#include <vm/vm.h>
+#include <vm/physseg.h>
#include <firmware/acpi/acpi.h>
__MODULE_NAME("machdep");
@@ -104,6 +106,9 @@ pre_init(void)
uart8250_try_init();
interrupts_init();
gdt_load(&g_gdtr);
+
+ vm_physseg_init();
+ vm_init();
}
void