blob: cf4c76f2624dad0510eeab37c8b667eb6d0c90f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <x86/seg.h>
#include <x86/interrupt_defines.h>
#include <x86/timer_defines.h>
.text
.global timer_test_handler
.type timer_test_handler, %function
timer_test_handler:
push %eax
mov timer_test_status, %eax
dec %eax
mov %eax, timer_test_status
mov $INT_ACK_CURRENT, %al
mov $INT_CTL_PORT, %dx
outb %al, %dx
pop %eax
iret
|