aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf
AgeCommit message (Collapse)Author
2022-01-07Allow building with clangKimplul
+ Release mode is sort of broken, as lto doesn't work with linker relaxation and turning the relaxation off causes issues with the jump from init to kernel (as I've currently implemented it, could probably be fixed with a manual jump from assembly, I'll add it to my TODO list)
2022-01-06Jump back to kernelspace testedKimplul
+ Added automated categories to debugging, bug/info/warn/error etc. Now I should just try to use them here and there :D
2021-12-29RefactoringKimplul
+ Mainly just moving stuff out or arch/riscv/ that should be handled in common/ + Prepared separate process stack/call stack for server callbacks, rest to be implemeted soon ish
2021-12-26First useful jump to userspace!Kimplul
2021-12-20More sensible initKimplul
+ Who knew some reservations were a good thing? (at least relativelyy speaking)
2021-12-20Revert "still some issues with vmem"Kimplul
This reverts commit 69d13626a37e33f31627a1144605a8fb93684d25.
2021-12-20still some issues with vmemKimplul
+ Not sure if I should go with noinit or init, fuck
2021-12-20Added init backKimplul
2021-12-19Massive changes to jump to userspaceKimplul
2021-10-01First jump to virtual memory!Kimplul
+ Lots of bughunting to do, probably lots of off-by-one and so on errors, and I make a lot of naive and possibly dangerous assumptions. But cool start nonetheless. Should also come up with some method of exchanging data between the init and actual kernel, probably some struct of some sort. TODO
2021-09-19Added basic awareness of kernel size/boundsKimplul
2021-09-19Added fdt debug capabilityKimplul
+ For future reference, apos now requires initrd to be found in fdt.
2021-08-31Improved linkind process, added padding generatorKimplul
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