-
Notifications
You must be signed in to change notification settings - Fork 41
/
stage2_constants_post3.0.h
107 lines (76 loc) · 2.55 KB
/
stage2_constants_post3.0.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* stage2 constants for system versions v3.0 and above */
#if defined(USA)
#define FS_OPEN_FILE 0x0022929C
#define GSP_GET_HANDLE 0x0021C960
#define GSP_GET_INTERRUPTRECEIVER 0x001C805C
#define GSP_ENQUEUE_CMD 0x001C7BF4
#define FS_READ_FILE 0x002C4204
#define GSP_GX_CMD4 0x002E9390
#define GSP_FLUSH_DATA_CACHE 0x002E2950
#define SRV_SESSIONHANDLE 0x00374258
#define SRV_SEMAPHORE 0x00374248
#define THREAD8_EVENT_HANDLE 0x003C1308
#define THREAD8_OBJ 0x003C2658
#elif defined(EUR)
#define FS_OPEN_FILE 0x0022929C
#define GSP_GET_HANDLE 0x0021C960
#define GSP_GET_INTERRUPTRECEIVER 0x001C805C
#define GSP_ENQUEUE_CMD 0x001C7BF4
#define FS_READ_FILE 0x002C4374
#define GSP_GX_CMD4 0x002E9500
#define GSP_FLUSH_DATA_CACHE 0x002E2AC0
#define SRV_SESSIONHANDLE 0x00374258
#define SRV_SEMAPHORE 0x00374248
#define THREAD8_EVENT_HANDLE 0x003C1328
#define THREAD8_OBJ 0x003C2678
#elif defined(JPN)
#define FS_OPEN_FILE 0x0022929C
#define GSP_GET_HANDLE 0x0021C960
#define GSP_GET_INTERRUPTRECEIVER 0x001C805C
#define GSP_ENQUEUE_CMD 0x001C7BF4
#define FS_READ_FILE 0x002C40DC
#define GSP_GX_CMD4 0x002E9268
#define GSP_FLUSH_DATA_CACHE 0x002E2828
#define SRV_SESSIONHANDLE 0x00374258
#define SRV_SEMAPHORE 0x00374248
#define THREAD8_EVENT_HANDLE 0x003C12C8
#define THREAD8_OBJ 0x003C2618
#elif defined(KOR)
#define FS_OPEN_FILE 0x0022F094
#define GSP_GET_HANDLE 0x00223890
#define GSP_GET_INTERRUPTRECEIVER 0x00223880
#define GSP_ENQUEUE_CMD 0x0022109C
#define FS_READ_FILE 0x0010C83C
#define GSP_GX_CMD4 0x001318A0
#define GSP_FLUSH_DATA_CACHE 0x0012B728
#define SRV_SESSIONHANDLE 0x0038D1C4
#define SRV_SEMAPHORE 0x0038D1B4
#define THREAD8_EVENT_HANDLE 0x003D3CEC
#define THREAD8_OBJ 0x003D52A0
#elif defined(CHN)
#define FS_OPEN_FILE 0x0022F0D8
#define GSP_GET_HANDLE 0x002238D4
#define GSP_GET_INTERRUPTRECEIVER 0x002238C4
#define GSP_ENQUEUE_CMD 0x002210E0
#define FS_READ_FILE 0x0010C83C
#define GSP_GX_CMD4 0x001318A0
#define GSP_FLUSH_DATA_CACHE 0x0012B728
#define SRV_SESSIONHANDLE 0x0038D1C4
#define SRV_SEMAPHORE 0x0038D1B4
#define THREAD8_EVENT_HANDLE 0x003D3CEC
#define THREAD8_OBJ 0x003D52A0
#elif defined(TWN)
#define FS_OPEN_FILE 0x0022F0C4
#define GSP_GET_HANDLE 0x002238C0
#define GSP_GET_INTERRUPTRECEIVER 0x002238B0
#define GSP_ENQUEUE_CMD 0x002210CC
#define FS_READ_FILE 0x0010C86C
#define GSP_GX_CMD4 0x001318D0
#define GSP_FLUSH_DATA_CACHE 0x0012B758
#define SRV_SESSIONHANDLE 0x003891C4
#define SRV_SEMAPHORE 0x003891B4
#define THREAD8_EVENT_HANDLE 0x003CFD0C
#define THREAD8_OBJ 0x003D12C0
#else
#error "Region not supported for this system version range"
#endif