vitasdk
Documentation of the vitasdk
intrmgr.h File Reference

Go to the source code of this file.

Data Structures

struct  SceKernelIntrOptHandlers
 
struct  SceKernelIntrOptParam
 

Macros

#define ksceKernelMaskIntr(intr_code)   ksceKernelDisableIntr(intr_code)
 
#define ksceKernelSetIntrMasked(intr_code, masked)   ksceKernelEnableIntr(intr_code)
 
#define ksceKernelUnmaskIntr(intr_code)   ksceKernelEnableIntr(intr_code)
 
#define ksceKernelGetIntrMasked   ksceKernelSuspendIntr
 

Typedefs

typedef int(* SceKernelIntrHandler) (int unk, void *userCtx)
 
typedef int(* SceKernelSubIntrHandler) (void *subintr_arg, void *register_arg, unsigned char intr_priority)
 
typedef int(* SceKernelIntrOptHandlersCb1) (int intr_code, int subintr_code)
 
typedef int(* SceKernelIntrOptHandlersCb2) (int intr_code, int subintr_code, void *arg)
 
typedef int(* SceKernelIntrOptHandlersCb3) (int intr_code, int subintr_code, SceKernelSubIntrHandler handler, void *register_arg)
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x28, SceKernelIntrOptHandlers)
 
 VITASDK_BUILD_ASSERT_EQ (0x14, SceKernelIntrOptParam)
 
int ksceKernelRegisterIntrHandler (int intr_code, const char *name, int interrupt_type, SceKernelIntrHandler handler, void *user_ctx, int priority, int target_cpu, SceKernelIntrOptParam *opt)
 
int ksceKernelReleaseIntrHandler (int intr_code)
 
int ksceKernelEnableIntr (int intr_code)
 
int ksceKernelDisableIntr (int intr_code)
 
int ksceKernelResumeIntr (int intr_code, int enabled)
 
int ksceKernelSuspendIntr (int intr_code, int *enabled)
 
int ksceKernelIsIntrPending (int intr_code)
 
int ksceKernelClearIntrPending (int intr_code)
 
int ksceKernelSetIntrPriority (int intr_code, int priority)
 
int ksceKernelGetIntrPriority (int intr_code, int *priority)
 
int ksceKernelSetIntrTarget (int intr_code, int cpu_target_list)
 
int ksceKernelGetIntrTarget (int intr_code, int *cpu_target_list)
 
int ksceKernelTriggerSGI (int intr_code, unsigned int target_list_filter, unsigned int cpu_target_list)
 
int ksceKernelIsIntrAllowedInCurrentContext (int intr_code)
 
int ksceKernelRegisterSubIntrHandler (int intr_code, int subintr_code, const char *name, SceKernelSubIntrHandler handler, void *register_arg)
 
int ksceKernelReleaseSubIntrHandler (int intr_code, int subintr_code)
 
int ksceKernelTriggerSubIntr (int intr_code, int subintr_code, void *subintr_arg)
 
int ksceKernelEnableSubIntr (int intr_code, int subintr_code)
 
int ksceKernelDisableSubIntr (int intr_code, int subintr_code)
 
int ksceKernelQueryIntrHandlerInfo (unsigned int intr_code, unsigned int a2, int a3)