summaryrefslogtreecommitdiff
path: root/ioapic.c
diff options
context:
space:
mode:
authorrtm <rtm>2006-08-13 15:51:58 +0000
committerrtm <rtm>2006-08-13 15:51:58 +0000
commit17e3cf15bac0c1ac60780ce7d1d228442ff08ed9 (patch)
tree3a0f316e47341d71e9edc1715fc232a71dcb7692 /ioapic.c
parent8abe2bcf156cce7beec21b259a59aaaa538165c0 (diff)
downloadxv6-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ioapic.c b/ioapic.c
index 0bd672a..5120b23 100644
--- a/ioapic.c
+++ b/ioapic.c
@@ -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);
}