mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- Switch PRIMARY_VECTOR_BASE to 0x30 instead of 0x40, as it should be.
svn path=/trunk/; revision=23669
This commit is contained in:
parent
7ad1947410
commit
8401f43ab0
4 changed files with 5 additions and 5 deletions
|
@ -21,14 +21,14 @@ PICInitTable:
|
|||
/* Master PIC */
|
||||
.short 0x20 /* Port */
|
||||
.byte 0x11 /* Edge,, cascade, CAI 8, ICW4 */
|
||||
.byte 0x40 /* Base */
|
||||
.byte PRIMARY_VECTOR_BASE /* Base */
|
||||
.byte 4 /* IRQ 4 connected to slave */
|
||||
.byte 1 /* Non buffered, not nested, 8086 */
|
||||
|
||||
/* Slave PIC */
|
||||
.short 0xA0 /* Port */
|
||||
.byte 0x11 /* Edge, cascade, CAI 8, ICW4 */
|
||||
.byte 0x48 /* Base */
|
||||
.byte PRIMARY_VECTOR_BASE + 8 /* Base */
|
||||
.byte 2 /* Slave ID: Slave 2 */
|
||||
.byte 1 /* Non buffered, not nested, 8086 */
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#else
|
||||
|
||||
#define IRQ_BASE (0x40)
|
||||
#define IRQ_BASE (0x30)
|
||||
#define NR_IRQS (16)
|
||||
|
||||
#define VECTOR2IRQ(vector) ((vector) - IRQ_BASE)
|
||||
|
|
|
@ -445,7 +445,7 @@ Author:
|
|||
//
|
||||
// Generic Definitions
|
||||
//
|
||||
#define PRIMARY_VECTOR_BASE 0x40 // FIXME: HACK
|
||||
#define PRIMARY_VECTOR_BASE 0x30 // FIXME: HACK
|
||||
#define MAXIMUM_IDTVECTOR 0xFF
|
||||
#endif // !_ASM_H
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ void irq_handler_13(void);
|
|||
void irq_handler_14(void);
|
||||
void irq_handler_15(void);
|
||||
|
||||
static unsigned int irq_handler[NR_IRQS]=
|
||||
unsigned int irq_handler[NR_IRQS]=
|
||||
{
|
||||
(int)&irq_handler_0,
|
||||
(int)&irq_handler_1,
|
||||
|
|
Loading…
Reference in a new issue