forked from Bananymous/banan-os
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:
parent
3f2beb4547
commit
3ad0d2328d
|
@ -83,7 +83,6 @@ irq_stub:
|
||||||
.macro isr n
|
.macro isr n
|
||||||
.global isr\n
|
.global isr\n
|
||||||
isr\n:
|
isr\n:
|
||||||
cli
|
|
||||||
pushq $0
|
pushq $0
|
||||||
pushq $\n
|
pushq $\n
|
||||||
jmp isr_stub
|
jmp isr_stub
|
||||||
|
@ -92,7 +91,6 @@ irq_stub:
|
||||||
.macro isr_err n
|
.macro isr_err n
|
||||||
.global isr\n
|
.global isr\n
|
||||||
isr\n:
|
isr\n:
|
||||||
cli
|
|
||||||
pushq $\n
|
pushq $\n
|
||||||
jmp isr_stub
|
jmp isr_stub
|
||||||
.endm
|
.endm
|
||||||
|
@ -100,7 +98,6 @@ irq_stub:
|
||||||
.macro irq n
|
.macro irq n
|
||||||
.global irq\n
|
.global irq\n
|
||||||
irq\n:
|
irq\n:
|
||||||
cli
|
|
||||||
pushq $0
|
pushq $0
|
||||||
pushq $\n
|
pushq $\n
|
||||||
jmp irq_stub
|
jmp irq_stub
|
||||||
|
@ -158,7 +155,6 @@ irq 15
|
||||||
|
|
||||||
.global syscall_asm
|
.global syscall_asm
|
||||||
syscall_asm:
|
syscall_asm:
|
||||||
cli
|
|
||||||
pushaq
|
pushaq
|
||||||
movq %rax, %rdi
|
movq %rax, %rdi
|
||||||
movq %rbx, %rsi
|
movq %rbx, %rsi
|
||||||
|
|
Loading…
Reference in New Issue