aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interact.asm
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 23:50:24 +0200
committerMarvin Borner2020-05-09 23:50:24 +0200
commitc5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 (patch)
tree173965f614435bb9740d05bbc365aba7b76d7e45 /src/kernel/interact.asm
parente350804dc78ab01aaca6aba33792a652535028d9 (diff)
Interrupt analysis - removed many useless cli/sti
Diffstat (limited to 'src/kernel/interact.asm')
-rw-r--r--src/kernel/interact.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/interact.asm b/src/kernel/interact.asm
index 59fbfe7..e7d7e86 100644
--- a/src/kernel/interact.asm
+++ b/src/kernel/interact.asm
@@ -77,10 +77,10 @@ section .text
pop fs ; load fs from 16bit stack
pop es ; load es from 16bit stack
pop ds ; load ds from 16bit stack
- ; sti ; enable interrupts
+ ;sti ; enable interrupts
db 0xCD ; opcode of INT instruction with immediate byte
ib: db 0x00
- cli ; disable interrupts
+ ;cli ; disable interrupts
xor sp, sp ; zero sp so we can reuse it
mov ss, sp ; set ss so the stack is valid
mov sp, INT32_BASE ; set correct stack position so we can copy back