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
pub const MEM_AREA_CACHE_MASK: u32                  = 0x1fffffff;
pub const MEM_AREA_U0_BASE: u32                     = 0x00000000;
pub const MEM_AREA_P0_BASE: u32                     = 0x00000000;
pub const MEM_AREA_P1_BASE: u32                     = 0x80000000;
pub const MEM_AREA_P2_BASE: u32                     = 0xa0000000;
pub const MEM_AREA_P3_BASE: u32                     = 0xc0000000;
pub const MEM_AREA_P4_BASE: u32                     = 0xe0000000;
pub const MEM_AREA_SQ_BASE: u32                     = 0xe0000000;
pub const MEM_AREA_ICACHE_ADDRESS_ARRAY_BASE: u32   = 0xf0000000;
pub const MEM_AREA_ICACHE_DATA_ARRAY_BASE: u32      = 0xf1000000;
pub const MEM_AREA_ITLB_ADDRESS_ARRAY_BASE: u32     = 0xf2000000;
pub const MEM_AREA_ITLB_DATA_ARRAY1_BASE: u32       = 0xf3000000;
pub const MEM_AREA_ITLB_DATA_ARRAY2_BASE: u32       = 0xf3800000;
pub const MEM_AREA_OCACHE_ADDRESS_ARRAY_BASE: u32   = 0xf4000000;
pub const MEM_AREA_OCACHE_DATA_ARRAY_BASE: u32      = 0xf5000000;
pub const MEM_AREA_UTLB_ADDRESS_ARRAY_BASE: u32     = 0xf6000000;
pub const MEM_AREA_UTLB_DATA_ARRAY1_BASE: u32       = 0xf7000000;
pub const MEM_AREA_UTLB_DATA_ARRAY2_BASE: u32       = 0xf7800000;
pub const MEM_AREA_CTRL_REG_BASE: u32               = 0xff000000;
pub const SH4_REG_MMU_PTEH: u32                     = 0xff000000;
pub const SH4_REG_MMU_PTEL: u32                     = 0xff000004;
pub const SH4_REG_MMU_TTB: u32                      = 0xff000008;
pub const SH4_REG_MMU_TEA: u32                      = 0xff00000c;
pub const SH4_REG_MMU_PTEA: u32                     = 0xff000034;
pub const SH4_REG_UBC_BASRA: u32                    = 0xff000014;
pub const SH4_REG_UBC_BASRB: u32                    = 0xff000018;
pub const SH4_REG_UBC_BARA: u32                     = 0xff200000;
pub const SH4_REG_UBC_BAMRA: u32                    = 0xff200004;
pub const SH4_REG_UBC_BBRA: u32                     = 0xff200008;
pub const SH4_REG_UBC_BARB: u32                     = 0xff20000c;
pub const SH4_REG_UBC_BAMRB: u32                    = 0xff200010;
pub const SH4_REG_UBC_BBRB: u32                     = 0xff200014;
pub const SH4_REG_UBC_BDRB: u32                     = 0xff200018;
pub const SH4_REG_UBC_BDMRB: u32                    = 0xff20001c;
pub const SH4_REG_UBC_BRCR: u32                     = 0xff200020;