diff options
Diffstat (limited to 'include/arch/proc.h')
| -rw-r--r-- | include/arch/proc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/arch/proc.h b/include/arch/proc.h index 7921e5c..b0f0944 100644 --- a/include/arch/proc.h +++ b/include/arch/proc.h @@ -127,6 +127,13 @@ __noreturn void run_init(struct tcb *t, vm_t fdt, vm_t initrd); * so I'm not too worried. */ __noreturn void ret_userspace_fast(); + +/** + * Return to userspace, restoring some registers. + * Mainly for returning from an ipc_resp, where the user is expected to save + * temporary registers on their own. + * Same as with \ref ret_userspace_fast(), skips canary checking. + */ __noreturn void ret_userspace_partial(); #endif /* KMI_ARCH_PROC_H */ |
