syscall: adjust kernel blocking mechanism

Allow for a seamless escalation of privilege that maintains the same
thread of execution during a syscall, allowing syscalls to more easily
block and unblock
This commit is contained in:
Michael Shaw 2024-06-26 23:48:39 -04:00
commit 210663fe0f
5 changed files with 36 additions and 33 deletions

View file

@ -12,5 +12,6 @@
#include <kernel/proc.h>
void sys_set_return(struct proc *proc, uint64_t ret);
void sswtch(); /* save and switch */
#endif /* _SYSCALL_H_ */