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/kcc_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kc/core/kcc_memory.c') diff --git a/kc/core/kcc_memory.c b/kc/core/kcc_memory.c index 1f3a813..e1d2382 100644 --- a/kc/core/kcc_memory.c +++ b/kc/core/kcc_memory.c @@ -5,7 +5,7 @@ KC_EXPORT kc_phys_addr kcc_page_alloc(void) { - return page_alloc(); + return page_alloc(PAGE_ALLOC_ANY); } KC_EXPORT -- cgit v1.3.1-1-g115d