vitasdk
Documentation of the vitasdk
excpmgr.h File Reference

Go to the source code of this file.

Data Structures

struct  SceExcpmgrData
 
struct  SceExcpmgrExceptionContext
 

Typedefs

typedef void() SceExcpmgrExceptionHandler(SceExcpmgrExceptionContext *context, SceExcpHandlingCode code)
 

Enumerations

enum  SceExcpKind {
  SCE_EXCP_RESET = 0 , SCE_EXCP_UNDEF_INSTRUCTION = 1 , SCE_EXCP_SVC = 2 , SCE_EXCP_PABT = 3 ,
  SCE_EXCP_DABT = 4 , SCE_EXCP_UNUSED = 5 , SCE_EXCP_IRQ = 6 , SCE_EXCP_FIQ = 7
}
 
enum  SceExcpHandlingCode {
  SCE_EXCPMGR_EXCEPTION_HANDLED = 0 , SCE_EXCPMGR_EXCEPTION_NOT_HANDLED = 1 , SCE_EXCPMGR_EXCEPTION_HANDLING_CODE_2 = 2 , SCE_EXCPMGR_EXCEPTION_NOT_HANDLED_FATAL = 3 ,
  SCE_EXCPMGR_EXCEPTION_HANDLING_CODE_4 = 4
}
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x40, SceExcpmgrData)
 
 VITASDK_BUILD_ASSERT_EQ (0x400, SceExcpmgrExceptionContext)
 
SceExcpmgrDataksceExcpmgrGetData (void)
 Get a pointer to SceExcpmgr's internal data. More...
 
int ksceExcpmgrRegisterHandler (SceExcpKind kind, int priority, void *handler)
 Register an exception handler. More...