summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
authordzwdz2024-07-26 21:40:57 +0200
committerdzwdz2024-07-26 21:40:57 +0200
commit58514d351e1f0e8871f534422cf025109ddbb844 (patch)
tree43c91a3c6c325649be2f07f2a38d0753f0a68cf7 /src/kernel/proc.c
parent69fd0dd9fda47aa52cccdbef6ca388cea38e693b (diff)
kernel: implement _sys_intr_return
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c1
1 files changed, 1 insertions, 0 deletions
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