diff --git a/arch/x86_64/irq.c b/arch/x86_64/irq.c index 3716988..57365fd 100644 --- a/arch/x86_64/irq.c +++ b/arch/x86_64/irq.c @@ -222,6 +222,7 @@ void syscall_dispatch(struct ml_cpu_context *regs) SYSCALL_SIGNATURE(fn) = (SYSCALL_SIGNATURE())syscall_impl; + ml_int_enable(); regs->rax = fn(regs->rdi, regs->rsi, @@ -231,6 +232,7 @@ void syscall_dispatch(struct ml_cpu_context *regs) regs->r9, regs->r13, regs->r14); + ml_int_disable(); } void hook_irq(enum irq_vector vec, struct irq_hook *hook)