summaryrefslogtreecommitdiff
path: root/src/shared
AgeCommit message (Expand)Author
2022-05-15shared/ring: ring_contigdzwdz
2022-05-15shared/ring: use char* for the bufferdzwdz
2022-05-06syscalls: merge fork() and fs_fork2()dzwdz
2022-05-02meta: write a script to generate `src/init/syscalls.c`dzwdz
2022-05-02syscalls: fork() noreap flagdzwdz
2022-05-02kernel/vfs: pass `close()` calls to fs handlersdzwdz
2022-04-14kernel: port init's `printf` implementationdzwdz
2022-04-12kernel: make all sizes unsigned, sort out the sign messdzwdz
2022-04-10kernel/driver: modify the ps2/serial drivers to use ring_tdzwdz
2022-04-10shared: implement a basic ring bufferdzwdz
2022-03-27shared/memcpy: copy in 4byte blocksdzwdz
2022-03-27shared/syscalls: change some pointer types to void*dzwdz
2022-03-06shared: add strcmp() testcases, fix invalid implementationdzwdz
2021-11-26shared: move `enum vfs_operation` to types.hdzwdz
2021-11-20kernel: fs_wait returns a success val; the op type is put in the structdzwdz
2021-11-16kernel/vfs: add a capacity field to fs_wait_responsedzwdz
2021-11-14shared: move the str* implementations to shared/mem.cdzwdz
2021-11-14shared: use a single implementation of mem* functions everywheredzwdz
2021-11-02fork2() refactor: implement fs_fork2()dzwdz
2021-11-02fork2 refactor: every process now has (only) a single controlled vfs_backenddzwdz
2021-10-04remove support for processes returning strings on exitdzwdz
2021-09-21add `__force` for marking casts across adress spacesdzwdz
2021-09-20add an offset parameter to read() and write()dzwdz
2021-09-20use a single struct for all fs_wait return valuesdzwdz
2021-09-18put the `handle_t` typedef in `shared/types.h`dzwdz
2021-09-18merge `kernel/types.h` and `init/types.h`dzwdz
2021-09-16fs_read stub, basic implementation in userlanddzwdz
2021-09-15fs_wait: pass the file ID toodzwdz
2021-09-14merge the `syscall_handler` and `_syscall` declarationsdzwdz
2021-09-12simplify `fs_respond`'s signaturedzwdz
2021-09-12move `enum vs_operation` to shared/flags.hdzwdz
2021-09-12implement part of `fs_respond`dzwdz
2021-09-12barebones `memflag()` implementation - letting the user allocate pagesdzwdz
2021-09-12remove `shared/vfs.h`, it was unuseddzwdz
2021-09-12implement most of fs_waitdzwdz
2021-09-11replace `user_ptr` with a linux-style `__user` annotationdzwdz
2021-09-09basic _syscall_fs_wait() impl, doesn't pass the req yetdzwdz
2021-09-08copy _syscall_fs_open's argument to a new buffer instead of a shared onedzwdz
2021-09-07implement fs_create(), front/back fs handlesdzwdz
2021-09-05error out when <*/types.h> isn't included in headers which need itdzwdz
2021-09-05remove the fd_ / fs_ prefixes from syscall namesdzwdz
2021-09-05root vfs: implement writing to /ttydzwdz
2021-09-04new vfs impl pt. 1: implement open()dzwdz
2021-09-04rename file descriptors to handlesdzwdz
2021-08-25remove FD_STDOUTdzwdz
2021-08-25change the signature of _syscall_fd_mountdzwdz
2021-08-24switch to using user_ptr for pointers coming from userlanddzwdz
2021-08-24replace () with (void) in function definitionsdzwdz
2021-08-24move syscalls.h to shared/syscalls.hdzwdz
2021-08-24implement FD_SPECIAL_TTY, an stdout equaliventdzwdz