ptos: mm: Add physical memory groundwork
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -13,6 +13,7 @@ CFILES = $(shell find . -name "*.c")
|
||||
CFILES += $(shell find ../lib -name "*.c")
|
||||
CFILES += $(shell find ../xt -name "*.c")
|
||||
CFILES += $(shell find ../drivers -name "*.c")
|
||||
CFILES += $(shell find ../mm -name "*.c")
|
||||
DFILES = $(CFILES:.c=.d)
|
||||
OFILES = $(CFILES:.c=.o)
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <ptdef.h>
|
||||
#include <ke/bpal.h>
|
||||
#include <ex/trace.h>
|
||||
#include <mm/pm.h>
|
||||
#include <hal/serial.h>
|
||||
#include <drivers/bootvid/fbio.h>
|
||||
#include <machine/pio.h>
|
||||
@@ -45,4 +46,7 @@ KiKernelInit(VOID)
|
||||
|
||||
/* Initialize the boot video console */
|
||||
BootVidInitCons(NULL);
|
||||
|
||||
/* Initialize physical memory */
|
||||
MmPmInit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user