From 712a15ce6c5fdf9c5156a5954cd6c3551547037c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 30 Aug 2024 18:50:51 +0300 Subject: speed up ipc_resp a bit + Skip unwinding stack and just jump directly to userspace --- include/arch/proc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/arch/proc.h b/include/arch/proc.h index 4afd6a9..7921e5c 100644 --- a/include/arch/proc.h +++ b/include/arch/proc.h @@ -127,5 +127,6 @@ __noreturn void run_init(struct tcb *t, vm_t fdt, vm_t initrd); * so I'm not too worried. */ __noreturn void ret_userspace_fast(); +__noreturn void ret_userspace_partial(); #endif /* KMI_ARCH_PROC_H */ -- cgit v1.3