summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 19:04:36 +0000
committerrsc <rsc>2007-08-28 19:04:36 +0000
commiteb52c7de1dea182cc3519dc07c62b7f5fe2dfb15 (patch)
tree89746e7d94fc184b4e0d1a0deef3c9c93560f2f7 /timer.c
parent5516be1fed10ac87848668964c495266d02ae915 (diff)
downloadxv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.tar.gz
xv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.tar.bz2
xv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.zip
comments; rename irq_ to pic_
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer.c b/timer.c
index ba4e6c4..89700dc 100644
--- a/timer.c
+++ b/timer.c
@@ -28,5 +28,5 @@ timer_init(void)
outb(TIMER_MODE, TIMER_SEL0 | TIMER_RATEGEN | TIMER_16BIT);
outb(IO_TIMER1, TIMER_DIV(100) % 256);
outb(IO_TIMER1, TIMER_DIV(100) / 256);
- irq_enable(IRQ_TIMER);
+ pic_enable(IRQ_TIMER);
}