summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timer.c b/timer.c
index e270db7..8fdecee 100644
--- a/timer.c
+++ b/timer.c
@@ -22,13 +22,13 @@
#define TIMER_16BIT 0x30 // r/w counter 16 bits, LSB first
void
-timer_init(void)
+timerinit(void)
{
// Interrupt 100 times/sec.
outb(TIMER_MODE, TIMER_SEL0 | TIMER_RATEGEN | TIMER_16BIT);
outb(IO_TIMER1, TIMER_DIV(100) % 256);
outb(IO_TIMER1, TIMER_DIV(100) / 256);
- pic_enable(IRQ_TIMER);
+ picenable(IRQ_TIMER);
}