From 1923e47fd296399180eaf19b990d5e951d71ccd2 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Thu, 24 Feb 2022 01:58:07 +0000 Subject: many changes - boot time memory allocation has changed. the fractal page map has been replaced by a single self-mapped page giving 2MiB of ready virtual space to play with without needing a fully-initialized memory manager. this scheme may be repeated for other purposes - the page stack has now been totally overhauled to make use of sparse allocation and all of the ugly init_*() procedures are gone. long live the new interface. also reference counting is a thing now. sort of. - found a bug in vmt_init_node where insertion did not use the root node as the parent in the case of no predecessor node. whoops. --- kc/core/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kc/core/Makefile') diff --git a/kc/core/Makefile b/kc/core/Makefile index 6651ca6..9b8983a 100644 --- a/kc/core/Makefile +++ b/kc/core/Makefile @@ -1,7 +1,7 @@ include ../../defaults.mk include ../defaults.mk -VPATH := ../../lib ../ cpu/ +VPATH := ../../lib ../ cpu/ memory/ TARGET := kernel.os .DEFAULT: $(TARGET) @@ -13,7 +13,8 @@ SOBJS := GOBJS := entry_x86_64.o reloc_x86_64.o kprint.o serial.o port.o mmu.o \ kc_main.o memory.o memset.o memcpy.o memmove.o memcmp.o cpu.o \ vm_tree.o exceptions.o panic.o msr.o task.o cpu_task.o irq.o \ - kcc_memory.o string.o pic8259.o pic8259_isr.o pit8253.o + kcc_memory.o string.o pic8259.o pic8259_isr.o pit8253.o \ + page_early.o page_stack.o IOBJS := # __attribute__((interrupt)) requires -mgeneral-regs-only -- cgit v1.3.1-1-g115d