summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/int_clock_handler.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/asm/int_clock_handler.asm b/asm/int_clock_handler.asm
index c6c91fc..7e55067 100644
--- a/asm/int_clock_handler.asm
+++ b/asm/int_clock_handler.asm
@@ -1,8 +1,6 @@
global int_clock_handler
[extern task_switch_next]
-;CLOCK_COUNTER:
-; db 0x00
[bits 32]
int_clock_handler:
@@ -20,8 +18,8 @@ int_clock_handler:
; mov byte [CLOCK_COUNTER], 0x00
pusha ;Push all standard registers
- push esp ;Push pointer to all the stuff we just pushed
+ push esp ;Push pointer to all the stuff we just pushed
call task_switch_next ;Call C code
;pop ebx
@@ -30,7 +28,6 @@ pusha ;Push all standard registers
;cmp eax,ebx
;jne compare
-
mov esp, eax ;Replace the stack with what the C code gave us