aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
AgeCommit message (Collapse)Author
2021-09-25Used memory regions now markedKimplul
+ I don't fully trust my memory management system yet, so should probably check the memory regions it gives.
2021-09-25Added default stack locationKimplul
2021-09-20Some slight robustness improvements and obo errorsKimplul
2021-09-19Pmap populationKimplul
2021-09-19Added basic awareness of kernel size/boundsKimplul
2021-09-19Fixed type issueKimplul
2021-09-19dbg initialized with path in /chosen/stdout-pathKimplul
2021-09-19Added fdt debug capabilityKimplul
+ For future reference, apos now requires initrd to be found in fdt.
2021-09-12Initial physical page managerKimplul
+ Will probably still need a fair bit of tweakind and documentation improvements, but seems to work outside of the kernel. Also no valgrind errors, which is quite promising I guess.
2021-08-31Improved linkind process, added padding generatorKimplul
2021-08-26Added debug flags and simple debug serial driverKimplul
2021-08-25libfdt seems to workKimplul
At least as far as reading memory info, cool. One issue I have is that .(ro)data is apparently accessed by absolute addresses, so I need to know at which address the kernel is going to be loaded. I would prefer completely position independent code, but if that's not possible then eh.
2021-08-22Integrated libfdtKimplul
+ 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.
2021-08-21Updated build system with run commandKimplul
2021-08-20New build systemKimplul
2021-08-19New build system (WIP)Kimplul
2021-08-17GarbageKimplul