summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
AgeCommit message (Expand)Author
2021-09-04new vfs impl pt. 1: implement open()dzwdz
2021-09-04refactor finding empty handles to a functiondzwdz
2021-09-04nuke the old handle codedzwdz
2021-09-04rename file descriptors to handlesdzwdz
2021-08-26separate mount resolving into vfs_mount_resolvedzwdz
2021-08-25implement open() for FD_SPECIAL_TTY (`/tty`)dzwdz
2021-08-25implement FDOP_MOUNTdzwdz
2021-08-25use a tagged union for the fdop argsdzwdz
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-24remove _syscall_debug_log, as it's not needed anymoredzwdz
2021-08-24fdop_dispatch: pass the fd struct instead of indexdzwdz
2021-08-24add some scaffolding for file descriptorsdzwdz
2021-08-22virt_iter: count bytes that were already iterated overdzwdz
2021-08-22fs_open() accepts a signed length, fixes an infinite loopdzwdz
2021-08-22basic mount resolvingdzwdz
2021-08-22fs_open() stubdzwdz
2021-08-22process_switch_any: deduplicate some codedzwdz
2021-08-22fix almost all compiler warningsdzwdz
2021-08-22fix typo in _syscall_await definitiondzwdz
2021-08-22kernel: implement assertdzwdz
2021-08-22await() 2: pass the exit messagedzwdz
2021-08-18await() 1: wait for child to die, without message passingdzwdz
2021-08-18fork() now has a return value; you can tell the child and parent apartdzwdz
2021-08-18rename process_clone to process_forkdzwdz
2021-08-11abstract out iterating over virtual memorydzwdz
2021-08-11read _syscall_debuglog arguments across page boundariesdzwdz
2021-08-09rename `log_` to `tty_`, `tty_` to `vga_`dzwdz
2021-07-31change the syscall naming convention; same one in kernel and userlanddzwdz
2021-07-26exit() now switches to the first running processdzwdz
2021-07-26fork() pt 1: cloning process memorydzwdz
2021-07-26mark sc_exit() as noreturndzwdz
2021-07-24save all registers on syscallsdzwdz
2021-07-23add a barebones exit() syscalldzwdz
2021-07-23update the process' EIP/ESP when it syscallsdzwdz
2021-07-22implement the debuglog() syscalldzwdz
2021-07-21syscall parameter & return value passingdzwdz
2021-07-21barebones syscalldzwdz