Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irq.c File Reference
#include <asm/irq.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/profile.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/threads.h>
#include <linux/spinlock.h>
#include <linux/kernel_stat.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/intr_vect.h>
#include <hwregs/intr_vect_defs.h>

Go to the source code of this file.

Data Structures

struct  cris_irq_allocation
 

Macros

#define CPU_FIXED   -1
 
#define TIMER_MASK   (1 << (TIMER0_INTR_VECT - FIRST_IRQ))
 
#define NBR_REGS   1
 

Functions

 DEFINE_SPINLOCK (irq_lock)
 
void weird_irq (void)
 
void system_call (void)
 
void nmi_interrupt (void)
 
void multiple_interrupt (void)
 
void gdb_handle_exception (void)
 
void i_mmu_refill (void)
 
void i_mmu_invalid (void)
 
void i_mmu_access (void)
 
void i_mmu_execute (void)
 
void d_mmu_refill (void)
 
void d_mmu_invalid (void)
 
void d_mmu_access (void)
 
void d_mmu_write (void)
 
void kgdb_init (void)
 
void breakpoint (void)
 
void breakh_BUG (void)
 
void block_irq (int irq, int cpu)
 
void unblock_irq (int irq, int cpu)
 
void crisv32_mask_irq (int irq)
 
void crisv32_unmask_irq (int irq)
 
void set_exception_vector (int n, irqvectptr addr)
 
void do_IRQ (int irq, struct pt_regs *regs)
 
void crisv32_do_IRQ (int irq, int block, struct pt_regs *regs)
 
void crisv32_do_multiple (struct pt_regs *regs)
 
void __init init_IRQ (void)
 

Variables

struct cris_irq_allocation irq_allocations [NR_REAL_IRQS]
 
unsigned long cpu_irq_counters [NR_CPUS]
 
unsigned long irq_counters [NR_REAL_IRQS]
 

Macro Definition Documentation

#define CPU_FIXED   -1

Definition at line 23 of file irq.c.

#define NBR_REGS   1

Definition at line 67 of file irq.c.

#define TIMER_MASK   (1 << (TIMER0_INTR_VECT - FIRST_IRQ))

Definition at line 27 of file irq.c.

Function Documentation

void block_irq ( int  irq,
int  cpu 
)

Definition at line 204 of file irq.c.

void breakh_BUG ( void  )
void breakpoint ( void  )

Definition at line 1462 of file kgdb.c.

void crisv32_do_IRQ ( int  irq,
int  block,
struct pt_regs regs 
)

Definition at line 332 of file irq.c.

void crisv32_do_multiple ( struct pt_regs regs)

Definition at line 361 of file irq.c.

void crisv32_mask_irq ( int  irq)

Definition at line 280 of file irq.c.

void crisv32_unmask_irq ( int  irq)

Definition at line 288 of file irq.c.

void d_mmu_access ( void  )
void d_mmu_invalid ( void  )
void d_mmu_refill ( void  )
void d_mmu_write ( void  )
DEFINE_SPINLOCK ( irq_lock  )
void do_IRQ ( int  irq,
struct pt_regs regs 
)

Definition at line 58 of file intc.c.

void gdb_handle_exception ( void  )
void i_mmu_access ( void  )
void i_mmu_execute ( void  )
void i_mmu_invalid ( void  )
void i_mmu_refill ( void  )
void __init init_IRQ ( void  )

Definition at line 439 of file irq.c.

void kgdb_init ( void  )

Definition at line 1472 of file kgdb.c.

void multiple_interrupt ( void  )
void nmi_interrupt ( void  )
void set_exception_vector ( int  n,
irqvectptr  addr 
)

Definition at line 324 of file irq.c.

void system_call ( void  )
void unblock_irq ( int  irq,
int  cpu 
)

Definition at line 228 of file irq.c.

void weird_irq ( void  )

Definition at line 63 of file irq.c.

Variable Documentation

unsigned long cpu_irq_counters[NR_CPUS]

Definition at line 70 of file irq.c.

Initial value:
=
{ [0 ... NR_REAL_IRQS - 1] = {0, CPU_MASK_ALL} }

Definition at line 53 of file irq.c.

unsigned long irq_counters[NR_REAL_IRQS]

Definition at line 71 of file irq.c.