mirror of
https://github.com/joel16/uofw.git
synced 2024-11-26 21:10:38 +00:00
d5f989a8d2
libatrac3plus exports, sysmem export fixes, various cleans a bit everywhere
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/* Copyright (C) 2011, 2012 The uOFW team
|
|
See the file COPYING for copying permission.
|
|
*/
|
|
|
|
#include "common_header.h"
|
|
|
|
// interruption
|
|
#define EXCEP_INT 1
|
|
// load or instruction fetch exception
|
|
#define EXCEP_ADEL 4
|
|
// address store exception
|
|
#define EXCEP_ADES 5
|
|
// instruction fetch bus error
|
|
#define EXCEP_IBE 6
|
|
// load/store bus error
|
|
#define EXCEP_DBE 7
|
|
// syscall
|
|
#define EXCEP_SYS 8
|
|
// breakpoint
|
|
#define EXCEP_BP 9
|
|
// reserved instruction
|
|
#define EXCEP_RI 10
|
|
// coprocessor unusable
|
|
#define EXCEP_CPU 11
|
|
// arithmetic overflow
|
|
#define EXCEP_OV 12
|
|
// floating-point exception
|
|
#define EXCEP_FPE 15
|
|
// watch (reference to WatchHi/WatchLo)
|
|
#define EXCEP_WATCH 23
|
|
// "Virtual Coherency Exception data" (used for NMI handling apparently)
|
|
#define EXCEP_VCED 31
|
|
|
|
int sceKernelRegisterPriorityExceptionHandler(int exno, int prio, void (*func)());
|
|
int sceKernelRegisterDefaultExceptionHandler(void *func);
|
|
int sceKernelReleaseExceptionHandler(int exno, void (*func)());
|
|
int sceKernelReleaseDefaultExceptionHandler(void (*func)());
|
|
int sceKernelRegisterExceptionHandler(int exno, void (*func)());
|
|
|