PSPSDK 2024-12-16
Loading...
Searching...
No Matches
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

◆ sceKernelDisableIntr()

int sceKernelDisableIntr ( int  intno)

Disable an interrupt.

Parameters
intno- Interrupt to disable.
Returns
0 on success.

◆ sceKernelEnableIntr()

int sceKernelEnableIntr ( int  intno)

Enable an interrupt.

Parameters
intno- Interrupt to enable.
Returns
0 on success.

◆ sceKernelIsIntrContext()

int sceKernelIsIntrContext ( void  )

Check if we are in an interrupt context or not.

Returns
1 if we are in an interrupt context, else 0

◆ sceKernelRegisterIntrHandler()

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.

◆ sceKernelReleaseIntrHandler()

int sceKernelReleaseIntrHandler ( int  intno)

Release an interrupt handler.

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