git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: passing intr_ctx to soft_iret corrupts the stack of next proccess when performin...
[lunaix-os.git]
/
lunaix-os
/
kernel
/
asm
/
x86
/
interrupt.S
diff --git
a/lunaix-os/kernel/asm/x86/interrupt.S
b/lunaix-os/kernel/asm/x86/interrupt.S
index e0cda172957dc1e7efc253cd55cc31df224b89b0..a03bce613f3897b5fe65c54d15be68a9e9670453 100644
(file)
--- a/
lunaix-os/kernel/asm/x86/interrupt.S
+++ b/
lunaix-os/kernel/asm/x86/interrupt.S
@@
-96,9
+96,11
@@
call intr_handler
+ movl (%esp), %eax
+
.global soft_iret
soft_iret:
-
popl
%esp
+
movl %eax,
%esp
popl %eax
popl %ebx