]> Devi Nivas Git - cs3210-lab1.git/commitdiff
oops - wrong bit (vic zandy)
authorrsc <rsc>
Thu, 20 Dec 2007 18:27:07 +0000 (18:27 +0000)
committerrsc <rsc>
Thu, 20 Dec 2007 18:27:07 +0000 (18:27 +0000)
ioapic.c

index 65eec1fb28bea9c1fb0c47426b60b0f68081d33a..5b1a46b6764328ba5ed973542d1268135512236d 100644 (file)
--- a/ioapic.c
+++ b/ioapic.c
@@ -17,7 +17,7 @@
 // The first (low) register in a pair contains configuration bits.
 // The second (high) register contains a bitmask telling which
 // CPUs can serve that interrupt.
-#define INT_DISABLED   0x00100000  // Interrupt disabled
+#define INT_DISABLED   0x00010000  // Interrupt disabled
 #define INT_LEVEL      0x00008000  // Level-triggered (vs edge-)
 #define INT_ACTIVELOW  0x00002000  // Active low (vs high)
 #define INT_LOGICAL    0x00000800  // Destination is CPU id (vs APIC ID)