forked from Imagelibrary/rtems
Patch fixing typo from Eric Valette <valette@crf.canon.fr> on bug report
from Jay Kulpinski <jskulpin@eng01.gdds.com>.
This commit is contained in:
@@ -354,7 +354,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
|||||||
newMask = oldMask | irq_mask_or_tbl [irq];
|
newMask = oldMask | irq_mask_or_tbl [irq];
|
||||||
i8259s_cache = newMask;
|
i8259s_cache = newMask;
|
||||||
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
||||||
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
|
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
|
||||||
BSP_irq_ack_at_i8259s (irq);
|
BSP_irq_ack_at_i8259s (irq);
|
||||||
openpic_eoi(0);
|
openpic_eoi(0);
|
||||||
}
|
}
|
||||||
@@ -369,7 +369,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
|||||||
if (isaIntr) {
|
if (isaIntr) {
|
||||||
i8259s_cache = oldMask;
|
i8259s_cache = oldMask;
|
||||||
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
||||||
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
|
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
openpic_eoi(0);
|
openpic_eoi(0);
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
|||||||
newMask = oldMask | irq_mask_or_tbl [irq];
|
newMask = oldMask | irq_mask_or_tbl [irq];
|
||||||
i8259s_cache = newMask;
|
i8259s_cache = newMask;
|
||||||
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
||||||
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
|
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
|
||||||
BSP_irq_ack_at_i8259s (irq);
|
BSP_irq_ack_at_i8259s (irq);
|
||||||
openpic_eoi(0);
|
openpic_eoi(0);
|
||||||
}
|
}
|
||||||
@@ -369,7 +369,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
|||||||
if (isaIntr) {
|
if (isaIntr) {
|
||||||
i8259s_cache = oldMask;
|
i8259s_cache = oldMask;
|
||||||
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
|
||||||
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
|
outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
openpic_eoi(0);
|
openpic_eoi(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user