vitasdk
Documentation of the vitasdk
coredump.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_COREDUMP_H_
8 #define _PSP2KERN_COREDUMP_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2kern/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 typedef struct SceCoredumpTriggerParam {
20  int data_0x04;
21  int data_0x08;
22  int data_0x0C;
23  int data_0x10;
25  const char *titleid;
27  const char *app_name;
28  int data_0x24; // ex: 100. maybe progress max number.
29  int data_0x28;
31  int data_0x30;
34 
35 typedef int (* SceKernelCoredumpStateUpdateCallback)(int task_id, SceUID pid, int progress);
36 typedef int (* SceKernelCoredumpStateFinishCallback)(int task_id, SceUID pid, int result, const char *path, SceSize path_len, int unk);
37 
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* _PSP2KERN_COREDUMP_H_ */
int data_0x28
Definition: coredump.h:29
SceSize size
Definition: coredump.h:19
int data_0x24
Definition: coredump.h:28
SceUID crash_thid
Definition: coredump.h:30
VITASDK_BUILD_ASSERT_EQ(0x34, SceCoredumpTriggerParam)
SceSize titleid_len
Definition: coredump.h:24
SceSize app_name_len
Definition: coredump.h:26
int data_0x04
Definition: coredump.h:20
const char * app_name
Definition: coredump.h:27
int data_0x08
Definition: coredump.h:21
const char * titleid
Definition: coredump.h:25
int(* SceKernelCoredumpStateFinishCallback)(int task_id, SceUID pid, int result, const char *path, SceSize path_len, int unk)
Definition: coredump.h:36
int data_0x30
Definition: coredump.h:31
int data_0x10
Definition: coredump.h:23
int(* SceKernelCoredumpStateUpdateCallback)(int task_id, SceUID pid, int progress)
Definition: coredump.h:35
int data_0x0C
Definition: coredump.h:22
Definition: coredump.h:18
SceUID pid
Definition: debug.h:1
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90