projects
/
voyage-au-centre-des-fichiers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b9b6e
)
Added missing save of rflags
author
Amelia Coutard
<eliottulio.coutard@gmail.com>
Tue, 14 Mar 2023 11:50:37 +0000
(12:50 +0100)
committer
Amelia Coutard
<eliottulio.coutard@gmail.com>
Tue, 14 Mar 2023 11:50:37 +0000
(12:50 +0100)
kernel/src/interrupts.S
patch
|
blob
|
history
diff --git
a/kernel/src/interrupts.S
b/kernel/src/interrupts.S
index 2d4b75c06761471767195c423913b782387d1ff2..2259e3c312b9476eddad9c3a48cfd435f1206a76 100644
(file)
--- a/
kernel/src/interrupts.S
+++ b/
kernel/src/interrupts.S
@@
-20,8
+20,10
@@
pushq %r8; \
pushq %r9; \
pushq %r10; \
- pushq %r11;
+ pushq %r11; \
+ pushfq;
#define POP_REGS \
+ popfq; \
popq %r11; \
popq %r10; \
popq %r9; \
@@
-37,7
+39,7
@@
handler_##n: ;\
cli; \
PUSH_REGS \
- mov
72
(%rsp), %rdi ;\
+ mov
80
(%rsp), %rdi ;\
handler ;\
movq $0xB0, %rdi;\
movq $0, %rsi;\