diff options
author | rtm <rtm> | 2006-08-13 15:51:58 +0000 |
---|---|---|
committer | rtm <rtm> | 2006-08-13 15:51:58 +0000 |
commit | 17e3cf15bac0c1ac60780ce7d1d228442ff08ed9 (patch) | |
tree | 3a0f316e47341d71e9edc1715fc232a71dcb7692 /ioapic.c | |
parent | 8abe2bcf156cce7beec21b259a59aaaa538165c0 (diff) | |
download | xv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.tar.gz xv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.tar.bz2 xv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.zip |
fix iget() bug that allocated in-use inode[] entries
Diffstat (limited to 'ioapic.c')
-rw-r--r-- | ioapic.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -43,7 +43,6 @@ ioapic_init(void) id = ioapic_read(io, IOAPIC_ID) >> APIC_ID_SHIFT; if (id != ioapic_id) panic ("ioapic_init: id isn't equal to ioapic_id\n"); - cprintf ("ioapic VER: 0x%x id %d nintr %d\n", l, id, nintr); for (i = 0; i < nintr; i++) { // active-hi and edge-triggered for ISA interrupts // Assume that pin 0 on the first I/O APIC is an ExtINT pin. @@ -78,5 +77,4 @@ ioapic_enable (int irq, int cpunum) h &= ~IOART_DEST; h |= (cpunum << APIC_ID_SHIFT); ioapic_write(io, IOAPIC_REDTBL_HI(irq), h); - cprintf("cpu%d: intr %d: lo 0x%x hi 0x%x\n", cpu(), irq, l, h); } |