Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-04 | remove unused variables in process_try2collect | dzwdz | |
2021-10-04 | implement process_kill() | dzwdz | |
2021-10-04 | remove support for processes returning strings on exit | dzwdz | |
This isn't really all that useful, it doesn't enable anything that wasn't possible before. With it removed I'll be able to implement process_exit() in a much simpler way. | |||
2021-10-03 | vfs_root_handler: correct the panic type to invalid state | dzwdz | |
all the switch cases are already implemented, so that panic can only occur due to invalid state | |||
2021-10-02 | implement serial/tty input | dzwdz | |
2021-10-02 | serial: implement a selftest | dzwdz | |
2021-10-02 | rename kernel/arch/log.h to io.h | dzwdz | |
it's not related to logging but to general io, the old name didn't make sense | |||
2021-09-23 | _syscall_mount(): ignore trailing slash in mount path | dzwdz | |
2021-09-22 | free the mounts created in tests/vfs.c | dzwdz | |
2021-09-22 | kfree: detect double frees | dzwdz | |
2021-09-22 | kfree: check for a magic value before freeing to detect invalid frees | dzwdz | |
2021-09-22 | _syscall_open: strip the mount prefix in a better way | dzwdz | |
2021-09-21 | start using sparse's `-Wnon-pointer-null` | dzwdz | |
While I personally don't see a reason to use NULL instead of 0, I assume that whoever made that a sparse default knew what they were doing. | |||
2021-09-21 | start using sparse's `-Wdecl` | dzwdz | |
2021-09-21 | fix the assert kernel panic message | dzwdz | |
2021-09-21 | implement (safe) min/max macros | dzwdz | |
2021-09-21 | refactor `await_finish` into `process_try2collect` | dzwdz | |
the new name is terrible, but at least the function now has a clear purpose | |||
2021-09-21 | make await() fail gracefully when callee has no alive children already | dzwdz | |
2021-09-21 | add `__force` for marking casts across adress spaces | dzwdz | |
2021-09-20 | create a few specialized panic()s | dzwdz | |
thanks to this i can tell which ones are placeholders, and which ones should stay | |||
2021-09-20 | add an offset parameter to read() and write() | dzwdz | |
2021-09-20 | remove some unused variables | dzwdz | |
2021-09-20 | use a single struct for all fs_wait return values | dzwdz | |
2021-09-20 | add some missing includes to `kernel/vfs/request.h` | dzwdz | |
2021-09-19 | slightly tidy up some syscalls | dzwdz | |
yay for pointless changes | |||
2021-09-19 | show the malloc balance on halt; remove a bad kfree() call | dzwdz | |
the kfree() call was freeing a buffer which was inside a process struct | |||
2021-09-19 | remove the unused static_strcmp macro | dzwdz | |
2021-09-19 | call sysenter_setup before kmain_early | dzwdz | |
makes the code slightly simpler, imo | |||
2021-09-19 | mark run_init as _Noreturn | dzwdz | |
2021-09-18 | _syscall_mount: actually use the just computed `backend` var | dzwdz | |
whoops | |||
2021-09-18 | remove `struct process.stack_top` - it was unused | dzwdz | |
2021-09-18 | implement NULL mounts | dzwdz | |
2021-09-18 | put the `handle_t` typedef in `shared/types.h` | dzwdz | |
2021-09-18 | merge `kernel/types.h` and `init/types.h` | dzwdz | |
2021-09-16 | implement output from vfs calls | dzwdz | |
2021-09-16 | fs_read stub, basic implementation in userland | dzwdz | |
2021-09-15 | fs_wait: pass the file ID too | dzwdz | |
2021-09-14 | merge the `syscall_handler` and `_syscall` declarations | dzwdz | |
i think that making the call a bit more "transparent" makes the code nicer | |||
2021-09-14 | add support for 4-parameter syscalls | dzwdz | |
2021-09-12 | fix typo; use the right union element | dzwdz | |
the values are the same, it only caused a warning in sparse | |||
2021-09-12 | simplify `fs_respond`'s signature | dzwdz | |
2021-09-12 | first working access function! | dzwdz | |
2021-09-12 | move `enum vs_operation` to shared/flags.h | dzwdz | |
2021-09-12 | allow vfs_request_finish to return | dzwdz | |
thanks to this, the fs provider can continue executing until the next fs_wait() call. that should speed things up a bit | |||
2021-09-12 | implement part of `fs_respond` | dzwdz | |
2021-09-12 | log cr2 on page faults | dzwdz | |
2021-09-12 | make the inline functions static | dzwdz | |
otherwise this doesn't compile with -O0 | |||
2021-09-12 | barebones `memflag()` implementation - letting the user allocate pages | dzwdz | |
2021-09-12 | implement most of fs_wait | dzwdz | |
awaited_req is a garbage name but i couldn't come up with a better one. i also have no idea how to handle all the failure states | |||
2021-09-12 | vfs_request refactor pt2 | dzwdz | |