Functions

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

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
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
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