Kernel: Don't call 'cli' on interrupt

This is automatically done because we are using interrupt gates
in the IDT
This commit is contained in:
Bananymous 2023-04-21 11:16:52 +03:00
parent 3f2beb4547
commit 3ad0d2328d
1 changed files with 0 additions and 4 deletions

View File

@ -83,7 +83,6 @@ irq_stub:
.macro isr n
.global isr\n
isr\n:
cli
pushq $0
pushq $\n
jmp isr_stub
@ -92,7 +91,6 @@ irq_stub:
.macro isr_err n
.global isr\n
isr\n:
cli
pushq $\n
jmp isr_stub
.endm
@ -100,7 +98,6 @@ irq_stub:
.macro irq n
.global irq\n
irq\n:
cli
pushq $0
pushq $\n
jmp irq_stub
@ -158,7 +155,6 @@ irq 15
.global syscall_asm
syscall_asm:
cli
pushaq
movq %rax, %rdi
movq %rbx, %rsi