summaryrefslogtreecommitdiff
path: root/ioapic.c
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-03 18:32:58 +0000
committerkaashoek <kaashoek>2006-09-03 18:32:58 +0000
commit97c74a3a642c17dfcd605018c3fb45a1f4f4d5e2 (patch)
tree0b38280ba50dc6cd9b3a6670773ec5ba91c47803 /ioapic.c
parent0b6ab8416e50dcbf790163282f461647e180dbc6 (diff)
downloadxv6-labs-97c74a3a642c17dfcd605018c3fb45a1f4f4d5e2.tar.gz
xv6-labs-97c74a3a642c17dfcd605018c3fb45a1f4f4d5e2.tar.bz2
xv6-labs-97c74a3a642c17dfcd605018c3fb45a1f4f4d5e2.zip
nits
Diffstat (limited to 'ioapic.c')
-rw-r--r--ioapic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ioapic.c b/ioapic.c
index 5120b23..c96c4f7 100644
--- a/ioapic.c
+++ b/ioapic.c
@@ -46,7 +46,7 @@ ioapic_init(void)
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.
- // Assume that pins 1-15 are ISA interrupts and that all
+ // Assume that pins 1-15 are ISA interrupts
l = ioapic_read(io, IOAPIC_REDTBL_LO(i));
l = l & ~IOART_INTMASK; // allow INTs
l |= IOART_INTMSET;
@@ -59,7 +59,6 @@ ioapic_init(void)
h = ioapic_read(io, IOAPIC_REDTBL_HI(i));
h &= ~IOART_DEST;
ioapic_write(io, IOAPIC_REDTBL_HI(i), h);
- // cprintf("intr %d: lo 0x%x hi 0x%x\n", i, l, h);
}
}