pspsdk-1.0+beta2
Interrupt Manager Kernel

This module contains routines to manage interrupts. More...

Functions

int sceKernelRegisterIntrHandler (int intno, int no, void *handler, void *arg1, void *arg2)
 Register an interrupt handler.
int sceKernelReleaseIntrHandler (int intno)
 Release an interrupt handler.
int sceKernelEnableIntr (int intno)
 Enable an interrupt.
int sceKernelDisableIntr (int intno)
 Disable an interrupt.
int sceKernelIsIntrContext (void)
 Check if we are in an interrupt context or not.

Detailed Description

This module contains routines to manage interrupts.

Function Documentation

int sceKernelDisableIntr ( int  intno)

Disable an interrupt.

Parameters
intno- Interrupt to disable.
Returns
0 on success.
int sceKernelEnableIntr ( int  intno)

Enable an interrupt.

Parameters
intno- Interrupt to enable.
Returns
0 on success.
int sceKernelIsIntrContext ( void  )

Check if we are in an interrupt context or not.

Returns
1 if we are in an interrupt context, else 0
int sceKernelRegisterIntrHandler ( int  intno,
int  no,
void *  handler,
void *  arg1,
void *  arg2 
)

Register an interrupt handler.

Parameters
intno- The interrupt number to register.
no- The queue number.
handler- Pointer to the handler.
arg1- Unknown (probably a set of flags)
arg2- Unknown (probably a common pointer)
Returns
0 on success.
int sceKernelReleaseIntrHandler ( int  intno)

Release an interrupt handler.

Parameters
intno- The interrupt number to release
Returns
0 on success