mirror of
https://github.com/tailix/kernel.git
synced 2025-04-14 17:33:13 -04:00
Remove unnecessary "cli" and "sti"
This commit is contained in:
parent
08e17da327
commit
e46588a13e
1 changed files with 0 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
|||
%macro NOERRCODE 1
|
||||
[GLOBAL interrupts_cb_%1]
|
||||
interrupts_cb_%1:
|
||||
cli
|
||||
push dword 0
|
||||
push dword %1
|
||||
jmp common_part
|
||||
|
@ -14,7 +13,6 @@ interrupts_cb_%1:
|
|||
%macro ERRCODE 1
|
||||
[GLOBAL interrupts_cb_%1]
|
||||
interrupts_cb_%1:
|
||||
cli
|
||||
push dword %1
|
||||
jmp common_part
|
||||
%endmacro
|
||||
|
@ -42,7 +40,6 @@ common_part:
|
|||
popad
|
||||
|
||||
add esp, 8 ; Cleans up the pushed error code and pushed ISR number
|
||||
sti
|
||||
iret ; pops 5 things at once: CS, EIP, EFLAGS, SS, and ESP
|
||||
|
||||
; Protected mode exteptions
|
||||
|
|
Loading…
Add table
Reference in a new issue