X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1b471813a2ba287c2ace9cf6c866f330c725b99c..efbabf3bcf37c1da148c1e7579974999021f2b86:/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 e0cda17..a03bce6 100644 --- 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