aboutsummaryrefslogtreecommitdiff
path: root/common/string.c
AgeCommit message (Collapse)Author
2023-06-04visionfive2 boots until debugging is initializedKimplul
2023-05-29start trying to boot on visionfive 2Kimplul
+ Not bootable quite yet. Among other things, I couldn't get the current starfive u-boot fork to boot, so try adding support for booting with precompiled u-boot via the `go` command. Initial testing with qemu shows that this should be possible, and if it works, might be useful in the (far) future with other slightly janky SBCs. Also, NS16550 is 8250-based, and I'm really only using the base 8250, so rename and add visionfive 2 uart to list of compatibles. Visionfive 2 is still completely untested.
2023-05-01update license stuffKimplul
2023-04-30rename to kmiKimplul
2022-06-12add license textsKimplul
2022-06-01continue documentationKimplul
2022-05-22add @file info to all filesKimplul
+ Next step, start documenting contents of each file.
2022-04-10add clang format and run itKimplul
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-20Some slight robustness improvements and obo errorsKimplul
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.