REpsp2
PSP2 OS reverse engineering
Loading...
Searching...
No Matches
debug.h
Go to the documentation of this file.
1
#ifndef _SCE_KERNEL_DEBUG_H
2
#define _SCE_KERNEL_DEBUG_H
3
4
#include <
scetypes.h
>
5
17
#if __SCx_KBL_SECURE_BUILD
18
#define SCx_GPO_CODE_FACILITY_KBL 0x80
19
#else
20
#define SCx_GPO_CODE_FACILITY_KBL 0xA0
21
#endif
/* __building_KBL_SECURE */
22
23
#define SCx_GPO_CODE_KBL_00 (SCx_GPO_CODE_FACILITY_KBL | 0x00)
//GPO init OK?
24
#define SCx_GPO_CODE_KBL_01 (SCx_GPO_CODE_FACILITY_KBL | 0x01)
25
#define SCx_GPO_CODE_KBL_02 (SCx_GPO_CODE_FACILITY_KBL | 0x02)
26
#define SCx_GPO_CODE_KBL_03 (SCx_GPO_CODE_FACILITY_KBL | 0x03)
27
#define SCx_GPO_CODE_KBL_04 (SCx_GPO_CODE_FACILITY_KBL | 0x04)
//Pervasive init OK?
28
#define SCx_GPO_CODE_KBL_05 (SCx_GPO_CODE_FACILITY_KBL | 0x05)
29
#define SCx_GPO_CODE_KBL_06 (SCx_GPO_CODE_FACILITY_KBL | 0x06)
30
#define SCx_GPO_CODE_KBL_07 (SCx_GPO_CODE_FACILITY_KBL | 0x07)
31
#define SCx_GPO_CODE_KBL_08 (SCx_GPO_CODE_FACILITY_KBL | 0x08)
32
#define SCx_GPO_CODE_KBL_09 (SCx_GPO_CODE_FACILITY_KBL | 0x09)
33
#define SCx_GPO_CODE_KBL_10 (SCx_GPO_CODE_FACILITY_KBL | 0x0A)
34
#define SCx_GPO_CODE_KBL_11 (SCx_GPO_CODE_FACILITY_KBL | 0x0B)
35
#define SCx_GPO_CODE_KBL_12 (SCx_GPO_CODE_FACILITY_KBL | 0x0C)
36
#define SCx_GPO_CODE_KBL_13 (SCx_GPO_CODE_FACILITY_KBL | 0x0D)
37
#define SCx_GPO_CODE_KBL_14 (SCx_GPO_CODE_FACILITY_KBL | 0x0E)
38
#define SCx_GPO_CODE_KBL_15 (SCx_GPO_CODE_FACILITY_KBL | 0x0F)
39
#define SCx_GPO_CODE_KBL_16 (SCx_GPO_CODE_FACILITY_KBL | 0x10)
40
#define SCx_GPO_CODE_KBL_17 (SCx_GPO_CODE_FACILITY_KBL | 0x11)
41
#define SCx_GPO_CODE_KBL_18 (SCx_GPO_CODE_FACILITY_KBL | 0x12)
42
#define SCx_GPO_CODE_KBL_19 (SCx_GPO_CODE_FACILITY_KBL | 0x13)
43
#define SCx_GPO_CODE_KBL_20 (SCx_GPO_CODE_FACILITY_KBL | 0x14)
44
#define SCx_GPO_CODE_KBL_21 (SCx_GPO_CODE_FACILITY_KBL | 0x15)
45
#define SCx_GPO_CODE_KBL_22 (SCx_GPO_CODE_FACILITY_KBL | 0x16)
46
#define SCx_GPO_CODE_KBL_23 (SCx_GPO_CODE_FACILITY_KBL | 0x17)
47
#define SCx_GPO_CODE_KBL_24 (SCx_GPO_CODE_FACILITY_KBL | 0x18)
48
#define SCx_GPO_CODE_KBL_25 (SCx_GPO_CODE_FACILITY_KBL | 0x19)
49
#define SCx_GPO_CODE_KBL_26 (SCx_GPO_CODE_FACILITY_KBL | 0x1A)
50
#define SCx_GPO_CODE_KBL_27 (SCx_GPO_CODE_FACILITY_KBL | 0x1B)
51
#define SCx_GPO_CODE_KBL_28 (SCx_GPO_CODE_FACILITY_KBL | 0x1C)
52
#define SCx_GPO_CODE_KBL_29 (SCx_GPO_CODE_FACILITY_KBL | 0x1D)
53
#define SCx_GPO_CODE_KBL_30 (SCx_GPO_CODE_FACILITY_KBL | 0x1E)
54
#define SCx_GPO_CODE_KBL_31 (SCx_GPO_CODE_FACILITY_KBL | 0x1F)
55
61
SceInt32
sceKernelSetGPO
(
SceUInt32
uiBits);
62
63
#endif
/* _SCE_KERNEL_DEBUG_H */
sceKernelSetGPO
SceInt32 sceKernelSetGPO(SceUInt32 uiBits)
Set pattern to display on GPO LEDs.
scetypes.h
SceUInt32
unsigned int SceUInt32
Definition
scetypes.h:13
SceInt32
signed int SceInt32
Definition
scetypes.h:12
kernel
include
kernel
debug.h
Generated by
1.16.1