From 2157576107d6e81c643e14e134b60b8ae519c256 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 8 Mar 2009 22:07:13 +0000 Subject: be consistent: no underscores in function names --- timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timer.c') 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); } -- cgit v1.2.3