Lines Matching full:sys_reg
39 #define sys_reg(op0, op1, crn, crm, op2) \ macro
44 #define sys_insn sys_reg
113 #define SYS_PSTATE_PAN sys_reg(3, 0, 4, 2, 3)
164 * come from here. The header relies on the definition of sys_reg()
173 #define SYS_SVCR_SMSTOP_SM_EL0 sys_reg(0, 3, 4, 2, 3)
174 #define SYS_SVCR_SMSTART_SM_EL0 sys_reg(0, 3, 4, 3, 3)
175 #define SYS_SVCR_SMSTOP_SMZA_EL0 sys_reg(0, 3, 4, 6, 3)
177 #define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4)
178 #define SYS_DBGBCRn_EL1(n) sys_reg(2, 0, 0, n, 5)
179 #define SYS_DBGWVRn_EL1(n) sys_reg(2, 0, 0, n, 6)
180 #define SYS_DBGWCRn_EL1(n) sys_reg(2, 0, 0, n, 7)
181 #define SYS_MDRAR_EL1 sys_reg(2, 0, 1, 0, 0)
183 #define SYS_OSLSR_EL1 sys_reg(2, 0, 1, 1, 4)
189 #define SYS_OSDLR_EL1 sys_reg(2, 0, 1, 3, 4)
190 #define SYS_DBGPRCR_EL1 sys_reg(2, 0, 1, 4, 4)
191 #define SYS_DBGCLAIMSET_EL1 sys_reg(2, 0, 7, 8, 6)
192 #define SYS_DBGCLAIMCLR_EL1 sys_reg(2, 0, 7, 9, 6)
193 #define SYS_DBGAUTHSTATUS_EL1 sys_reg(2, 0, 7, 14, 6)
194 #define SYS_MDCCSR_EL0 sys_reg(2, 3, 0, 1, 0)
195 #define SYS_DBGDTR_EL0 sys_reg(2, 3, 0, 4, 0)
196 #define SYS_DBGDTRRX_EL0 sys_reg(2, 3, 0, 5, 0)
197 #define SYS_DBGDTRTX_EL0 sys_reg(2, 3, 0, 5, 0)
198 #define SYS_DBGVCR32_EL2 sys_reg(2, 4, 0, 7, 0)
200 #define SYS_BRBINF_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 0))
201 #define SYS_BRBINFINJ_EL1 sys_reg(2, 1, 9, 1, 0)
202 #define SYS_BRBSRC_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 1))
203 #define SYS_BRBSRCINJ_EL1 sys_reg(2, 1, 9, 1, 1)
204 #define SYS_BRBTGT_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 2))
205 #define SYS_BRBTGTINJ_EL1 sys_reg(2, 1, 9, 1, 2)
206 #define SYS_BRBTS_EL1 sys_reg(2, 1, 9, 0, 2)
208 #define SYS_BRBCR_EL1 sys_reg(2, 1, 9, 0, 0)
209 #define SYS_BRBFCR_EL1 sys_reg(2, 1, 9, 0, 1)
210 #define SYS_BRBIDR0_EL1 sys_reg(2, 1, 9, 2, 0)
212 #define SYS_TRCITECR_EL1 sys_reg(3, 0, 1, 2, 3)
213 #define SYS_TRCACATR(m) sys_reg(2, 1, 2, ((m & 7) << 1), (2 | (m >> 3)))
214 #define SYS_TRCACVR(m) sys_reg(2, 1, 2, ((m & 7) << 1), (0 | (m >> 3)))
215 #define SYS_TRCAUTHSTATUS sys_reg(2, 1, 7, 14, 6)
216 #define SYS_TRCAUXCTLR sys_reg(2, 1, 0, 6, 0)
217 #define SYS_TRCBBCTLR sys_reg(2, 1, 0, 15, 0)
218 #define SYS_TRCCCCTLR sys_reg(2, 1, 0, 14, 0)
219 #define SYS_TRCCIDCCTLR0 sys_reg(2, 1, 3, 0, 2)
220 #define SYS_TRCCIDCCTLR1 sys_reg(2, 1, 3, 1, 2)
221 #define SYS_TRCCIDCVR(m) sys_reg(2, 1, 3, ((m & 7) << 1), 0)
222 #define SYS_TRCCLAIMCLR sys_reg(2, 1, 7, 9, 6)
223 #define SYS_TRCCLAIMSET sys_reg(2, 1, 7, 8, 6)
224 #define SYS_TRCCNTCTLR(m) sys_reg(2, 1, 0, (4 | (m & 3)), 5)
225 #define SYS_TRCCNTRLDVR(m) sys_reg(2, 1, 0, (0 | (m & 3)), 5)
226 #define SYS_TRCCNTVR(m) sys_reg(2, 1, 0, (8 | (m & 3)), 5)
227 #define SYS_TRCCONFIGR sys_reg(2, 1, 0, 4, 0)
228 #define SYS_TRCDEVARCH sys_reg(2, 1, 7, 15, 6)
229 #define SYS_TRCDEVID sys_reg(2, 1, 7, 2, 7)
230 #define SYS_TRCEVENTCTL0R sys_reg(2, 1, 0, 8, 0)
231 #define SYS_TRCEVENTCTL1R sys_reg(2, 1, 0, 9, 0)
232 #define SYS_TRCEXTINSELR(m) sys_reg(2, 1, 0, (8 | (m & 3)), 4)
233 #define SYS_TRCIDR0 sys_reg(2, 1, 0, 8, 7)
234 #define SYS_TRCIDR10 sys_reg(2, 1, 0, 2, 6)
235 #define SYS_TRCIDR11 sys_reg(2, 1, 0, 3, 6)
236 #define SYS_TRCIDR12 sys_reg(2, 1, 0, 4, 6)
237 #define SYS_TRCIDR13 sys_reg(2, 1, 0, 5, 6)
238 #define SYS_TRCIDR1 sys_reg(2, 1, 0, 9, 7)
239 #define SYS_TRCIDR2 sys_reg(2, 1, 0, 10, 7)
240 #define SYS_TRCIDR3 sys_reg(2, 1, 0, 11, 7)
241 #define SYS_TRCIDR4 sys_reg(2, 1, 0, 12, 7)
242 #define SYS_TRCIDR5 sys_reg(2, 1, 0, 13, 7)
243 #define SYS_TRCIDR6 sys_reg(2, 1, 0, 14, 7)
244 #define SYS_TRCIDR7 sys_reg(2, 1, 0, 15, 7)
245 #define SYS_TRCIDR8 sys_reg(2, 1, 0, 0, 6)
246 #define SYS_TRCIDR9 sys_reg(2, 1, 0, 1, 6)
247 #define SYS_TRCIMSPEC(m) sys_reg(2, 1, 0, (m & 7), 7)
248 #define SYS_TRCITEEDCR sys_reg(2, 1, 0, 2, 1)
249 #define SYS_TRCOSLSR sys_reg(2, 1, 1, 1, 4)
250 #define SYS_TRCPRGCTLR sys_reg(2, 1, 0, 1, 0)
251 #define SYS_TRCQCTLR sys_reg(2, 1, 0, 1, 1)
252 #define SYS_TRCRSCTLR(m) sys_reg(2, 1, 1, (m & 15), (0 | (m >> 4)))
253 #define SYS_TRCRSR sys_reg(2, 1, 0, 10, 0)
254 #define SYS_TRCSEQEVR(m) sys_reg(2, 1, 0, (m & 3), 4)
255 #define SYS_TRCSEQRSTEVR sys_reg(2, 1, 0, 6, 4)
256 #define SYS_TRCSEQSTR sys_reg(2, 1, 0, 7, 4)
257 #define SYS_TRCSSCCR(m) sys_reg(2, 1, 1, (m & 7), 2)
258 #define SYS_TRCSSCSR(m) sys_reg(2, 1, 1, (8 | (m & 7)), 2)
259 #define SYS_TRCSSPCICR(m) sys_reg(2, 1, 1, (m & 7), 3)
260 #define SYS_TRCSTALLCTLR sys_reg(2, 1, 0, 11, 0)
261 #define SYS_TRCSTATR sys_reg(2, 1, 0, 3, 0)
262 #define SYS_TRCSYNCPR sys_reg(2, 1, 0, 13, 0)
263 #define SYS_TRCTRACEIDR sys_reg(2, 1, 0, 0, 1)
264 #define SYS_TRCTSCTLR sys_reg(2, 1, 0, 12, 0)
265 #define SYS_TRCVICTLR sys_reg(2, 1, 0, 0, 2)
266 #define SYS_TRCVIIECTLR sys_reg(2, 1, 0, 1, 2)
267 #define SYS_TRCVIPCSSCTLR sys_reg(2, 1, 0, 3, 2)
268 #define SYS_TRCVISSCTLR sys_reg(2, 1, 0, 2, 2)
269 #define SYS_TRCVMIDCCTLR0 sys_reg(2, 1, 3, 2, 2)
270 #define SYS_TRCVMIDCCTLR1 sys_reg(2, 1, 3, 3, 2)
271 #define SYS_TRCVMIDCVR(m) sys_reg(2, 1, 3, ((m & 7) << 1), 1)
274 #define SYS_TRCOSLAR sys_reg(2, 1, 1, 0, 4)
276 #define SYS_BRBCR_EL2 sys_reg(2, 4, 9, 0, 0)
278 #define SYS_MIDR_EL1 sys_reg(3, 0, 0, 0, 0)
279 #define SYS_MPIDR_EL1 sys_reg(3, 0, 0, 0, 5)
280 #define SYS_REVIDR_EL1 sys_reg(3, 0, 0, 0, 6)
282 #define SYS_ACTLR_EL1 sys_reg(3, 0, 1, 0, 1)
283 #define SYS_RGSR_EL1 sys_reg(3, 0, 1, 0, 5)
284 #define SYS_GCR_EL1 sys_reg(3, 0, 1, 0, 6)
286 #define SYS_TRFCR_EL1 sys_reg(3, 0, 1, 2, 1)
288 #define SYS_TCR_EL1 sys_reg(3, 0, 2, 0, 2)
290 #define SYS_APIAKEYLO_EL1 sys_reg(3, 0, 2, 1, 0)
291 #define SYS_APIAKEYHI_EL1 sys_reg(3, 0, 2, 1, 1)
292 #define SYS_APIBKEYLO_EL1 sys_reg(3, 0, 2, 1, 2)
293 #define SYS_APIBKEYHI_EL1 sys_reg(3, 0, 2, 1, 3)
295 #define SYS_APDAKEYLO_EL1 sys_reg(3, 0, 2, 2, 0)
296 #define SYS_APDAKEYHI_EL1 sys_reg(3, 0, 2, 2, 1)
297 #define SYS_APDBKEYLO_EL1 sys_reg(3, 0, 2, 2, 2)
298 #define SYS_APDBKEYHI_EL1 sys_reg(3, 0, 2, 2, 3)
300 #define SYS_APGAKEYLO_EL1 sys_reg(3, 0, 2, 3, 0)
301 #define SYS_APGAKEYHI_EL1 sys_reg(3, 0, 2, 3, 1)
303 #define SYS_SPSR_EL1 sys_reg(3, 0, 4, 0, 0)
304 #define SYS_ELR_EL1 sys_reg(3, 0, 4, 0, 1)
306 #define SYS_ICC_PMR_EL1 sys_reg(3, 0, 4, 6, 0)
308 #define SYS_AFSR0_EL1 sys_reg(3, 0, 5, 1, 0)
309 #define SYS_AFSR1_EL1 sys_reg(3, 0, 5, 1, 1)
310 #define SYS_ESR_EL1 sys_reg(3, 0, 5, 2, 0)
312 #define SYS_ERRIDR_EL1 sys_reg(3, 0, 5, 3, 0)
313 #define SYS_ERRSELR_EL1 sys_reg(3, 0, 5, 3, 1)
314 #define SYS_ERXFR_EL1 sys_reg(3, 0, 5, 4, 0)
315 #define SYS_ERXCTLR_EL1 sys_reg(3, 0, 5, 4, 1)
316 #define SYS_ERXSTATUS_EL1 sys_reg(3, 0, 5, 4, 2)
317 #define SYS_ERXADDR_EL1 sys_reg(3, 0, 5, 4, 3)
318 #define SYS_ERXPFGF_EL1 sys_reg(3, 0, 5, 4, 4)
319 #define SYS_ERXPFGCTL_EL1 sys_reg(3, 0, 5, 4, 5)
320 #define SYS_ERXPFGCDN_EL1 sys_reg(3, 0, 5, 4, 6)
321 #define SYS_ERXMISC0_EL1 sys_reg(3, 0, 5, 5, 0)
322 #define SYS_ERXMISC1_EL1 sys_reg(3, 0, 5, 5, 1)
323 #define SYS_ERXMISC2_EL1 sys_reg(3, 0, 5, 5, 2)
324 #define SYS_ERXMISC3_EL1 sys_reg(3, 0, 5, 5, 3)
325 #define SYS_TFSR_EL1 sys_reg(3, 0, 5, 6, 0)
326 #define SYS_TFSRE0_EL1 sys_reg(3, 0, 5, 6, 1)
328 #define SYS_PAR_EL1 sys_reg(3, 0, 7, 4, 0)
374 #define SYS_PMINTENSET_EL1 sys_reg(3, 0, 9, 14, 1)
375 #define SYS_PMINTENCLR_EL1 sys_reg(3, 0, 9, 14, 2)
377 #define SYS_PMMIR_EL1 sys_reg(3, 0, 9, 14, 6)
379 #define SYS_MAIR_EL1 sys_reg(3, 0, 10, 2, 0)
380 #define SYS_AMAIR_EL1 sys_reg(3, 0, 10, 3, 0)
382 #define SYS_VBAR_EL1 sys_reg(3, 0, 12, 0, 0)
383 #define SYS_DISR_EL1 sys_reg(3, 0, 12, 1, 1)
385 #define SYS_ICC_IAR0_EL1 sys_reg(3, 0, 12, 8, 0)
386 #define SYS_ICC_EOIR0_EL1 sys_reg(3, 0, 12, 8, 1)
387 #define SYS_ICC_HPPIR0_EL1 sys_reg(3, 0, 12, 8, 2)
388 #define SYS_ICC_BPR0_EL1 sys_reg(3, 0, 12, 8, 3)
389 #define SYS_ICC_AP0Rn_EL1(n) sys_reg(3, 0, 12, 8, 4 | n)
394 #define SYS_ICC_AP1Rn_EL1(n) sys_reg(3, 0, 12, 9, n)
399 #define SYS_ICC_DIR_EL1 sys_reg(3, 0, 12, 11, 1)
400 #define SYS_ICC_RPR_EL1 sys_reg(3, 0, 12, 11, 3)
401 #define SYS_ICC_SGI1R_EL1 sys_reg(3, 0, 12, 11, 5)
402 #define SYS_ICC_ASGI1R_EL1 sys_reg(3, 0, 12, 11, 6)
403 #define SYS_ICC_SGI0R_EL1 sys_reg(3, 0, 12, 11, 7)
404 #define SYS_ICC_IAR1_EL1 sys_reg(3, 0, 12, 12, 0)
405 #define SYS_ICC_EOIR1_EL1 sys_reg(3, 0, 12, 12, 1)
406 #define SYS_ICC_HPPIR1_EL1 sys_reg(3, 0, 12, 12, 2)
407 #define SYS_ICC_BPR1_EL1 sys_reg(3, 0, 12, 12, 3)
408 #define SYS_ICC_CTLR_EL1 sys_reg(3, 0, 12, 12, 4)
409 #define SYS_ICC_SRE_EL1 sys_reg(3, 0, 12, 12, 5)
410 #define SYS_ICC_IGRPEN0_EL1 sys_reg(3, 0, 12, 12, 6)
411 #define SYS_ICC_IGRPEN1_EL1 sys_reg(3, 0, 12, 12, 7)
413 #define SYS_ACCDATA_EL1 sys_reg(3, 0, 13, 0, 5)
415 #define SYS_CNTKCTL_EL1 sys_reg(3, 0, 14, 1, 0)
417 #define SYS_AIDR_EL1 sys_reg(3, 1, 0, 0, 7)
419 #define SYS_RNDR_EL0 sys_reg(3, 3, 2, 4, 0)
420 #define SYS_RNDRRS_EL0 sys_reg(3, 3, 2, 4, 1)
422 #define SYS_PMCR_EL0 sys_reg(3, 3, 9, 12, 0)
423 #define SYS_PMCNTENSET_EL0 sys_reg(3, 3, 9, 12, 1)
424 #define SYS_PMCNTENCLR_EL0 sys_reg(3, 3, 9, 12, 2)
425 #define SYS_PMOVSCLR_EL0 sys_reg(3, 3, 9, 12, 3)
426 #define SYS_PMSWINC_EL0 sys_reg(3, 3, 9, 12, 4)
427 #define SYS_PMCEID0_EL0 sys_reg(3, 3, 9, 12, 6)
428 #define SYS_PMCEID1_EL0 sys_reg(3, 3, 9, 12, 7)
429 #define SYS_PMCCNTR_EL0 sys_reg(3, 3, 9, 13, 0)
430 #define SYS_PMXEVTYPER_EL0 sys_reg(3, 3, 9, 13, 1)
431 #define SYS_PMXEVCNTR_EL0 sys_reg(3, 3, 9, 13, 2)
432 #define SYS_PMUSERENR_EL0 sys_reg(3, 3, 9, 14, 0)
433 #define SYS_PMOVSSET_EL0 sys_reg(3, 3, 9, 14, 3)
435 #define SYS_TPIDR_EL0 sys_reg(3, 3, 13, 0, 2)
436 #define SYS_TPIDRRO_EL0 sys_reg(3, 3, 13, 0, 3)
437 #define SYS_TPIDR2_EL0 sys_reg(3, 3, 13, 0, 5)
439 #define SYS_SCXTNUM_EL0 sys_reg(3, 3, 13, 0, 7)
442 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2))
477 #define SYS_CNTFRQ_EL0 sys_reg(3, 3, 14, 0, 0)
479 #define SYS_CNTPCT_EL0 sys_reg(3, 3, 14, 0, 1)
480 #define SYS_CNTPCTSS_EL0 sys_reg(3, 3, 14, 0, 5)
481 #define SYS_CNTVCTSS_EL0 sys_reg(3, 3, 14, 0, 6)
483 #define SYS_CNTP_TVAL_EL0 sys_reg(3, 3, 14, 2, 0)
484 #define SYS_CNTP_CTL_EL0 sys_reg(3, 3, 14, 2, 1)
485 #define SYS_CNTP_CVAL_EL0 sys_reg(3, 3, 14, 2, 2)
487 #define SYS_CNTV_CTL_EL0 sys_reg(3, 3, 14, 3, 1)
488 #define SYS_CNTV_CVAL_EL0 sys_reg(3, 3, 14, 3, 2)
490 #define SYS_AARCH32_CNTP_TVAL sys_reg(0, 0, 14, 2, 0)
491 #define SYS_AARCH32_CNTP_CTL sys_reg(0, 0, 14, 2, 1)
492 #define SYS_AARCH32_CNTPCT sys_reg(0, 0, 0, 14, 0)
493 #define SYS_AARCH32_CNTP_CVAL sys_reg(0, 2, 0, 14, 0)
494 #define SYS_AARCH32_CNTPCTSS sys_reg(0, 8, 0, 14, 0)
498 #define SYS_PMEVCNTRn_EL0(n) sys_reg(3, 3, 14, __CNTR_CRm(n), __PMEV_op2(n))
500 #define SYS_PMEVTYPERn_EL0(n) sys_reg(3, 3, 14, __TYPER_CRm(n), __PMEV_op2(n))
502 #define SYS_PMCCFILTR_EL0 sys_reg(3, 3, 14, 15, 7)
504 #define SYS_VPIDR_EL2 sys_reg(3, 4, 0, 0, 0)
505 #define SYS_VMPIDR_EL2 sys_reg(3, 4, 0, 0, 5)
507 #define SYS_SCTLR_EL2 sys_reg(3, 4, 1, 0, 0)
508 #define SYS_ACTLR_EL2 sys_reg(3, 4, 1, 0, 1)
509 #define SYS_SCTLR2_EL2 sys_reg(3, 4, 1, 0, 3)
510 #define SYS_HCR_EL2 sys_reg(3, 4, 1, 1, 0)
511 #define SYS_MDCR_EL2 sys_reg(3, 4, 1, 1, 1)
512 #define SYS_CPTR_EL2 sys_reg(3, 4, 1, 1, 2)
513 #define SYS_HSTR_EL2 sys_reg(3, 4, 1, 1, 3)
514 #define SYS_HACR_EL2 sys_reg(3, 4, 1, 1, 7)
516 #define SYS_TTBR0_EL2 sys_reg(3, 4, 2, 0, 0)
517 #define SYS_TTBR1_EL2 sys_reg(3, 4, 2, 0, 1)
518 #define SYS_TCR_EL2 sys_reg(3, 4, 2, 0, 2)
519 #define SYS_VTTBR_EL2 sys_reg(3, 4, 2, 1, 0)
520 #define SYS_VTCR_EL2 sys_reg(3, 4, 2, 1, 2)
522 #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1)
523 #define SYS_VNCR_EL2 sys_reg(3, 4, 2, 2, 0)
524 #define SYS_HAFGRTR_EL2 sys_reg(3, 4, 3, 1, 6)
525 #define SYS_SPSR_EL2 sys_reg(3, 4, 4, 0, 0)
526 #define SYS_ELR_EL2 sys_reg(3, 4, 4, 0, 1)
527 #define SYS_SP_EL1 sys_reg(3, 4, 4, 1, 0)
528 #define SYS_SPSR_irq sys_reg(3, 4, 4, 3, 0)
529 #define SYS_SPSR_abt sys_reg(3, 4, 4, 3, 1)
530 #define SYS_SPSR_und sys_reg(3, 4, 4, 3, 2)
531 #define SYS_SPSR_fiq sys_reg(3, 4, 4, 3, 3)
532 #define SYS_IFSR32_EL2 sys_reg(3, 4, 5, 0, 1)
533 #define SYS_AFSR0_EL2 sys_reg(3, 4, 5, 1, 0)
534 #define SYS_AFSR1_EL2 sys_reg(3, 4, 5, 1, 1)
535 #define SYS_ESR_EL2 sys_reg(3, 4, 5, 2, 0)
536 #define SYS_VSESR_EL2 sys_reg(3, 4, 5, 2, 3)
537 #define SYS_FPEXC32_EL2 sys_reg(3, 4, 5, 3, 0)
538 #define SYS_TFSR_EL2 sys_reg(3, 4, 5, 6, 0)
540 #define SYS_FAR_EL2 sys_reg(3, 4, 6, 0, 0)
541 #define SYS_HPFAR_EL2 sys_reg(3, 4, 6, 0, 4)
543 #define SYS_MAIR_EL2 sys_reg(3, 4, 10, 2, 0)
544 #define SYS_AMAIR_EL2 sys_reg(3, 4, 10, 3, 0)
545 #define SYS_MPAMHCR_EL2 sys_reg(3, 4, 10, 4, 0)
546 #define SYS_MPAMVPMV_EL2 sys_reg(3, 4, 10, 4, 1)
547 #define SYS_MPAM2_EL2 sys_reg(3, 4, 10, 5, 0)
548 #define __SYS__MPAMVPMx_EL2(x) sys_reg(3, 4, 10, 6, x)
558 #define SYS_VBAR_EL2 sys_reg(3, 4, 12, 0, 0)
559 #define SYS_RVBAR_EL2 sys_reg(3, 4, 12, 0, 1)
560 #define SYS_RMR_EL2 sys_reg(3, 4, 12, 0, 2)
561 #define SYS_VDISR_EL2 sys_reg(3, 4, 12, 1, 1)
562 #define __SYS__AP0Rx_EL2(x) sys_reg(3, 4, 12, 8, x)
568 #define __SYS__AP1Rx_EL2(x) sys_reg(3, 4, 12, 9, x)
574 #define SYS_ICH_VSEIR_EL2 sys_reg(3, 4, 12, 9, 4)
575 #define SYS_ICC_SRE_EL2 sys_reg(3, 4, 12, 9, 5)
576 #define SYS_ICH_HCR_EL2 sys_reg(3, 4, 12, 11, 0)
577 #define SYS_ICH_VTR_EL2 sys_reg(3, 4, 12, 11, 1)
578 #define SYS_ICH_MISR_EL2 sys_reg(3, 4, 12, 11, 2)
579 #define SYS_ICH_EISR_EL2 sys_reg(3, 4, 12, 11, 3)
580 #define SYS_ICH_ELRSR_EL2 sys_reg(3, 4, 12, 11, 5)
581 #define SYS_ICH_VMCR_EL2 sys_reg(3, 4, 12, 11, 7)
583 #define __SYS__LR0_EL2(x) sys_reg(3, 4, 12, 12, x)
593 #define __SYS__LR8_EL2(x) sys_reg(3, 4, 12, 13, x)
603 #define SYS_CONTEXTIDR_EL2 sys_reg(3, 4, 13, 0, 1)
604 #define SYS_TPIDR_EL2 sys_reg(3, 4, 13, 0, 2)
605 #define SYS_SCXTNUM_EL2 sys_reg(3, 4, 13, 0, 7)
609 #define __SYS__AMEVCNTVOFF0n_EL2(m) sys_reg(3, 4, 13, __AMEV_CRm(0x8, m), __AMEV_op2(m))
611 #define __SYS__AMEVCNTVOFF1n_EL2(m) sys_reg(3, 4, 13, __AMEV_CRm(0xA, m), __AMEV_op2(m))
614 #define SYS_CNTVOFF_EL2 sys_reg(3, 4, 14, 0, 3)
615 #define SYS_CNTHCTL_EL2 sys_reg(3, 4, 14, 1, 0)
616 #define SYS_CNTHP_TVAL_EL2 sys_reg(3, 4, 14, 2, 0)
617 #define SYS_CNTHP_CTL_EL2 sys_reg(3, 4, 14, 2, 1)
618 #define SYS_CNTHP_CVAL_EL2 sys_reg(3, 4, 14, 2, 2)
619 #define SYS_CNTHV_TVAL_EL2 sys_reg(3, 4, 14, 3, 0)
620 #define SYS_CNTHV_CTL_EL2 sys_reg(3, 4, 14, 3, 1)
621 #define SYS_CNTHV_CVAL_EL2 sys_reg(3, 4, 14, 3, 2)
624 #define SYS_BRBCR_EL12 sys_reg(2, 5, 9, 0, 0)
625 #define SYS_SCTLR_EL12 sys_reg(3, 5, 1, 0, 0)
626 #define SYS_CPACR_EL12 sys_reg(3, 5, 1, 0, 2)
627 #define SYS_SCTLR2_EL12 sys_reg(3, 5, 1, 0, 3)
628 #define SYS_ZCR_EL12 sys_reg(3, 5, 1, 2, 0)
629 #define SYS_TRFCR_EL12 sys_reg(3, 5, 1, 2, 1)
630 #define SYS_SMCR_EL12 sys_reg(3, 5, 1, 2, 6)
631 #define SYS_TTBR0_EL12 sys_reg(3, 5, 2, 0, 0)
632 #define SYS_TTBR1_EL12 sys_reg(3, 5, 2, 0, 1)
633 #define SYS_TCR_EL12 sys_reg(3, 5, 2, 0, 2)
634 #define SYS_TCR2_EL12 sys_reg(3, 5, 2, 0, 3)
635 #define SYS_SPSR_EL12 sys_reg(3, 5, 4, 0, 0)
636 #define SYS_ELR_EL12 sys_reg(3, 5, 4, 0, 1)
637 #define SYS_AFSR0_EL12 sys_reg(3, 5, 5, 1, 0)
638 #define SYS_AFSR1_EL12 sys_reg(3, 5, 5, 1, 1)
639 #define SYS_ESR_EL12 sys_reg(3, 5, 5, 2, 0)
640 #define SYS_TFSR_EL12 sys_reg(3, 5, 5, 6, 0)
641 #define SYS_FAR_EL12 sys_reg(3, 5, 6, 0, 0)
642 #define SYS_PMSCR_EL12 sys_reg(3, 5, 9, 9, 0)
643 #define SYS_MAIR_EL12 sys_reg(3, 5, 10, 2, 0)
644 #define SYS_AMAIR_EL12 sys_reg(3, 5, 10, 3, 0)
645 #define SYS_VBAR_EL12 sys_reg(3, 5, 12, 0, 0)
646 #define SYS_CONTEXTIDR_EL12 sys_reg(3, 5, 13, 0, 1)
647 #define SYS_SCXTNUM_EL12 sys_reg(3, 5, 13, 0, 7)
648 #define SYS_CNTKCTL_EL12 sys_reg(3, 5, 14, 1, 0)
649 #define SYS_CNTP_TVAL_EL02 sys_reg(3, 5, 14, 2, 0)
650 #define SYS_CNTP_CTL_EL02 sys_reg(3, 5, 14, 2, 1)
651 #define SYS_CNTP_CVAL_EL02 sys_reg(3, 5, 14, 2, 2)
652 #define SYS_CNTV_TVAL_EL02 sys_reg(3, 5, 14, 3, 0)
653 #define SYS_CNTV_CTL_EL02 sys_reg(3, 5, 14, 3, 1)
654 #define SYS_CNTV_CVAL_EL02 sys_reg(3, 5, 14, 3, 2)
656 #define SYS_SP_EL2 sys_reg(3, 6, 4, 1, 0)