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:
parent
e7133a473f
commit
210663fe0f
5 changed files with 36 additions and 33 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue