SSBM Decomp
Loading...
Searching...
No Matches
m7xx_m603e_reg.h
Go to the documentation of this file.
1#ifndef _METROTRK_M7XX_M603E_REG_H
2#define _METROTRK_M7XX_M603E_REG_H
3
4#include <platform.h>
5
6#include "MetroTRK/ppc_reg.h"
7
8typedef struct Extended1_PPC_6xx_7xx {
9 /* 0x000 */ u32 SR[16];
10 /* 0x040 */ u32 TBL;
11 /* 0x044 */ u32 TBU;
12 /* 0x048 */ u32 HID0;
13 /* 0x04C */ u32 HID1;
14 /* 0x050 */ u32 MSR;
15 /* 0x054 */ u32 PVR;
16 /* 0x058 */ u32 IBAT0U;
17 /* 0x05C */ u32 IBAT0L;
18 /* 0x060 */ u32 IBAT1U;
19 /* 0x064 */ u32 IBAT1L;
20 /* 0x068 */ u32 IBAT2U;
21 /* 0x06C */ u32 IBAT2L;
22 /* 0x070 */ u32 IBAT3U;
23 /* 0x074 */ u32 IBAT3L;
24 /* 0x078 */ u32 DBAT0U;
25 /* 0x07C */ u32 DBAT0L;
26 /* 0x080 */ u32 DBAT1U;
27 /* 0x084 */ u32 DBAT1L;
28 /* 0x088 */ u32 DBAT2U;
29 /* 0x08C */ u32 DBAT2L;
30 /* 0x090 */ u32 DBAT3U;
31 /* 0x094 */ u32 DBAT3L;
32 /* 0x098 */ u32 DMISS;
33 /* 0x09C */ u32 DCMP;
34 /* 0x0A0 */ u32 HASH1;
35 /* 0x0A4 */ u32 HASH2;
36 /* 0x0A8 */ u32 IMISS;
37 /* 0x0AC */ u32 ICMP;
38 /* 0x0B0 */ u32 RPA;
39 /* 0x0B4 */ u32 SDR1;
40 /* 0x0B8 */ u32 DAR;
41 /* 0x0BC */ u32 DSISR;
42 /* 0x0C0 */ u32 SPRG0;
43 /* 0x0C4 */ u32 SPRG1;
44 /* 0x0C8 */ u32 SPRG2;
45 /* 0x0CC */ u32 SPRG3;
46 /* 0x0D0 */ u32 DEC;
47 /* 0x0D4 */ u32 IABR;
48 /* 0x0D8 */ u32 EAR;
49 /* 0x0DC */ u32 DABR;
50 /* 0x0E0 */ u32 PMC1;
51 /* 0x0E4 */ u32 PMC2;
52 /* 0x0E8 */ u32 PMC3;
53 /* 0x0EC */ u32 PMC4;
54 /* 0x0F0 */ u32 SIA;
55 /* 0x0F4 */ u32 MMCR0;
56 /* 0x0F8 */ u32 MMCR1;
57 /* 0x0FC */ u32 THRM1;
58 /* 0x100 */ u32 THRM2;
59 /* 0x104 */ u32 THRM3;
60 /* 0x108 */ u32 ICTC;
61 /* 0x10C */ u32 L2CR;
62 /* 0x110 */ u32 UMMCR2;
63 /* 0x114 */ u32 UBAMR;
64 /* 0x118 */ u32 UMMCR0;
65 /* 0x11C */ u32 UPMC1;
66 /* 0x120 */ u32 UPMC2;
67 /* 0x124 */ u32 USIA;
68 /* 0x128 */ u32 UMMCR1;
69 /* 0x12C */ u32 UPMC3;
70 /* 0x130 */ u32 UPMC4;
71 /* 0x134 */ u32 USDA;
72 /* 0x138 */ u32 MMCR2;
73 /* 0x13C */ u32 BAMR;
74 /* 0x140 */ u32 SDA;
75 /* 0x144 */ u32 MSSCR0;
76 /* 0x148 */ u32 MSSCR1;
77 /* 0x14C */ u32 PIR;
78 /* 0x150 */ u32 exceptionID;
79 /* 0x154 */ u32 GQR[8];
80 /* 0x158 */ u32 HID_G;
81 /* 0x15C */ u32 WPAR;
82 /* 0x160 */ u32 DMA_U;
83 /* 0x164 */ u32 DMA_L;
84} Extended1_PPC_6xx_7xx; // size = 0x168
85
86#define DS_EXTENDED1_MIN_REGISTER_6xx_7xx 0
87#define DS_EXTENDED1_MAX_REGISTER_6xx_7xx \
88 (sizeof(Extended1_PPC_6xx_7xx) / sizeof(Extended1Type) - 1)
89
90typedef struct Extended2_PPC_6xx_7xx {
91 /* 0x00 */ u32 PSR[32][2];
92} Extended2_PPC_6xx_7xx; // size = 0x100
93
101
103
104#endif
ProcessorState_PPC_6xx_7xx ProcessorState_PPC
Definition m7xx_m603e_reg.h:102
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
u32 DefaultType
Definition ppc_reg.h:12
Definition ppc_reg.h:17
Definition m7xx_m603e_reg.h:8
u32 DBAT1L
Definition m7xx_m603e_reg.h:27
u32 exceptionID
Definition m7xx_m603e_reg.h:78
u32 IMISS
Definition m7xx_m603e_reg.h:36
u32 THRM1
Definition m7xx_m603e_reg.h:57
u32 HID_G
Definition m7xx_m603e_reg.h:80
u32 IBAT2U
Definition m7xx_m603e_reg.h:20
u32 IBAT1L
Definition m7xx_m603e_reg.h:19
u32 MMCR0
Definition m7xx_m603e_reg.h:55
u32 MSSCR0
Definition m7xx_m603e_reg.h:75
u32 WPAR
Definition m7xx_m603e_reg.h:81
u32 DBAT0U
Definition m7xx_m603e_reg.h:24
u32 DABR
Definition m7xx_m603e_reg.h:49
u32 DMA_L
Definition m7xx_m603e_reg.h:83
u32 MMCR1
Definition m7xx_m603e_reg.h:56
u32 PVR
Definition m7xx_m603e_reg.h:15
u32 HID1
Definition m7xx_m603e_reg.h:13
u32 SPRG0
Definition m7xx_m603e_reg.h:42
u32 PIR
Definition m7xx_m603e_reg.h:77
u32 PMC4
Definition m7xx_m603e_reg.h:53
u32 PMC1
Definition m7xx_m603e_reg.h:50
u32 USIA
Definition m7xx_m603e_reg.h:67
u32 MMCR2
Definition m7xx_m603e_reg.h:72
u32 DBAT3U
Definition m7xx_m603e_reg.h:30
u32 DAR
Definition m7xx_m603e_reg.h:40
u32 IBAT3L
Definition m7xx_m603e_reg.h:23
u32 IBAT0L
Definition m7xx_m603e_reg.h:17
u32 GQR[8]
Definition m7xx_m603e_reg.h:79
u32 THRM2
Definition m7xx_m603e_reg.h:58
u32 IBAT0U
Definition m7xx_m603e_reg.h:16
u32 UMMCR2
Definition m7xx_m603e_reg.h:62
u32 DMA_U
Definition m7xx_m603e_reg.h:82
u32 MSR
Definition m7xx_m603e_reg.h:14
u32 ICMP
Definition m7xx_m603e_reg.h:37
u32 SIA
Definition m7xx_m603e_reg.h:54
u32 USDA
Definition m7xx_m603e_reg.h:71
u32 UPMC4
Definition m7xx_m603e_reg.h:70
u32 DEC
Definition m7xx_m603e_reg.h:46
u32 DSISR
Definition m7xx_m603e_reg.h:41
u32 SPRG2
Definition m7xx_m603e_reg.h:44
u32 IBAT2L
Definition m7xx_m603e_reg.h:21
u32 DBAT0L
Definition m7xx_m603e_reg.h:25
u32 DBAT1U
Definition m7xx_m603e_reg.h:26
u32 TBL
Definition m7xx_m603e_reg.h:10
u32 UMMCR0
Definition m7xx_m603e_reg.h:64
u32 DCMP
Definition m7xx_m603e_reg.h:33
u32 DBAT2L
Definition m7xx_m603e_reg.h:29
u32 UPMC2
Definition m7xx_m603e_reg.h:66
u32 UPMC3
Definition m7xx_m603e_reg.h:69
u32 IBAT3U
Definition m7xx_m603e_reg.h:22
u32 SPRG3
Definition m7xx_m603e_reg.h:45
u32 DBAT3L
Definition m7xx_m603e_reg.h:31
u32 IABR
Definition m7xx_m603e_reg.h:47
u32 L2CR
Definition m7xx_m603e_reg.h:61
u32 HID0
Definition m7xx_m603e_reg.h:12
u32 PMC3
Definition m7xx_m603e_reg.h:52
u32 HASH2
Definition m7xx_m603e_reg.h:35
u32 SPRG1
Definition m7xx_m603e_reg.h:43
u32 MSSCR1
Definition m7xx_m603e_reg.h:76
u32 HASH1
Definition m7xx_m603e_reg.h:34
u32 TBU
Definition m7xx_m603e_reg.h:11
u32 DBAT2U
Definition m7xx_m603e_reg.h:28
u32 SDR1
Definition m7xx_m603e_reg.h:39
u32 THRM3
Definition m7xx_m603e_reg.h:59
u32 RPA
Definition m7xx_m603e_reg.h:38
u32 ICTC
Definition m7xx_m603e_reg.h:60
u32 PMC2
Definition m7xx_m603e_reg.h:51
u32 DMISS
Definition m7xx_m603e_reg.h:32
u32 UMMCR1
Definition m7xx_m603e_reg.h:68
u32 EAR
Definition m7xx_m603e_reg.h:48
u32 SR[16]
Definition m7xx_m603e_reg.h:9
u32 UPMC1
Definition m7xx_m603e_reg.h:65
u32 UBAMR
Definition m7xx_m603e_reg.h:63
u32 IBAT1U
Definition m7xx_m603e_reg.h:18
u32 SDA
Definition m7xx_m603e_reg.h:74
u32 BAMR
Definition m7xx_m603e_reg.h:73
Definition m7xx_m603e_reg.h:90
u32 PSR[32][2]
Definition m7xx_m603e_reg.h:91
Definition ppc_reg.h:42
Definition m7xx_m603e_reg.h:94
Default_PPC Default
Definition m7xx_m603e_reg.h:95
Float_PPC Float
Definition m7xx_m603e_reg.h:96
Extended2_PPC_6xx_7xx Extended2
Definition m7xx_m603e_reg.h:98
Extended1_PPC_6xx_7xx Extended1
Definition m7xx_m603e_reg.h:97
DefaultType transport_handler_saved_ra
Definition m7xx_m603e_reg.h:99