-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathstage2_constants_pre2.1.h
56 lines (40 loc) · 1.34 KB
/
stage2_constants_pre2.1.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
/* stage2 constants for system versions v1.0, v1.1 and v2.0 */
#if defined(USA)
#define FS_OPEN_FILE 0x00227980
#define GSP_GET_HANDLE 0x0021ACC4
#define GSP_GET_INTERRUPTRECEIVER 0x001C74C8
#define GSP_ENQUEUE_CMD 0x001C616C
#define FS_READ_FILE 0x002C8254
#define GSP_GX_CMD4 0x002EAFD4
#define GSP_FLUSH_DATA_CACHE 0x002E5270
#define SRV_SESSIONHANDLE 0x00370BF8
#define SRV_SEMAPHORE 0x00370BE8
#define THREAD8_EVENT_HANDLE 0x003AC340
#define THREAD8_OBJ 0x003AD690
#elif defined(EUR)
#define FS_OPEN_FILE 0x00227B10
#define GSP_GET_HANDLE 0x0021AE54
#define GSP_GET_INTERRUPTRECEIVER 0x001C7618
#define GSP_ENQUEUE_CMD 0x001C62B8
#define FS_READ_FILE 0x002C838C
#define GSP_GX_CMD4 0x002EB144
#define GSP_FLUSH_DATA_CACHE 0x002E53E0
#define SRV_SESSIONHANDLE 0x00370BF8
#define SRV_SEMAPHORE 0x00370BE8
#define THREAD8_EVENT_HANDLE 0x00370BF8
#define THREAD8_OBJ 0x003AD6B0
#elif defined(JPN)
#define FS_OPEN_FILE 0x00227980
#define GSP_GET_HANDLE 0x0021ACC4
#define GSP_GET_INTERRUPTRECEIVER 0x001C74C8
#define GSP_ENQUEUE_CMD 0x001C616C
#define FS_READ_FILE 0x002C812C
#define GSP_GX_CMD4 0x002EAEAC
#define GSP_FLUSH_DATA_CACHE 0x002E5148
#define SRV_SESSIONHANDLE 0x00370BF8
#define SRV_SEMAPHORE 0x00370BE8
#define THREAD8_EVENT_HANDLE 0x003AC300
#define THREAD8_OBJ 0x003AD650
#else
#error "Region not supported for this system version range"
#endif