| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-06-01 | tunit_t is now uint64_t | Kimplul | |
| + Largely inconsequential, but might make more sense for 32 bit platforms | |||
| 2024-06-01 | document sleep | Kimplul | |
| 2024-06-01 | add sleep syscall | Kimplul | |
| + Sets the current core to sleep | |||
| 2024-06-01 | slight tweaks to sptree stuff | Kimplul | |
| 2024-05-24 | rename common to src | Kimplul | |
| + I keep starting to type src and wondering why autocomplete won't work, I guess src is just uncounciously a better name | |||
| 2024-05-23 | improve id handling | Kimplul | |
| + The number of allowed threads running at the same time is limited to num_tids, but each thread's ID can be any larger than that. This should make ID reuse a lot more rare, and probably makes certain kinds of time-of-check-to-time-of-use attacks more difficult | |||
| 2024-05-10 | implement faster page allocator | Kimplul | |
| 2024-05-10 | update doxygen config | Kimplul | |
| 2024-05-10 | update formatting config | Kimplul | |
| 2024-01-10 | silence warning | Kimplul | |
| 2024-01-10 | some kmx alleviations | Kimplul | |
| 2023-10-10 | fix enough_rpc_stack | Kimplul | |
| + Had a slight brainfart when refactoring | |||
| 2023-10-09 | experimenting with removing lists threads per proc | Kimplul | |
| + Gives a very slight improvement to RPC speeds, but mostly cleans up code a little bit. | |||
| 2023-10-09 | move rpc stack handling to arch-specific code | Kimplul | |
| + Fairly considerable speedup, as we don't have to look up the rpc pte every time separately, instead cacheing them. Adds an architecture specific limitation to total rpc stack size, though. | |||
| 2023-10-03 | fix fork return values | Kimplul | |
| 2023-08-04 | fix warnings in smp.c | Kimplul | |
| + Only occur with my version of riscv64-linux-gnu-gcc. Funny, that. | |||
| 2023-08-04 | add initial smp bringup | Kimplul | |
| 2023-08-03 | add sbi_hart_start | Kimplul | |
| 2023-08-03 | fix cpu_send_ipi | Kimplul | |
| 2023-08-03 | dispatch doesn't have to worry about ipi | Kimplul | |
| 2023-07-31 | add copyright stuff to new files | Kimplul | |
| 2023-07-31 | start working on irqs | Kimplul | |
| 2023-07-27 | use nifty variable argument count trick | Kimplul | |
| + Found it in newlib. This allows the compiler to more effectively optimize away unnecessary register operations. Applied to both kernel and init.c for a slight speed increase. I really should move init.c to some other repository though, the binary files are starting to get annoying | |||
| 2023-07-27 | add ipc_kick | Kimplul | |
| + Tests will have to come later | |||
| 2023-07-26 | allow tail call optimizations to happen easier | Kimplul | |
| 2023-07-26 | fix possible segfault with non-gig memory sizes | Kimplul | |
| 2023-07-25 | simplify fdt reg reading | Kimplul | |
| 2023-07-25 | simplify populate/probe pmap | Kimplul | |
| 2023-07-24 | split makefile into two parts | Kimplul | |
| + First part generates deps.mk, second part reads it. Allows us to use both bmake and gmake with the same makefiles. Only drawback seems to be that the first makefile considers all individual files as 'finished' targets, meaning that it's more difficult to do something like make kernel.elf though I haven't found this to be an issue. | |||
| 2023-06-14 | move rpc check to ipc_respo | Kimplul | |
| 2023-06-11 | add some clarifications to rpc stack stuff | Kimplul | |
| 2023-06-08 | fix visionfive boot docs | Kimplul | |
| 2023-06-08 | skip saving registers when possible | Kimplul | |
| 2023-06-08 | add fast userspace return to do_ipc | Kimplul | |
| 2023-06-07 | slightly improve padding | Kimplul | |
| 2023-06-07 | add unlikely hint to leave_rpc | Kimplul | |
| 2023-06-07 | slight improvements to building | Kimplul | |
| + User can now specify debug, release and assert handling | |||
| 2023-06-07 | fix root node get_reginfo | Kimplul | |
| 2023-06-07 | change register save/load to increasing order | Kimplul | |
| 2023-06-05 | add check against calling ipc_resp erroneously | Kimplul | |
| 2023-06-05 | give compiler more room to optimize rpc invocation | Kimplul | |
| + Try to write arguments to memory as fast as possible to free up some registers that the compiler can then play with. Qemu runs ~1 700 000 rpc's per second, visionfive2 @1GHz (I think) ~800 000. | |||
| 2023-06-04 | clarify a few things | Kimplul | |
| 2023-06-04 | slight optimization and brainfart fix | Kimplul | |
| 2023-06-04 | remove misleading comment | Kimplul | |
| 2023-06-04 | add some docs about visionfive2 | Kimplul | |
| 2023-06-04 | visionfive2 boots | Kimplul | |
| + Make 8250 serial driver more generic + Still TODO: write a tutorial on how to boot on the visionfive2 | |||
| 2023-06-04 | visionfive2 boots until debugging is initialized | Kimplul | |
| 2023-05-29 | start trying to boot on visionfive 2 | Kimplul | |
| + 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-17 | align handle_irq to four byte boundaries always | Kimplul | |
| + CSR_STVEC requires four byte alignment | |||
| 2023-05-12 | update README to reflect recent changes | Kimplul | |
