diff options
author | rsc <rsc> | 2007-08-28 19:04:36 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-28 19:04:36 +0000 |
commit | eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15 (patch) | |
tree | 89746e7d94fc184b4e0d1a0deef3c9c93560f2f7 /timer.c | |
parent | 5516be1fed10ac87848668964c495266d02ae915 (diff) | |
download | xv6-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |