summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/pic.h2
-rw-r--r--i386/i386at/idt.h6
2 files changed, 3 insertions, 5 deletions
diff --git a/i386/i386/pic.h b/i386/i386/pic.h
index 6434bf08..b3365ed9 100644
--- a/i386/i386/pic.h
+++ b/i386/i386/pic.h
@@ -96,7 +96,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#if defined(AT386) || defined(ATX86_64)
-#define PICM_VECTBASE 0x40
+#define PICM_VECTBASE 0x20
#define PICS_VECTBASE PICM_VECTBASE + 0x08
#endif /* defined(AT386) */
diff --git a/i386/i386at/idt.h b/i386/i386at/idt.h
index 56e6296c..fd2f62d8 100644
--- a/i386/i386at/idt.h
+++ b/i386/i386at/idt.h
@@ -26,11 +26,9 @@
/* On a standard PC, we only need 16 interrupt vectors,
because that's all the PIC hardware supports. */
-/* XX But for some reason we program the PIC
- to use vectors 0x40-0x4f rather than 0x20-0x2f. Fix. */
-#define IDTSZ (0x20+0x20+0x10)
+#define IDTSZ (0x20+0x10)
-#define PIC_INT_BASE 0x40
+#define PIC_INT_BASE 0x20
#include <i386/idt-gen.h>