PSPSDK 2024-10-31
Loading...
Searching...
No Matches
pspexception.h File Reference
#include <pspkerneltypes.h>
Include dependency graph for pspexception.h:

Go to the source code of this file.

Functions

int sceKernelRegisterDefaultExceptionHandler (void *func)
 Register a default exception handler.
 
int sceKernelRegisterExceptionHandler (int exno, void *func)
 Register a exception handler.
 
int sceKernelRegisterPriorityExceptionHandler (int exno, int priority, void *func)
 Register a exception handler with a priority.
 

Function Documentation

◆ sceKernelRegisterDefaultExceptionHandler()

int sceKernelRegisterDefaultExceptionHandler ( void func)

Register a default exception handler.

Parameters
func- Pointer to the exception handler function
Note
The exception handler function must start with a NOP
Returns
0 on success, < 0 on error

◆ sceKernelRegisterExceptionHandler()

int sceKernelRegisterExceptionHandler ( int  exno,
void func 
)

Register a exception handler.

Parameters
exno- The exception number
func- Pointer to the exception handler function
Returns
0 on success, < 0 on error

◆ sceKernelRegisterPriorityExceptionHandler()

int sceKernelRegisterPriorityExceptionHandler ( int  exno,
int  priority,
void func 
)

Register a exception handler with a priority.

Parameters
exno- The exception number
priority- The priority of the exception
func- Pointer to the exception handler function
Returns
0 on success, < 0 on error