stos: vmm: Initialize virtual memory manager
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <hal/kpcr.h>
|
||||
#include <drivers/bootvid/fbio.h>
|
||||
#include <mm/pmm.h>
|
||||
#include <mm/vmm.h>
|
||||
#include <stdef.h>
|
||||
|
||||
#define DTRACE(Fmt, ...) \
|
||||
@@ -52,6 +53,9 @@ KiKernelEntry(VOID)
|
||||
/* Initialize physical memory */
|
||||
MmInitPmm();
|
||||
|
||||
/* Initialize virtual memory */
|
||||
MmInitVmm();
|
||||
|
||||
/* Phase 1 initialization the bootstrap core */
|
||||
HalKpcrP1Init(&BootstrapCore);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user