summaryrefslogtreecommitdiff
path: root/kern/timer_asm.S
diff options
context:
space:
mode:
authorHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-24 04:13:40 -0400
committerHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-24 04:13:40 -0400
commit09cce089128de5f265ee6d4e68e196f85537ccc7 (patch)
treec639113144ce8395205b6813d43c5cd19c8afcfb /kern/timer_asm.S
parent6b13d5d9b1ff1cb38bb50e918e51a241a225f8da (diff)
timer
Diffstat (limited to 'kern/timer_asm.S')
-rw-r--r--kern/timer_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/timer_asm.S b/kern/timer_asm.S
index cf4c76f..f70c606 100644
--- a/kern/timer_asm.S
+++ b/kern/timer_asm.S
@@ -8,9 +8,9 @@
.type timer_test_handler, %function
timer_test_handler:
push %eax
- mov timer_test_status, %eax
+ mov timer_count, %eax
dec %eax
- mov %eax, timer_test_status
+ mov %eax, timer_count
mov $INT_ACK_CURRENT, %al
mov $INT_CTL_PORT, %dx
outb %al, %dx