From 959bc56bc7ceb0cf6d3d045b168377ff99fbdf69 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 2 Nov 2021 23:22:24 +0100 Subject: [PATCH] pit_handler: fix stack growing --- arch/x86/irq_pit.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/irq_pit.S b/arch/x86/irq_pit.S index e0e596b..f5e8517 100644 --- a/arch/x86/irq_pit.S +++ b/arch/x86/irq_pit.S @@ -39,6 +39,7 @@ pit_handler: // already got eflags, cs and eip on stack thanks to CPU pushl %esp call pitIrqHandler + addl $4, %esp movl %eax,%esp /* Restore the CPU context */