Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / lib / ras / xml / N2_SocErrorReg.xml
CommitLineData
920dae64
AT
1<!-- interpreter=xml2reg args='-t' -->
2<register_list>
3<register name="SOC_ERROR_REG (SOC_ERROR_REG)">
4 <class_name>N2_SocErrorReg</class_name>
5 <submodule>N2</submodule>
6 <comment>
7Parent for SOC Error Register classes.
8 </comment>
9 <priv>yes</priv>
10 <public>
11 typedef uint64_t (N2_SocErrorReg::*SocErrRegBitGetFn)(void) const;
12 typedef void (N2_SocErrorReg::*SocErrRegBitSetFn)(uint64_t);
13
14 static SocErrRegBitGetFn getSocErrRegMCUECC(uint_t mcuID) {
15 switch (mcuID) {
16 case 0: return getMCU0ECC;
17 case 1: return getMCU1ECC;
18 case 2: return getMCU2ECC;
19 case 3: return getMCU3ECC;
20 default: return 0;
21 }
22 }
23
24 static SocErrRegBitSetFn setSocErrRegMCUECC(uint_t mcuID) {
25 switch (mcuID) {
26 case 0: return setMCU0ECC;
27 case 1: return setMCU1ECC;
28 case 2: return setMCU2ECC;
29 case 3: return setMCU3ECC;
30 default: return 0;
31 }
32 }
33
34 static SocErrRegBitGetFn getSocErrRegMCUFBR(uint_t mcuID) {
35 switch (mcuID) {
36 case 0: return getMCU0FBR;
37 case 1: return getMCU1FBR;
38 case 2: return getMCU2FBR;
39 case 3: return getMCU3FBR;
40 default: return 0;
41 }
42 }
43
44 static SocErrRegBitSetFn setSocErrRegMCUFBR(uint_t mcuID) {
45 switch (mcuID) {
46 case 0: return setMCU0FBR;
47 case 1: return setMCU1FBR;
48 case 2: return setMCU2FBR;
49 case 3: return setMCU3FBR;
50 default: return 0;
51 }
52 }
53
54 </public>
55 <field name="SPARE4">
56 <start_offset>43</start_offset>
57 <end_offset>62</end_offset>
58 <initial_value>0</initial_value>
59 <protection>RO</protection>
60 <field_type>ZERO</field_type>
61 <comment>
62Reserved
63 </comment>
64 </field>
65 <field name="NCUDMUCREDIT">
66 <start_offset>42</start_offset>
67 <end_offset>42</end_offset>
68 <initial_value>0</initial_value>
69 <protection>RW</protection>
70 <field_type>NORMAL</field_type>
71 <comment>
72Set to 1 if an uncorrectable parity error is detectd on the credit
73token bus to NCU for DMU PIO write credits.
74 </comment>
75 <format type="hex"/>
76 </field>
77 <field name="MCU3ECC">
78 <start_offset>41</start_offset>
79 <end_offset>41</end_offset>
80 <initial_value>0</initial_value>
81 <protection>RW</protection>
82 <field_type>NORMAL</field_type>
83 <comment>
84Set to 1 if MCU 3 detected a correctable DRAM ECC error with its DRAM
85Recoverable Link Error count reaching zero.
86 </comment>
87 <format type="hex"/>
88 </field>
89 <field name="MCU3FBR">
90 <start_offset>40</start_offset>
91 <end_offset>40</end_offset>
92 <initial_value>0</initial_value>
93 <protection>RW</protection>
94 <field_type>NORMAL</field_type>
95 <comment>
96Set to 1 if MCU 3 detected a FBDIMM recoverable error with its DRAM
97Recoverable Link Error count reaching zero.
98 </comment>
99 <format type="hex"/>
100 </field>
101 <field name="SPARE3">
102 <start_offset>39</start_offset>
103 <end_offset>39</end_offset>
104 <initial_value>0</initial_value>
105 <protection>RO</protection>
106 <field_type>ZERO</field_type>
107 <comment>
108Reserved
109 </comment>
110 </field>
111 <field name="MCU2ECC">
112 <start_offset>38</start_offset>
113 <end_offset>38</end_offset>
114 <initial_value>0</initial_value>
115 <protection>RW</protection>
116 <field_type>NORMAL</field_type>
117 <comment>
118Set to 1 if MCU 2 detected a correctable DRAM ECC error with its DRAM
119Recoverable Link Error count reaching zero.
120 </comment>
121 <format type="hex"/>
122 </field>
123 <field name="MCU2FBR">
124 <start_offset>37</start_offset>
125 <end_offset>37</end_offset>
126 <initial_value>0</initial_value>
127 <protection>RW</protection>
128 <field_type>NORMAL</field_type>
129 <comment>
130Set to 1 if MCU 2 detected a FBDIMM recoverable error with its DRAM
131Recoverable Link Error count reaching zero.
132 </comment>
133 <format type="hex"/>
134 </field>
135 <field name="SPARE2">
136 <start_offset>36</start_offset>
137 <end_offset>36</end_offset>
138 <initial_value>0</initial_value>
139 <protection>RO</protection>
140 <field_type>ZERO</field_type>
141 <comment>
142Reserved
143 </comment>
144 </field>
145 <field name="MCU1ECC">
146 <start_offset>35</start_offset>
147 <end_offset>35</end_offset>
148 <initial_value>0</initial_value>
149 <protection>RW</protection>
150 <field_type>NORMAL</field_type>
151 <comment>
152Set to 1 if MCU 1 detected a correctable DRAM ECC error with its DRAM
153Recoverable Link Error count reaching zero.
154 </comment>
155 <format type="hex"/>
156 </field>
157 <field name="MCU1FBR">
158 <start_offset>34</start_offset>
159 <end_offset>34</end_offset>
160 <initial_value>0</initial_value>
161 <protection>RW</protection>
162 <field_type>NORMAL</field_type>
163 <comment>
164Set to 1 if MCU 1 detected a FBDIMM recoverable error with its DRAM
165Recoverable Link Error count reaching zero.
166 </comment>
167 <format type="hex"/>
168 </field>
169 <field name="SPARE1">
170 <start_offset>33</start_offset>
171 <end_offset>33</end_offset>
172 <initial_value>0</initial_value>
173 <protection>RO</protection>
174 <field_type>ZERO</field_type>
175 <comment>
176Reserved
177 </comment>
178 </field>
179 <field name="MCU0ECC">
180 <start_offset>32</start_offset>
181 <end_offset>32</end_offset>
182 <initial_value>0</initial_value>
183 <protection>RW</protection>
184 <field_type>NORMAL</field_type>
185 <comment>
186Set to 1 if MCU 0 detected a correctable DRAM ECC error with its DRAM
187Recoverable Link Error count reaching zero.
188 </comment>
189 <format type="hex"/>
190 </field>
191 <field name="MCU0FBR">
192 <start_offset>31</start_offset>
193 <end_offset>31</end_offset>
194 <initial_value>0</initial_value>
195 <protection>RW</protection>
196 <field_type>NORMAL</field_type>
197 <comment>
198Set to 1 if MCU 0 detected a FBDIMM recoverable error with its DRAM
199Recoverable Link Error count reaching zero.
200 </comment>
201 <format type="hex"/>
202 </field>
203 <field name="SPARE0">
204 <start_offset>30</start_offset>
205 <end_offset>30</end_offset>
206 <initial_value>0</initial_value>
207 <protection>RO</protection>
208 <field_type>ZERO</field_type>
209 <comment>
210Reserved
211 </comment>
212 </field>
213<!-- Lots more fields left to the imagination. For details, see -->
214<!-- Table 12-50. These are covered by DUMMY. -->
215 <field name="DUMMY">
216 <start_offset>0</start_offset>
217 <end_offset>29</end_offset>
218 <initial_value>0</initial_value>
219 <protection>RO</protection>
220 <field_type>ZERO</field_type>
221 <comment>
222Reserved
223 </comment>
224 </field>
225</register>
226</register_list>