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/api/kc.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kc/api') diff --git a/kc/api/kc.h b/kc/api/kc.h index c3390b2..b4a6682 100644 --- a/kc/api/kc.h +++ b/kc/api/kc.h @@ -1,11 +1,12 @@ #pragma once -extern char kc_image_base; -extern char kc_text_begin; -extern char kc_text_end; -extern char kc_rodata_begin; -extern char kc_data_begin; -extern char kc_data_end; +extern unsigned char kc_image_base; +extern unsigned char kc_text_begin; +extern unsigned char kc_text_end; +extern unsigned char kc_rodata_begin; +extern unsigned char kc_data_begin; +extern unsigned char kc_data_end; +extern unsigned char kc_image_end; #define KC_EXPORT __attribute__((visibility("default"))) -- cgit v1.3.1-1-g115d