vitasdk
Documentation of the vitasdk
|
Go to the source code of this file.
Data Structures | |
struct | SceKernelDebugInfo |
struct | SceKernelDebugEventLog1 |
struct | SceKernelDebugEventLog2 |
struct | SceKernelDebugEventLog3 |
struct | SceKernelDebugEventLog |
union | SceKernelDebugInfo.__attribute__ |
struct | SceKernelDebugInfo.__attribute__.__unnamed18__ |
struct | SceKernelDebugInfo.__attribute__.__unnamed20__ |
union | SceKernelDebugEventLog.__unnamed22__ |
Typedefs | |
typedef SceKernelDebugInfo | SceKernelDebugMessageContext |
Enumerations | |
enum | SceKernelDebugInfoFlags { SCE_KERNEL_DEBUG_INFO_FLAG_NONE = 0 , SCE_KERNEL_DEBUG_INFO_FLAG_CORE = 1 , SCE_KERNEL_DEBUG_INFO_FLAG_FUNC = 2 , SCE_KERNEL_DEBUG_INFO_FLAG_LINE = 4 , SCE_KERNEL_DEBUG_INFO_FLAG_FILE = 8 } |
enum | SceKernelDebugLevel { SCE_KERNEL_DEBUG_LEVEL_ALWAYS = 0 , SCE_KERNEL_DEBUG_LEVEL_DEBUG , SCE_KERNEL_DEBUG_LEVEL_TRACE } |
enum | SceKernelAssertLevel { SCE_KERNEL_ASSERT_LEVEL_0 = 0 , SCE_KERNEL_ASSERT_LEVEL_1 , SCE_KERNEL_ASSERT_LEVEL_2 } |
Functions | |
VITASDK_BUILD_ASSERT_EQ (0x18, SceKernelDebugInfo) | |
int | ksceKernelDebugPutchar (int character) |
int | ksceKernelPrintf (const char *fmt,...) |
Print log. More... | |
int | ksceKernelPrintfLevel (SceUInt32 level, const char *fmt,...) |
Kernel Printf. More... | |
int | ksceKernelPrintfLevelWithInfo (SceUInt32 level, SceUInt32 flags, const SceKernelDebugInfo *dbginfo, const char *fmt,...) |
Kernel Printf Level with Info. More... | |
int | ksceKernelPrintfWithInfo (SceUInt32 flags, const SceKernelDebugInfo *dbginfo, const char *fmt,...) |
Kernel Printf with Info. More... | |
int | ksceKernelVprintf (const char *fmt, va_list arg) |
Kernel Vprintf. More... | |
int | ksceKernelVprintfLevel (SceUInt32 level, const char *fmt, va_list arg) |
Kernel Vprintf Level. More... | |
__attribute__ ((__noreturn__)) void ksceKernelPanic(const SceKernelDebugInfo *dbginfo | |
Kernel Panic. More... | |
const void const char void | ksceKernelAssert (SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr) |
Assertion. More... | |
void | ksceKernelAssertLevel (SceUInt32 level, SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr) |
Printf Assertion Level. More... | |
void | ksceKernelPrintfAssertLevel (SceUInt32 level, SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr, const char *fmt,...) |
Printf Assertion Level. More... | |
int | ksceKernelRegisterKprintfHandler (int(*handler)(int unk, const char *format, va_list args), void *argp) |
int | ksceKernelRegisterDebugPutcharHandler (int(*handler)(void *argp, char c), void *argp) |
void * | ksceKernelGetDebugPutcharHandler (void) |
int | ksceKernelEnableCrashDump (SceBool enable) |
Set CrashDump enable. More... | |
int | ksceKernelGetAssertLevel (void) |
Get current minimum assertion level. More... | |
SceUInt32 | ksceKernelSetAssertLevel (SceUInt32 level) |
Get current assert level. More... | |
struct SceKernelDebugEventLog1 | __attribute__ ((packed)) SceKernelDebugEventLog1 |
VITASDK_BUILD_ASSERT_EQ (0x1C, SceKernelDebugEventLog1) | |
VITASDK_BUILD_ASSERT_EQ (4, SceKernelDebugEventLog2) | |
VITASDK_BUILD_ASSERT_EQ (0x54, SceKernelDebugEventLog3) | |
VITASDK_BUILD_ASSERT_EQ (0x54+0x40, SceKernelDebugEventLog) | |
int | ksceEventLogGetInfo (void *buf, SceSize buf_size, SceSize *read_blocks) |
Get event log info. More... | |
int | ksceKernelGetTtyInfo (char *buf, SceSize buf_size) |
Get tty log info. More... | |
Variables | |
const void * | lr |
const void const char * | fmt |
int | data_0x40 |
0 or 0x80412118? More... | |
SceUID | pid |
int | budget_type |
int | data_0x4C |
0xA More... | |
char | titleid [0xC] |
Title id of the process where the event occurred. More... | |
char | ip1 [0x10] |
char | ip2 [0x10] |
char | ip3 [0x10] |
char | ip4 [0x10] |
char | ip5 [0x10] |
SceSize | size |
struct size(variable size) More... | |
int | data_0x04 |
0xA, maybe titleid size More... | |
int | flags |
Event flags. More... | |
SceUID | ppid |
Parent process id. More... | |
SceUID | data_0x1C |
Thread id? More... | |
int | rsvd [4] |
SceUInt64 | time |
Time of the event occurred. More... | |
int | data_0x38 |
SceSize | item_size |
Event data size. More... | |
union { | |
SceKernelDebugEventLog1 | type1 |
SceKernelDebugEventLog2 | type2 |
SceKernelDebugEventLog3 | type3 |
}; | |