From 58514d351e1f0e8871f534422cf025109ddbb844 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 26 Jul 2024 21:40:57 +0200 Subject: kernel: implement _sys_intr_return --- src/kernel/proc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/proc.c') diff --git a/src/kernel/proc.c b/src/kernel/proc.c index 350f3ee..8be1080 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -413,6 +413,7 @@ static void proc_intr_deliver(Proc *p) { d.rcx = p->regs.rcx; d.rax = p->regs.rax; d.rip = p->regs.rip; + d.flags = p->regs.flags; // one more because the buffer itself isn't NUL terminated // TODO ensure NUL termination -- cgit v1.2.3