ppc32
[Interrupt handling and dispatching]


Files

file  interrupt.h
file  interrupt.c

Defines

#define IRQ_COUNT   64
#define IVT_ITEMS   (16 + IRQ_COUNT)
#define INT_OFFSET   16
#define int_register(it, name, handler)   exc_register(((it) + INT_OFFSET), name, handler)
#define VECTOR_DATA_STORAGE   2
#define VECTOR_INSTRUCTION_STORAGE   3
#define VECTOR_EXTERNAL   4
#define VECTOR_DECREMENTER   8

Functions

void start_decrementer (void)
void interrupt_init (void)
void extint_handler (int n, istate_t *istate)
static void exception_external (int n, istate_t *istate)
static void exception_decrementer (int n, istate_t *istate)
static void ipc_int (int n, istate_t *istate)
void irq_ipc_bind_arch (__native irq)

Define Documentation

#define INT_OFFSET   16
 

Definition at line 44 of file interrupt.h.

Referenced by exception_external(), and ipc_int().

#define int_register it,
name,
handler   )     exc_register(((it) + INT_OFFSET), name, handler)
 

Definition at line 46 of file interrupt.h.

Referenced by cuda_grab(), cuda_init(), cuda_release(), and irq_ipc_bind_arch().

#define IRQ_COUNT   64
 

Definition at line 40 of file interrupt.h.

Referenced by ipc_init(), sys_ipc_register_irq(), and sys_ipc_unregister_irq().

#define IVT_ITEMS   (16 + IRQ_COUNT)
 

Definition at line 43 of file interrupt.h.

#define VECTOR_DATA_STORAGE   2
 

Definition at line 48 of file interrupt.h.

Referenced by interrupt_init(), pht_real_refill(), and pht_refill().

#define VECTOR_DECREMENTER   8
 

Definition at line 51 of file interrupt.h.

Referenced by interrupt_init().

#define VECTOR_EXTERNAL   4
 

Definition at line 50 of file interrupt.h.

Referenced by interrupt_init().

#define VECTOR_INSTRUCTION_STORAGE   3
 

Definition at line 49 of file interrupt.h.

Referenced by interrupt_init().


Function Documentation

static void exception_decrementer int  n,
istate_t istate
[static]
 

Definition at line 67 of file interrupt.c.

References clock(), and start_decrementer().

Referenced by interrupt_init().

Here is the call graph for this function:

static void exception_external int  n,
istate_t istate
[static]
 

Handler of external interrupts

Definition at line 56 of file interrupt.c.

References exc_dispatch(), INT_OFFSET, pic_ack_interrupt(), and pic_get_pending().

Referenced by interrupt_init().

Here is the call graph for this function:

void extint_handler int  n,
istate_t istate
 

void interrupt_init void   ) 
 

Definition at line 75 of file interrupt.c.

References exc_register(), exception_decrementer(), exception_external(), pht_refill(), VECTOR_DATA_STORAGE, VECTOR_DECREMENTER, VECTOR_EXTERNAL, and VECTOR_INSTRUCTION_STORAGE.

Referenced by arch_pre_mm_init().

Here is the call graph for this function:

static void ipc_int int  n,
istate_t istate
[static]
 

Definition at line 84 of file interrupt.c.

References INT_OFFSET, and ipc_irq_send_notif().

Referenced by irq_ipc_bind_arch().

Here is the call graph for this function:

void irq_ipc_bind_arch __native  irq  ) 
 

Definition at line 91 of file interrupt.c.

References int_register, and ipc_int().

Referenced by sys_ipc_register_irq().

Here is the call graph for this function:

void start_decrementer void   ) 
 

Definition at line 45 of file interrupt.c.

Referenced by arch_pre_mm_init(), and exception_decrementer().


Generated on Sun Jun 18 17:26:31 2006 for HelenOS Kernel (ppc32) by  doxygen 1.4.6