From b5e134d86833521b5e30f3901934777832062011 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 17 Nov 2014 17:34:00 +0100 Subject: debugging scheduler --- asm/int_clock_handler.asm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'asm') diff --git a/asm/int_clock_handler.asm b/asm/int_clock_handler.asm index d1fbb03..03685fd 100644 --- a/asm/int_clock_handler.asm +++ b/asm/int_clock_handler.asm @@ -24,6 +24,13 @@ int_clock_handler: push esp ;Push pointer to all the stuff we just pushed call task_switch_next ;Call C code + + pop ebx + + ;compare: + ;cmp eax,ebx + ;jne compare + mov esp, eax ;Replace the stack with what the C code gave us @@ -37,4 +44,4 @@ int_clock_handler: ;We didn't push an error code or IRQ number, so we don't have to edit esp now sti - iret ;Interrupt-Return + iretd ;Interrupt-Return -- cgit v1.2.3