POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/arch/sparc/leon3/irq.h File Reference

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)))

Detailed Description

Leon3 IRQ management.

Author:
Fabien Chouteau

Definition in file irq.h.


Define Documentation

#define ack_irq (   irq_nbr)    outw(IRQMP_BASE + IRQMP_CLEAR_OFFSET, (1 << (irq_nbr)))

Acknowledge the given irq.

Definition at line 44 of file irq.h.

#define IRQMP_BASE   0x80000200

Leon3 IRQMP IO adress

Definition at line 28 of file irq.h.

#define IRQMP_CLEAR_OFFSET   0x10U

Clear register offset

Definition at line 30 of file irq.h.

#define IRQMP_MASK0_OFFSET   0x40U

Mask register offset

Definition at line 31 of file irq.h.

#define unmask_irq (   irq_nbr)
Value:

Unmask the given irq.

Definition at line 37 of file irq.h.