idt: have interrupts be disabled before swapgs

This commit is contained in:
Matheus
2022-08-27 21:05:03 -03:00
parent 06e91be62e
commit a40cda2b50
2 changed files with 9 additions and 7 deletions
+3 -1
View File
@@ -122,9 +122,11 @@ section .text
mov rdi,rsp
cld
sti
extern %2
call %2
cli
popregs
iretq