POK(kernelpart)
|
Leon3 IRQ management. More...
#include "ioports.h"
Go to the source code of this file.
Defines | |
#define | IRQMP_BASE 0x80000200 |
#define | IRQMP_CLEAR_OFFSET 0x10U |
#define | IRQMP_MASK0_OFFSET 0x40U |
#define | unmask_irq(irq_nbr) |
#define | ack_irq(irq_nbr) outw(IRQMP_BASE + IRQMP_CLEAR_OFFSET, (1 << (irq_nbr))) |
Leon3 IRQ management.
Definition in file irq.h.
#define ack_irq | ( | irq_nbr | ) | outw(IRQMP_BASE + IRQMP_CLEAR_OFFSET, (1 << (irq_nbr))) |
#define IRQMP_BASE 0x80000200 |
#define IRQMP_CLEAR_OFFSET 0x10U |
#define IRQMP_MASK0_OFFSET 0x40U |
#define unmask_irq | ( | irq_nbr | ) |
outw(IRQMP_BASE + IRQMP_MASK0_OFFSET, \ inb(IRQMP_BASE + IRQMP_MASK0_OFFSET) | (1 << (irq_nbr)))
Unmask the given irq.