00001 /* 00002 * PSP Software Development Kit - http://www.pspdev.org 00003 * ----------------------------------------------------------------------- 00004 * Licensed under the BSD license, see LICENSE in PSPSDK root for details. 00005 * 00006 * pspexception.h - Interface to the kernel side of ExceptionMan 00007 * 00008 * Copyright (c) 2006 James F. 00009 * 00010 * $Id: pspexception.h 1906 2006-05-09 18:42:57Z tyranid $ 00011 */ 00012 00013 #ifndef PSPEXCEPTION_H 00014 #define PSPEXCEPTION_H 00015 00016 #include <pspkerneltypes.h> 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00030 int sceKernelRegisterDefaultExceptionHandler(void *func); 00031 00040 int sceKernelRegisterExceptionHandler(int exno, void *func); 00041 00051 int sceKernelRegisterPriorityExceptionHandler(int exno, int priority, void *func); 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif /* PSPEXCEPTION_H */