diff --git a/arch/x86/irq_pit.S b/arch/x86/irq_pit.S index cc5f0f0..e0e596b 100644 --- a/arch/x86/irq_pit.S +++ b/arch/x86/irq_pit.S @@ -11,6 +11,8 @@ pit_handler: // already got eflags, cs and eip on stack thanks to CPU pushl $0 // err_code esp+12+7*4=40 pushl %ebp + movl %esp, %ebp + pushl %eax pushl %ecx pushl %edx