aboutsummaryrefslogtreecommitdiff
path: root/common/debug.c
AgeCommit message (Collapse)Author
2023-06-04visionfive2 bootsKimplul
+ Make 8250 serial driver more generic + Still TODO: write a tutorial on how to boot on the visionfive2
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-09-14riscv32 boots and advances as far as riscv64Kimplul
2022-06-16small changed to formattingKimplul
2022-06-12add license textsKimplul
2022-06-11continue documentationKimplul
2022-05-29continue documentation effortsKimplul
2022-05-29modify formatting rulesKimplul
2022-05-28continue documenting sourceKimplul
2022-05-24change bit utils to not be __*Kimplul
2022-05-23switch from clang-format to uncrustifyKimplul
The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes.
2022-05-22add @file info to all filesKimplul
+ Next step, start documenting contents of each file.
2022-05-22rename vm_branch to vmemKimplul
+ Closer to what it's for rather than what it is.
2022-04-10add clang format and run itKimplul
2022-01-07Use #if defined(...) when not guard clauseKimplul
2022-01-07Prefix static functions with __Kimplul
+ Probably completely unnecessary stylistic thing, but I'll roll with it
2022-01-07Moved debugging into debug.cKimplul
+ No clue why I had that stuff in common/main.c
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-20Right up to init_proc, FUCK YEAHKimplul
+ Lots to do still, should keep a more detailed TODO.txt, among other things implement Sv48 support, make more things single truths etc.
2021-10-11Renamed [pv]addr_t to [pv]m_tKimplul
2021-10-11Moved some functions to common/Kimplul
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-30Initial formatted debug outputKimplul
+ Mostly follows the POSIX printf, with the exceptions of no floating points and `X` signifies binary instead of uppercase hex
2021-08-26Added debug flags and simple debug serial driverKimplul