From b235f49f31d11e68019c42f48b6641c37e4c986e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 22 Aug 2021 20:38:48 +0300 Subject: Integrated libfdt + Added new common/ directory, into which code that should be shared with init and kernel is to be added. Currently string.c and bytes.c. Code in common/ should be marked with __weak, so as to allow the arch to implement a better, more optimised version of the function if possible/required. + Created include/apos/types.h with macros essentially providing the libc limits.h and stdint.h. At the moment I use gcc/clang predefined macros for most things. --- TODO.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b5a4900..c2ad2bb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,4 +1,8 @@ -+ Add in sensible defines (uint64_t etc.) ++ Add in sensible defines (uint64_t etc.) x + Improve build process (Kbuild? nah, regular config.h files) -+ Automate booting and starting qemu etc. (make run) ++ Automate booting and starting qemu etc. (make run) (sort of) + Add in pmem/vmem routines (both .init and .text!) + ++ Test string.c ++ Write the kernel lol ++ Test libfdt and see if it can be used to read memory geometry etc. -- cgit v1.3