diff options
author | dzwdz | 2022-04-11 23:29:30 +0200 |
---|---|---|
committer | dzwdz | 2022-04-11 23:29:30 +0200 |
commit | 75ec633805db108bfddb6454ff7f8d812475feaf (patch) | |
tree | 6d558a64569648b9b425e3a568edc67c6d06298b /src/kernel/arch/i386/sysenter.c | |
parent | 07b7e8ad787180b7e3eaccc819b9e5c4802edfcd (diff) |
kernel: implement `cpu_pause()` in assembly, remove `irq_interrupt_flag()`
Diffstat (limited to 'src/kernel/arch/i386/sysenter.c')
-rw-r--r-- | src/kernel/arch/i386/sysenter.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/kernel/arch/i386/sysenter.c b/src/kernel/arch/i386/sysenter.c index 1aee254..5712ee3 100644 --- a/src/kernel/arch/i386/sysenter.c +++ b/src/kernel/arch/i386/sysenter.c @@ -1,5 +1,4 @@ #include <kernel/arch/generic.h> -#include <kernel/arch/i386/interrupts/irq.h> #include <kernel/arch/i386/sysenter.h> #include <kernel/proc.h> #include <shared/syscalls.h> @@ -22,8 +21,6 @@ _Noreturn void sysenter_stage2(void) { regs->esp = (userptr_t) regs->ecx; // fix them up regs->eip = (userptr_t) regs->edx; - irq_interrupt_flag(false); - val = _syscall(regs->eax, regs->ebx, regs->esi, regs->edi, (uintptr_t)regs->ebp); if (process_current->state == PS_RUNNING) { // TODO move to _syscall() |