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. | |
int | ksceKernelPrintfLevel (SceUInt32 level, const char *fmt,...) |
Kernel Printf. | |
int | ksceKernelPrintfLevelWithInfo (SceUInt32 level, SceUInt32 flags, const SceKernelDebugInfo *dbginfo, const char *fmt,...) |
Kernel Printf Level with Info. | |
int | ksceKernelPrintfWithInfo (SceUInt32 flags, const SceKernelDebugInfo *dbginfo, const char *fmt,...) |
Kernel Printf with Info. | |
int | ksceKernelVprintf (const char *fmt, va_list arg) |
Kernel Vprintf. | |
int | ksceKernelVprintfLevel (SceUInt32 level, const char *fmt, va_list arg) |
Kernel Vprintf Level. | |
__attribute__ ((__noreturn__)) void ksceKernelPanic(const SceKernelDebugInfo *dbginfo | |
Kernel Panic. | |
const void const char void | ksceKernelAssert (SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr) |
Assertion. | |
void | ksceKernelAssertLevel (SceUInt32 level, SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr) |
Printf Assertion Level. | |
void | ksceKernelPrintfAssertLevel (SceUInt32 level, SceBool condition, const SceKernelDebugInfo *dbginfo, const void *lr, const char *fmt,...) |
Printf Assertion Level. | |
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. | |
int | ksceKernelGetAssertLevel (void) |
Get current minimum assertion level. | |
SceUInt32 | ksceKernelSetAssertLevel (SceUInt32 level) |
Get current assert level. | |
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. | |
int | ksceKernelGetTtyInfo (char *buf, SceSize buf_size) |
Get tty log info. | |
Variables | ||
const void * | lr | |
const void const char * | fmt | |
int | data_0x40 | |
0 or 0x80412118? | ||
SceUID | pid | |
int | budget_type | |
int | data_0x4C | |
0xA | ||
char | titleid [0xC] | |
Title id of the process where the event occurred. | ||
char | ip1 [0x10] | |
char | ip2 [0x10] | |
char | ip3 [0x10] | |
char | ip4 [0x10] | |
char | ip5 [0x10] | |
SceSize | size | |
struct size(variable size) | ||
int | data_0x04 | |
0xA, maybe titleid size | ||
int | flags | |
Event flags. | ||
SceUID | ppid | |
Parent process id. | ||
SceUID | data_0x1C | |
Thread id? | ||
int | rsvd [4] | |
SceUInt64 | time | |
Time of the event occurred. | ||
int | data_0x38 | |
SceSize | item_size | |
Event data size. | ||
union { | ||
SceKernelDebugEventLog1 | type1 | |
SceKernelDebugEventLog2 | type2 | |
SceKernelDebugEventLog3 | type3 | |
}; | ||