diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-17 17:34:00 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-17 17:34:00 +0100 |
| commit | b5e134d86833521b5e30f3901934777832062011 (patch) | |
| tree | 3e601dfe651597efdd603fd2bbcf1c0eb0ddb2d3 /asm | |
| parent | f15d9d64b0aa361085a607986d68f239ee497d2d (diff) | |
debugging scheduler
Diffstat (limited to '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 |
