Changeset 220ad7d in rtems for c/src/lib/libbsp/powerpc
- Timestamp:
- 07/26/99 21:38:08 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 54f440d
- Parents:
- 38bfb0d
- Location:
- c/src/lib/libbsp/powerpc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/mcp750/irq/irq.c
r38bfb0d r220ad7d 355 355 i8259s_cache = newMask; 356 356 outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff); 357 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));357 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8)); 358 358 BSP_irq_ack_at_i8259s (irq); 359 359 openpic_eoi(0); … … 370 370 i8259s_cache = oldMask; 371 371 outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff); 372 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));372 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8)); 373 373 } 374 374 else { -
c/src/lib/libbsp/powerpc/motorola_powerpc/irq/irq.c
r38bfb0d r220ad7d 355 355 i8259s_cache = newMask; 356 356 outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff); 357 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));357 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8)); 358 358 BSP_irq_ack_at_i8259s (irq); 359 359 openpic_eoi(0); … … 370 370 i8259s_cache = oldMask; 371 371 outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff); 372 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));372 outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8)); 373 373 } 374 374 else {
Note: See TracChangeset
for help on using the changeset viewer.