summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 6f06f9d..8e77010 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -82,11 +82,21 @@ main(void)
VEGA_BUILDBRANCH);
acpi_init();
- processor_init();
+
+ /*
+ * TODO: Move these calls to machdep.c whenever
+ * possible. It must be documented that
+ * this will only be called by processor_init()
+ * as the pmap subsystem may rely on architecture
+ * specifics that haven't been set up yet... Putting
+ * these calls in processor_init() makes things more
+ * flexible.
+ */
vm_physseg_init();
+ vm_init();
+ processor_init();
list_timers();
- vm_init();
/* We're done here, halt the processor */
__ASMV("cli; hlt");