X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/e66387b252f36c894d79769cbfb178bc950600d4..58bc147210ab1363ee9ddc169a8e1c46ce24cf29:/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 62c9ec5..27bdc4c 100644 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ b/lunaix-os/kernel/asm/x86/interrupt.S @@ -104,10 +104,11 @@ call intr_handler + movl (%esp), %eax + .global soft_iret soft_iret: - cli - popl %esp + movl %eax, %esp popl %eax popl %ebx