Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
irq.h File Reference
#include <linux/cpumask.h>
#include <asm/machvec.h>
#include <asm-generic/irq.h>

Go to the source code of this file.


#define NR_IRQS   512
#define NO_IRQ_IGNORE   ((unsigned int)-1)
#define irq_demux(irq)   sh_mv.mv_irq_demux(irq)
#define irq_ctx_init(cpu)   do { } while (0)
#define irq_ctx_exit(cpu)   do { } while (0)
#define irq_lookup(irq)   (irq)
#define irq_finish(irq)   do { } while (0)


void make_maskreg_irq (unsigned int irq)
void init_IRQ_pint (void)
void make_imask_irq (unsigned int irq)
void init_IRQ (void)
void migrate_irqs (void)
asmlinkage int do_IRQ (unsigned int irq, struct pt_regs *regs)


unsigned shortirq_mask_register

Macro Definition Documentation

#define irq_ctx_exit (   cpu)    do { } while (0)

Definition at line 56 of file irq.h.

#define irq_ctx_init (   cpu)    do { } while (0)

Definition at line 55 of file irq.h.

#define irq_demux (   irq)    sh_mv.mv_irq_demux(irq)

Definition at line 43 of file irq.h.

#define irq_finish (   irq)    do { } while (0)

Definition at line 64 of file irq.h.

#define irq_lookup (   irq)    (irq)

Definition at line 63 of file irq.h.

#define NO_IRQ_IGNORE   ((unsigned int)-1)

Definition at line 24 of file irq.h.

#define NR_IRQS   512

Definition at line 15 of file irq.h.

Function Documentation

asmlinkage int do_IRQ ( unsigned int  irq,
struct pt_regs regs 

Definition at line 201 of file irq.c.

void init_IRQ ( void  )

The hexagon core comes with a first-level interrupt controller with 32 total possible interrupts. When the core is embedded into different systems/platforms, it is typically wrapped by macro cells that provide one or more second-level interrupt controllers that are cascaded into one or more of the first-level interrupts handled here. The precise wiring of these other irqs varies from platform to platform, and are set up & configured in the platform-specific files.

The first-level interrupt controller is wrapped by the VM, which virtualizes the interrupt controller for us. It provides a very simple, fast & efficient API, and so the fasteoi handler is appropriate for this case.

Definition at line 109 of file irq_alpha.c.

void init_IRQ_pint ( void  )
void make_imask_irq ( unsigned int  irq)

Definition at line 80 of file imask.c.

void make_maskreg_irq ( unsigned int  irq)
void migrate_irqs ( void  )

Variable Documentation

unsigned short* irq_mask_register