1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef _ASM_CPU_SH7734_H_
23#define _ASM_CPU_SH7734_H_
24
25#define CCR 0xFF00001C
26
27#define CACHE_OC_NUM_WAYS 4
28#define CCR_CACHE_INIT 0x0000090d
29
30
31#define SCIF0_BASE 0xFFE40000
32#define SCIF1_BASE 0xFFE41000
33#define SCIF2_BASE 0xFFE42000
34#define SCIF3_BASE 0xFFE43000
35#define SCIF4_BASE 0xFFE44000
36#define SCIF5_BASE 0xFFE45000
37
38
39#define TMU_BASE 0xFFD80000
40
41
42#define PMMR (0xFFFC0000)
43#define MODESEL0 (0xFFFC004C)
44#define MODESEL2 (MODESEL0 + 0x4)
45#define MODESEL2_INIT (0x00003000)
46
47#define IPSR0 (0xFFFC001C)
48#define IPSR1 (IPSR0 + 0x4)
49#define IPSR2 (IPSR0 + 0x8)
50#define IPSR3 (IPSR0 + 0xC)
51#define IPSR4 (IPSR0 + 0x10)
52#define IPSR5 (IPSR0 + 0x14)
53#define IPSR6 (IPSR0 + 0x18)
54#define IPSR7 (IPSR0 + 0x1C)
55#define IPSR8 (IPSR0 + 0x20)
56#define IPSR9 (IPSR0 + 0x24)
57#define IPSR10 (IPSR0 + 0x28)
58#define IPSR11 (IPSR0 + 0x2C)
59
60#define GPSR0 (0xFFFC0004)
61#define GPSR1 (GPSR0 + 0x4)
62#define GPSR2 (GPSR0 + 0x8)
63#define GPSR3 (GPSR0 + 0xC)
64#define GPSR4 (GPSR0 + 0x10)
65#define GPSR5 (GPSR0 + 0x14)
66
67
68#endif
69