diff options
Diffstat (limited to 'asm/int_clock_handler.asm')
| -rw-r--r-- | asm/int_clock_handler.asm | 9 |
1 files changed, 8 insertions, 1 deletions
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 |
