Go to the documentation of this file.
23 #ifndef __POK_SPARC_LEON3_IRQ_H__
24 # define __POK_SPARC_LEON3_IRQ_H__
28 #define IRQMP_BASE 0x80000200
30 #define IRQMP_CLEAR_OFFSET 0x10U
31 #define IRQMP_MASK0_OFFSET 0x40U
37 #define unmask_irq(irq_nbr) outw(IRQMP_BASE + IRQMP_MASK0_OFFSET, \
38 inb(IRQMP_BASE + IRQMP_MASK0_OFFSET) | (1 << (irq_nbr)))
44 #define ack_irq(irq_nbr) outw(IRQMP_BASE + IRQMP_CLEAR_OFFSET, (1 << (irq_nbr)))