aboutsummaryrefslogtreecommitdiff
path: root/include/apos
AgeCommit message (Collapse)Author
2022-05-22apply slight doxygen formatting improvementsKimplul
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-05-22start testing out doxygenKimplul
2022-05-22improved tcb handling in preparation for processesKimplul
2022-05-21add create syscall for threadsKimplul
2022-05-21add status info to memory mappingsKimplul
+ next up would probably be to start working on process/thread relationships, largely as documented. Still not entirely sure about how I want to handle fork, but I suppose I might figure it out at some point.
2022-05-21implement timers betterKimplul
2022-05-12initial workings of shared memoryKimplul
+ Should document this better but essentially a server requests a shared buffer, and chan then share this buffer to a thread. Freeing the buffer is done through normal means. MR_SHARED is used for buffers that are shared, and MR_OWNED tells whoever is freeing that region that it is allowed to free the physical memory behind the shared buffer.
2022-05-09improve uapiKimplul
2022-05-05riscv64 boots with clang (sort of)Kimplul
2022-04-29continue building base for irq handlingKimplul
2022-04-24fix rv32 compile errorsKimplul
2022-04-24start initial irq handlingKimplul
+ Still lots todo, and I'm not entirely sure how I should handle program space switches (mainly since the kernel uses the process' stack, maybe it shouldn't?)
2022-04-23ran clang-formatKimplul
2022-04-23change alignment functions to be type genericKimplul
2022-04-21fix warnings on 32bit riscvKimplul
+ Will most probably not work on 32bit, but nice to make 'portable' code.
2022-04-21use uint64_t for timer ticksKimplul
+ GCC seems to provide this even on 32bit platforms, though I should really check.
2022-04-21start working on timer subsysKimplul
2022-04-17expand sbi implementation a bitKimplul
2022-04-17improve node subsysKimplul
+ More robust alignment and less memory usage for status, from enum to bit
2022-04-16initial thread id handlingKimplul
+ At least initial in the sense that this seems like the smartest way to handle things, that is.
2022-04-16create more general node structureKimplul
+ Allow for easier handling of other subsystems that want to use nodes, mainly tcb and possibly dev_mem
2022-04-10add basic ubsan and fix issues reported by itKimplul
2022-04-10add clang format and run itKimplul
2022-03-01make vmflags_t 16 bitsKimplul
lower 8 bits are reserved for arch-specific flags (but at least read/write/execute) and higher 8 bits are metadata, currently only for VM_VIRTUAL (to be used when the backing physical memory shouldn't be freed)
2022-01-13O(1) memory region node allocationKimplul
2022-01-07Use #if defined(...) when not guard clauseKimplul
2022-01-07Merged bits.h and bytes.hKimplul
2022-01-07Modified pmem configuration handlingKimplul
2022-01-07Renamed region functions to not use sp_*Kimplul
2022-01-07Moved debugging into debug.cKimplul
+ No clue why I had that stuff in common/main.c
2022-01-07Steps towards better status/debugging controlKimplul
2022-01-07Improved header dependency treeKimplul
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-30Add initial version of device memory mappingKimplul
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-29Preparations for refactoringKimplul
2021-12-27Started work on syscallsKimplul
2021-12-26First useful jump to userspace!Kimplul
2021-12-23Added alloc_fixed_regionKimplul
+ Not used at the moment anywhere, but should come in handy when emulating stuff like (s)brk and when mapping ELF stuff
2021-12-23map_fill_region can now utilize higher order pagesKimplul
2021-12-23Added stat/mod_vmemKimplul
+ In general improved riscv vmem.c
2021-12-21Started allowing higher order allocsKimplul
2021-12-21Modified vmem internals to use pagesKimplul
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-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