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
{
19
SceSize
size
;
20
int
data_0x04
;
21
int
data_0x08
;
22
int
data_0x0C
;
23
int
data_0x10
;
24
SceSize
titleid_len
;
25
const
char
*
titleid
;
26
SceSize
app_name_len
;
27
const
char
*
app_name
;
28
int
data_0x24
;
// ex: 100. maybe progress max number.
29
int
data_0x28
;
30
SceUID
crash_thid
;
31
int
data_0x30
;
32
}
SceCoredumpTriggerParam
;
33
VITASDK_BUILD_ASSERT_EQ
(0x34,
SceCoredumpTriggerParam
);
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_ */
build_utils.h
VITASDK_BUILD_ASSERT_EQ
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition
build_utils.h:13
SceCoredumpTriggerParam::data_0x28
int data_0x28
Definition
coredump.h:29
SceCoredumpTriggerParam::size
SceSize size
Definition
coredump.h:19
SceCoredumpTriggerParam::data_0x24
int data_0x24
Definition
coredump.h:28
SceCoredumpTriggerParam::crash_thid
SceUID crash_thid
Definition
coredump.h:30
SceCoredumpTriggerParam::titleid_len
SceSize titleid_len
Definition
coredump.h:24
SceCoredumpTriggerParam::app_name_len
SceSize app_name_len
Definition
coredump.h:26
SceCoredumpTriggerParam::data_0x04
int data_0x04
Definition
coredump.h:20
SceCoredumpTriggerParam::app_name
const char * app_name
Definition
coredump.h:27
SceCoredumpTriggerParam::data_0x08
int data_0x08
Definition
coredump.h:21
SceCoredumpTriggerParam::titleid
const char * titleid
Definition
coredump.h:25
SceKernelCoredumpStateFinishCallback
int(* SceKernelCoredumpStateFinishCallback)(int task_id, SceUID pid, int result, const char *path, SceSize path_len, int unk)
Definition
coredump.h:36
SceCoredumpTriggerParam::data_0x30
int data_0x30
Definition
coredump.h:31
SceCoredumpTriggerParam::data_0x10
int data_0x10
Definition
coredump.h:23
SceKernelCoredumpStateUpdateCallback
int(* SceKernelCoredumpStateUpdateCallback)(int task_id, SceUID pid, int progress)
Definition
coredump.h:35
SceCoredumpTriggerParam::data_0x0C
int data_0x0C
Definition
coredump.h:22
SceCoredumpTriggerParam
Definition
coredump.h:18
pid
SceUID pid
Definition
debug.h:1
SceSize
unsigned int SceSize
Definition
types.h:56
SceUID
int SceUID
UIDs are used to describe many different kernel objects.
Definition
types.h:90
types.h
include
psp2kern
coredump.h
Vita SDK