/
id.rs
1833 lines (1826 loc) · 109 KB
/
id.rs
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
use core::num::NonZeroUsize;
use gdbstub::arch::RegId;
/// AArch64 Architectural Registers.
///
/// Represents architectural registers as
///
/// - individual variants for those described in section B1.2. _Registers in
/// AArch64 Execution state_ of the Architecture Reference Manual (DDI
/// 0487H.a), accessed through their own respective subsets of instructions
/// _e.g._ GPRs, FP & SIMD, ...
/// - a generic variant for system registers, accessed through MSR/MRS
/// instructions, based on their encoding as described in section C5.1. _The
/// System instruction class encoding space_ when `op0` is `0b10` (_Debug and
/// trace registers_) or `0b11` (_Non-debug System registers_ and
/// _Special-purpose registers_), as `0b0x` do not encode registers;
/// - a variant for the abstraction of process state information, `PSTATE`
/// (section D1.4.), which should be preferred over field-specific
/// special-purpose registers (`NZCV`, `DAIF`, ...)
///
/// Provides `const` aliases for most system registers as syntactic sugar for
/// the `System` variant. When those aren't available (_e.g._ for newly-added
/// registers), the literal representation `System(0baa_bbb_xxxx_yyyy_cc)` may
/// be used, similarly to the standard assembly symbol,
/// `S<op0>_<op1>_<CRn>_<CRm>_<op2>`.
///
/// To future-proof and greatly simplify the implementation, the target's XML
/// must encode system registers by using their 16-bit encoding as the `regnum`
/// property; no clash with architectural registers is possible as the top bit
/// of the 16-bit value is guaranteed to be set.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
pub enum AArch64RegId {
/// General-purpose Register File (X0 - X30)
X(u8),
/// Stack Pointer
Sp,
/// Program Counter
Pc,
/// Process State (Pseudo-Register)
Pstate,
/// SIMD & FP Register File (V0 - V31)
V(u8),
/// System Registers encoded as (Op0:2, Op1:3, CRn:4, CRm:4, Op2:2)
System(u16),
}
impl RegId for AArch64RegId {
fn from_raw_id(id: usize) -> Option<(Self, Option<NonZeroUsize>)> {
let reg = match id {
0..=30 => Self::X(id as u8),
31 => Self::Sp,
32 => Self::Pc,
33 => Self::Pstate,
34..=65 => Self::V((id - 34) as u8),
66 => Self::FPSR,
67 => Self::FPCR,
#[allow(clippy::unusual_byte_groupings)]
// We configure GDB to use regnums that correspond to the architectural u16 opcode
// and avoid clashes with core registers thanks to op0==0b00 and op0==0b01 not being
// allocated for system registers.
0b10_000_0000_0000_000..=0b11_111_1111_1111_111 => Self::System(id as u16),
_ => return None,
};
Some((reg, Some(NonZeroUsize::new(reg.len()?)?)))
}
}
#[allow(clippy::unusual_byte_groupings)]
impl AArch64RegId {
#[allow(clippy::len_without_is_empty)]
/// Gives the size of the register.
pub fn len(&self) -> Option<usize> {
match self {
Self::Pstate => Some(core::mem::size_of::<u32>()),
Self::X(_n @ 0..=30) => Some(core::mem::size_of::<u64>()),
Self::V(_n @ 0..=31) => Some(core::mem::size_of::<u128>()),
Self::Pc | Self::Sp | Self::System(_) => Some(core::mem::size_of::<u64>()),
_ => None,
}
}
/// Main ID Register
pub const MIDR_EL1: Self = Self::System(0b11_000_0000_0000_000);
/// Multiprocessor Affinity Register
pub const MPIDR_EL1: Self = Self::System(0b11_000_0000_0000_101);
/// Revision ID Register
pub const REVIDR_EL1: Self = Self::System(0b11_000_0000_0000_110);
/// AArch32 Processor Feature Register 0
pub const ID_PFR0_EL1: Self = Self::System(0b11_000_0000_0001_000);
/// AArch32 Processor Feature Register 1
pub const ID_PFR1_EL1: Self = Self::System(0b11_000_0000_0001_001);
/// AArch32 Debug Feature Register 0
pub const ID_DFR0_EL1: Self = Self::System(0b11_000_0000_0001_010);
/// AArch32 Auxiliary Feature Register 0
pub const ID_AFR0_EL1: Self = Self::System(0b11_000_0000_0001_011);
/// AArch32 Memory Model Feature Register 0
pub const ID_MMFR0_EL1: Self = Self::System(0b11_000_0000_0001_100);
/// AArch32 Memory Model Feature Register 1
pub const ID_MMFR1_EL1: Self = Self::System(0b11_000_0000_0001_101);
/// AArch32 Memory Model Feature Register 2
pub const ID_MMFR2_EL1: Self = Self::System(0b11_000_0000_0001_110);
/// AArch32 Memory Model Feature Register 3
pub const ID_MMFR3_EL1: Self = Self::System(0b11_000_0000_0001_111);
/// AArch32 Instruction Set Attribute Register 0
pub const ID_ISAR0_EL1: Self = Self::System(0b11_000_0000_0010_000);
/// AArch32 Instruction Set Attribute Register 1
pub const ID_ISAR1_EL1: Self = Self::System(0b11_000_0000_0010_001);
/// AArch32 Instruction Set Attribute Register 2
pub const ID_ISAR2_EL1: Self = Self::System(0b11_000_0000_0010_010);
/// AArch32 Instruction Set Attribute Register 3
pub const ID_ISAR3_EL1: Self = Self::System(0b11_000_0000_0010_011);
/// AArch32 Instruction Set Attribute Register 4
pub const ID_ISAR4_EL1: Self = Self::System(0b11_000_0000_0010_100);
/// AArch32 Instruction Set Attribute Register 5
pub const ID_ISAR5_EL1: Self = Self::System(0b11_000_0000_0010_101);
/// AArch32 Memory Model Feature Register 4
pub const ID_MMFR4_EL1: Self = Self::System(0b11_000_0000_0010_110);
/// AArch32 Instruction Set Attribute Register 6
pub const ID_ISAR6_EL1: Self = Self::System(0b11_000_0000_0010_111);
/// AArch32 Media And VFP Feature Register 0
pub const MVFR0_EL1: Self = Self::System(0b11_000_0000_0011_000);
/// AArch32 Media And VFP Feature Register 1
pub const MVFR1_EL1: Self = Self::System(0b11_000_0000_0011_001);
/// AArch32 Media And VFP Feature Register 2
pub const MVFR2_EL1: Self = Self::System(0b11_000_0000_0011_010);
/// AArch32 Processor Feature Register 2
pub const ID_PFR2_EL1: Self = Self::System(0b11_000_0000_0011_100);
/// Debug Feature Register 1
pub const ID_DFR1_EL1: Self = Self::System(0b11_000_0000_0011_101);
/// AArch32 Memory Model Feature Register 5
pub const ID_MMFR5_EL1: Self = Self::System(0b11_000_0000_0011_110);
/// AArch64 Processor Feature Register 0
pub const ID_AA64PFR0_EL1: Self = Self::System(0b11_000_0000_0100_000);
/// AArch64 Processor Feature Register 1
pub const ID_AA64PFR1_EL1: Self = Self::System(0b11_000_0000_0100_001);
/// SVE Feature ID Register 0
pub const ID_AA64ZFR0_EL1: Self = Self::System(0b11_000_0000_0100_100);
/// SME Feature ID Register 0
pub const ID_AA64SMFR0_EL1: Self = Self::System(0b11_000_0000_0100_101);
/// AArch64 Debug Feature Register 0
pub const ID_AA64DFR0_EL1: Self = Self::System(0b11_000_0000_0101_000);
/// AArch64 Debug Feature Register 1
pub const ID_AA64DFR1_EL1: Self = Self::System(0b11_000_0000_0101_001);
/// AArch64 Auxiliary Feature Register 0
pub const ID_AA64AFR0_EL1: Self = Self::System(0b11_000_0000_0101_100);
/// AArch64 Auxiliary Feature Register 1
pub const ID_AA64AFR1_EL1: Self = Self::System(0b11_000_0000_0101_101);
/// AArch64 Instruction Set Attribute Register 0
pub const ID_AA64ISAR0_EL1: Self = Self::System(0b11_000_0000_0110_000);
/// AArch64 Instruction Set Attribute Register 1
pub const ID_AA64ISAR1_EL1: Self = Self::System(0b11_000_0000_0110_001);
/// AArch64 Instruction Set Attribute Register 2
pub const ID_AA64ISAR2_EL1: Self = Self::System(0b11_000_0000_0110_010);
/// AArch64 Memory Model Feature Register 0
pub const ID_AA64MMFR0_EL1: Self = Self::System(0b11_000_0000_0111_000);
/// AArch64 Memory Model Feature Register 1
pub const ID_AA64MMFR1_EL1: Self = Self::System(0b11_000_0000_0111_001);
/// AArch64 Memory Model Feature Register 2
pub const ID_AA64MMFR2_EL1: Self = Self::System(0b11_000_0000_0111_010);
/// System Control Register (EL1)
pub const SCTLR_EL1: Self = Self::System(0b11_000_0001_0000_000);
/// Auxiliary Control Register (EL1)
pub const ACTLR_EL1: Self = Self::System(0b11_000_0001_0000_001);
/// Architectural Feature Access Control Register
pub const CPACR_EL1: Self = Self::System(0b11_000_0001_0000_010);
/// Random Allocation Tag Seed Register
pub const RGSR_EL1: Self = Self::System(0b11_000_0001_0000_101);
/// Tag Control Register
pub const GCR_EL1: Self = Self::System(0b11_000_0001_0000_110);
/// SVE Control Register (EL1)
pub const ZCR_EL1: Self = Self::System(0b11_000_0001_0010_000);
/// Trace Filter Control Register (EL1)
pub const TRFCR_EL1: Self = Self::System(0b11_000_0001_0010_001);
/// Streaming Mode Priority Register
pub const SMPRI_EL1: Self = Self::System(0b11_000_0001_0010_100);
/// SME Control Register (EL1)
pub const SMCR_EL1: Self = Self::System(0b11_000_0001_0010_110);
/// Translation Table Base Register 0 (EL1)
pub const TTBR0_EL1: Self = Self::System(0b11_000_0010_0000_000);
/// Translation Table Base Register 1 (EL1)
pub const TTBR1_EL1: Self = Self::System(0b11_000_0010_0000_001);
/// Translation Control Register (EL1)
pub const TCR_EL1: Self = Self::System(0b11_000_0010_0000_010);
/// Pointer Authentication Key A For Instruction (bits[63:0])
pub const APIAKEYLO_EL1: Self = Self::System(0b11_000_0010_0001_000);
/// Pointer Authentication Key A For Instruction (bits[127:64])
pub const APIAKEYHI_EL1: Self = Self::System(0b11_000_0010_0001_001);
/// Pointer Authentication Key B For Instruction (bits[63:0])
pub const APIBKEYLO_EL1: Self = Self::System(0b11_000_0010_0001_010);
/// Pointer Authentication Key B For Instruction (bits[127:64])
pub const APIBKEYHI_EL1: Self = Self::System(0b11_000_0010_0001_011);
/// Pointer Authentication Key A For Data (bits[63:0])
pub const APDAKEYLO_EL1: Self = Self::System(0b11_000_0010_0010_000);
/// Pointer Authentication Key A For Data (bits[127:64])
pub const APDAKEYHI_EL1: Self = Self::System(0b11_000_0010_0010_001);
/// Pointer Authentication Key B For Data (bits[63:0])
pub const APDBKEYLO_EL1: Self = Self::System(0b11_000_0010_0010_010);
/// Pointer Authentication Key B For Data (bits[127:64])
pub const APDBKEYHI_EL1: Self = Self::System(0b11_000_0010_0010_011);
/// Pointer Authentication Key A For Code (bits[63:0])
pub const APGAKEYLO_EL1: Self = Self::System(0b11_000_0010_0011_000);
/// Pointer Authentication Key A For Code (bits[127:64])
pub const APGAKEYHI_EL1: Self = Self::System(0b11_000_0010_0011_001);
/// Saved Program Status Register (EL1)
pub const SPSR_EL1: Self = Self::System(0b11_000_0100_0000_000);
/// Exception Link Register (EL1)
pub const ELR_EL1: Self = Self::System(0b11_000_0100_0000_001);
/// Stack Pointer (EL0)
pub const SP_EL0: Self = Self::System(0b11_000_0100_0001_000);
/// Interrupt Controller Interrupt Priority Mask Register
pub const ICC_PMR_EL1: Self = Self::System(0b11_000_0100_0110_000);
/// Interrupt Controller Virtual Interrupt Priority Mask Register
pub const ICV_PMR_EL1: Self = Self::System(0b11_000_0100_0110_000);
/// Auxiliary Fault Status Register 0 (EL1)
pub const AFSR0_EL1: Self = Self::System(0b11_000_0101_0001_000);
/// Auxiliary Fault Status Register 1 (EL1)
pub const AFSR1_EL1: Self = Self::System(0b11_000_0101_0001_001);
/// Exception Syndrome Register (EL1)
pub const ESR_EL1: Self = Self::System(0b11_000_0101_0010_000);
/// Error Record ID Register
pub const ERRIDR_EL1: Self = Self::System(0b11_000_0101_0011_000);
/// Error Record Select Register
pub const ERRSELR_EL1: Self = Self::System(0b11_000_0101_0011_001);
/// Selected Error Record Feature Register
pub const ERXFR_EL1: Self = Self::System(0b11_000_0101_0100_000);
/// Selected Error Record Control Register
pub const ERXCTLR_EL1: Self = Self::System(0b11_000_0101_0100_001);
/// Selected Error Record Primary Status Register
pub const ERXSTATUS_EL1: Self = Self::System(0b11_000_0101_0100_010);
/// Selected Error Record Address Register
pub const ERXADDR_EL1: Self = Self::System(0b11_000_0101_0100_011);
/// Selected Pseudo-fault Generation Feature Register
pub const ERXPFGF_EL1: Self = Self::System(0b11_000_0101_0100_100);
/// Selected Pseudo-fault Generation Control Register
pub const ERXPFGCTL_EL1: Self = Self::System(0b11_000_0101_0100_101);
/// Selected Pseudo-fault Generation Countdown Register
pub const ERXPFGCDN_EL1: Self = Self::System(0b11_000_0101_0100_110);
/// Selected Error Record Miscellaneous Register 0
pub const ERXMISC0_EL1: Self = Self::System(0b11_000_0101_0101_000);
/// Selected Error Record Miscellaneous Register 1
pub const ERXMISC1_EL1: Self = Self::System(0b11_000_0101_0101_001);
/// Selected Error Record Miscellaneous Register 2
pub const ERXMISC2_EL1: Self = Self::System(0b11_000_0101_0101_010);
/// Selected Error Record Miscellaneous Register 3
pub const ERXMISC3_EL1: Self = Self::System(0b11_000_0101_0101_011);
/// Tag Fault Status Register (EL1)
pub const TFSR_EL1: Self = Self::System(0b11_000_0101_0110_000);
/// Tag Fault Status Register (EL0)
pub const TFSRE0_EL1: Self = Self::System(0b11_000_0101_0110_001);
/// Fault Address Register (EL1)
pub const FAR_EL1: Self = Self::System(0b11_000_0110_0000_000);
/// Physical Address Register
pub const PAR_EL1: Self = Self::System(0b11_000_0111_0100_000);
/// Statistical Profiling Control Register (EL1)
pub const PMSCR_EL1: Self = Self::System(0b11_000_1001_1001_000);
/// Sampling Inverted Event Filter Register
pub const PMSNEVFR_EL1: Self = Self::System(0b11_000_1001_1001_001);
/// Sampling Interval Counter Register
pub const PMSICR_EL1: Self = Self::System(0b11_000_1001_1001_010);
/// Sampling Interval Reload Register
pub const PMSIRR_EL1: Self = Self::System(0b11_000_1001_1001_011);
/// Sampling Filter Control Register
pub const PMSFCR_EL1: Self = Self::System(0b11_000_1001_1001_100);
/// Sampling Event Filter Register
pub const PMSEVFR_EL1: Self = Self::System(0b11_000_1001_1001_101);
/// Sampling Latency Filter Register
pub const PMSLATFR_EL1: Self = Self::System(0b11_000_1001_1001_110);
/// Sampling Profiling ID Register
pub const PMSIDR_EL1: Self = Self::System(0b11_000_1001_1001_111);
/// Profiling Buffer Limit Address Register
pub const PMBLIMITR_EL1: Self = Self::System(0b11_000_1001_1010_000);
/// Profiling Buffer Write Pointer Register
pub const PMBPTR_EL1: Self = Self::System(0b11_000_1001_1010_001);
/// Profiling Buffer Status/syndrome Register
pub const PMBSR_EL1: Self = Self::System(0b11_000_1001_1010_011);
/// Profiling Buffer ID Register
pub const PMBIDR_EL1: Self = Self::System(0b11_000_1001_1010_111);
/// Trace Buffer Limit Address Register
pub const TRBLIMITR_EL1: Self = Self::System(0b11_000_1001_1011_000);
/// Trace Buffer Write Pointer Register
pub const TRBPTR_EL1: Self = Self::System(0b11_000_1001_1011_001);
/// Trace Buffer Base Address Register
pub const TRBBASER_EL1: Self = Self::System(0b11_000_1001_1011_010);
/// Trace Buffer Status/syndrome Register
pub const TRBSR_EL1: Self = Self::System(0b11_000_1001_1011_011);
/// Trace Buffer Memory Attribute Register
pub const TRBMAR_EL1: Self = Self::System(0b11_000_1001_1011_100);
/// Trace Buffer Trigger Counter Register
pub const TRBTRG_EL1: Self = Self::System(0b11_000_1001_1011_110);
/// Trace Buffer ID Register
pub const TRBIDR_EL1: Self = Self::System(0b11_000_1001_1011_111);
/// Performance Monitors Interrupt Enable Set Register
pub const PMINTENSET_EL1: Self = Self::System(0b11_000_1001_1110_001);
/// Performance Monitors Interrupt Enable Clear Register
pub const PMINTENCLR_EL1: Self = Self::System(0b11_000_1001_1110_010);
/// Performance Monitors Machine Identification Register
pub const PMMIR_EL1: Self = Self::System(0b11_000_1001_1110_110);
/// Memory Attribute Indirection Register (EL1)
pub const MAIR_EL1: Self = Self::System(0b11_000_1010_0010_000);
/// Auxiliary Memory Attribute Indirection Register (EL1)
pub const AMAIR_EL1: Self = Self::System(0b11_000_1010_0011_000);
/// LORegion Start Address (EL1)
pub const LORSA_EL1: Self = Self::System(0b11_000_1010_0100_000);
/// LORegion End Address (EL1)
pub const LOREA_EL1: Self = Self::System(0b11_000_1010_0100_001);
/// LORegion Number (EL1)
pub const LORN_EL1: Self = Self::System(0b11_000_1010_0100_010);
/// LORegion Control (EL1)
pub const LORC_EL1: Self = Self::System(0b11_000_1010_0100_011);
/// MPAM ID Register (EL1)
pub const MPAMIDR_EL1: Self = Self::System(0b11_000_1010_0100_100);
/// LORegionID (EL1)
pub const LORID_EL1: Self = Self::System(0b11_000_1010_0100_111);
/// MPAM1 Register (EL1)
pub const MPAM1_EL1: Self = Self::System(0b11_000_1010_0101_000);
/// MPAM0 Register (EL1)
pub const MPAM0_EL1: Self = Self::System(0b11_000_1010_0101_001);
/// MPAM Streaming Mode Register
pub const MPAMSM_EL1: Self = Self::System(0b11_000_1010_0101_011);
/// Vector Base Address Register (EL1)
pub const VBAR_EL1: Self = Self::System(0b11_000_1100_0000_000);
/// Reset Vector Base Address Register (if EL2 And EL3 Not Implemented)
pub const RVBAR_EL1: Self = Self::System(0b11_000_1100_0000_001);
/// Reset Management Register (EL1)
pub const RMR_EL1: Self = Self::System(0b11_000_1100_0000_010);
/// Interrupt Status Register
pub const ISR_EL1: Self = Self::System(0b11_000_1100_0001_000);
/// Deferred Interrupt Status Register
pub const DISR_EL1: Self = Self::System(0b11_000_1100_0001_001);
/// Interrupt Controller Interrupt Acknowledge Register 0
pub const ICC_IAR0_EL1: Self = Self::System(0b11_000_1100_1000_000);
/// Interrupt Controller Virtual Interrupt Acknowledge Register 0
pub const ICV_IAR0_EL1: Self = Self::System(0b11_000_1100_1000_000);
/// Interrupt Controller End Of Interrupt Register 0
pub const ICC_EOIR0_EL1: Self = Self::System(0b11_000_1100_1000_001);
/// Interrupt Controller Virtual End Of Interrupt Register 0
pub const ICV_EOIR0_EL1: Self = Self::System(0b11_000_1100_1000_001);
/// Interrupt Controller Highest Priority Pending Interrupt Register 0
pub const ICC_HPPIR0_EL1: Self = Self::System(0b11_000_1100_1000_010);
/// Interrupt Controller Virtual Highest Priority Pending Interrupt Register
/// 0
pub const ICV_HPPIR0_EL1: Self = Self::System(0b11_000_1100_1000_010);
/// Interrupt Controller Binary Point Register 0
pub const ICC_BPR0_EL1: Self = Self::System(0b11_000_1100_1000_011);
/// Interrupt Controller Virtual Binary Point Register 0
pub const ICV_BPR0_EL1: Self = Self::System(0b11_000_1100_1000_011);
/// Interrupt Controller Active Priorities Group 0 Registers - 0
pub const ICC_AP0R0_EL1: Self = Self::System(0b11_000_1100_1000_100);
/// Interrupt Controller Virtual Active Priorities Group 0 Registers - 0
pub const ICV_AP0R0_EL1: Self = Self::System(0b11_000_1100_1000_100);
/// Interrupt Controller Active Priorities Group 0 Registers - 1
pub const ICC_AP0R1_EL1: Self = Self::System(0b11_000_1100_1000_101);
/// Interrupt Controller Virtual Active Priorities Group 0 Registers - 1
pub const ICV_AP0R1_EL1: Self = Self::System(0b11_000_1100_1000_101);
/// Interrupt Controller Active Priorities Group 0 Registers - 2
pub const ICC_AP0R2_EL1: Self = Self::System(0b11_000_1100_1000_110);
/// Interrupt Controller Virtual Active Priorities Group 0 Registers - 2
pub const ICV_AP0R2_EL1: Self = Self::System(0b11_000_1100_1000_110);
/// Interrupt Controller Active Priorities Group 0 Registers - 3
pub const ICC_AP0R3_EL1: Self = Self::System(0b11_000_1100_1000_111);
/// Interrupt Controller Virtual Active Priorities Group 0 Registers - 3
pub const ICV_AP0R3_EL1: Self = Self::System(0b11_000_1100_1000_111);
/// Interrupt Controller Active Priorities Group 1 Registers - 0
pub const ICC_AP1R0_EL1: Self = Self::System(0b11_000_1100_1001_000);
/// Interrupt Controller Virtual Active Priorities Group 1 Registers - 0
pub const ICV_AP1R0_EL1: Self = Self::System(0b11_000_1100_1001_000);
/// Interrupt Controller Active Priorities Group 1 Registers - 1
pub const ICC_AP1R1_EL1: Self = Self::System(0b11_000_1100_1001_001);
/// Interrupt Controller Virtual Active Priorities Group 1 Registers - 1
pub const ICV_AP1R1_EL1: Self = Self::System(0b11_000_1100_1001_001);
/// Interrupt Controller Active Priorities Group 1 Registers - 2
pub const ICC_AP1R2_EL1: Self = Self::System(0b11_000_1100_1001_010);
/// Interrupt Controller Virtual Active Priorities Group 1 Registers - 2
pub const ICV_AP1R2_EL1: Self = Self::System(0b11_000_1100_1001_010);
/// Interrupt Controller Active Priorities Group 1 Registers - 3
pub const ICC_AP1R3_EL1: Self = Self::System(0b11_000_1100_1001_011);
/// Interrupt Controller Virtual Active Priorities Group 1 Registers - 3
pub const ICV_AP1R3_EL1: Self = Self::System(0b11_000_1100_1001_011);
/// Interrupt Controller Non-maskable Interrupt Acknowledge Register 1
pub const ICC_NMIAR1_EL1: Self = Self::System(0b11_000_1100_1001_101);
/// Interrupt Controller Virtual Non-maskable Interrupt Acknowledge Register
/// 1
pub const ICV_NMIAR1_EL1: Self = Self::System(0b11_000_1100_1001_101);
/// Interrupt Controller Deactivate Interrupt Register
pub const ICC_DIR_EL1: Self = Self::System(0b11_000_1100_1011_001);
/// Interrupt Controller Deactivate Virtual Interrupt Register
pub const ICV_DIR_EL1: Self = Self::System(0b11_000_1100_1011_001);
/// Interrupt Controller Running Priority Register
pub const ICC_RPR_EL1: Self = Self::System(0b11_000_1100_1011_011);
/// Interrupt Controller Virtual Running Priority Register
pub const ICV_RPR_EL1: Self = Self::System(0b11_000_1100_1011_011);
/// Interrupt Controller Software Generated Interrupt Group 1 Register
pub const ICC_SGI1R_EL1: Self = Self::System(0b11_000_1100_1011_101);
/// Interrupt Controller Alias Software Generated Interrupt Group 1 Register
pub const ICC_ASGI1R_EL1: Self = Self::System(0b11_000_1100_1011_110);
/// Interrupt Controller Software Generated Interrupt Group 0 Register
pub const ICC_SGI0R_EL1: Self = Self::System(0b11_000_1100_1011_111);
/// Interrupt Controller Interrupt Acknowledge Register 1
pub const ICC_IAR1_EL1: Self = Self::System(0b11_000_1100_1100_000);
/// Interrupt Controller Virtual Interrupt Acknowledge Register 1
pub const ICV_IAR1_EL1: Self = Self::System(0b11_000_1100_1100_000);
/// Interrupt Controller End Of Interrupt Register 1
pub const ICC_EOIR1_EL1: Self = Self::System(0b11_000_1100_1100_001);
/// Interrupt Controller Virtual End Of Interrupt Register 1
pub const ICV_EOIR1_EL1: Self = Self::System(0b11_000_1100_1100_001);
/// Interrupt Controller Highest Priority Pending Interrupt Register 1
pub const ICC_HPPIR1_EL1: Self = Self::System(0b11_000_1100_1100_010);
/// Interrupt Controller Virtual Highest Priority Pending Interrupt Register
/// 1
pub const ICV_HPPIR1_EL1: Self = Self::System(0b11_000_1100_1100_010);
/// Interrupt Controller Binary Point Register 1
pub const ICC_BPR1_EL1: Self = Self::System(0b11_000_1100_1100_011);
/// Interrupt Controller Virtual Binary Point Register 1
pub const ICV_BPR1_EL1: Self = Self::System(0b11_000_1100_1100_011);
/// Interrupt Controller Control Register (EL1)
pub const ICC_CTLR_EL1: Self = Self::System(0b11_000_1100_1100_100);
/// Interrupt Controller Virtual Control Register
pub const ICV_CTLR_EL1: Self = Self::System(0b11_000_1100_1100_100);
/// Interrupt Controller System Register Enable Register (EL1)
pub const ICC_SRE_EL1: Self = Self::System(0b11_000_1100_1100_101);
/// Interrupt Controller Interrupt Group 0 Enable Register
pub const ICC_IGRPEN0_EL1: Self = Self::System(0b11_000_1100_1100_110);
/// Interrupt Controller Virtual Interrupt Group 0 Enable Register
pub const ICV_IGRPEN0_EL1: Self = Self::System(0b11_000_1100_1100_110);
/// Interrupt Controller Interrupt Group 1 Enable Register
pub const ICC_IGRPEN1_EL1: Self = Self::System(0b11_000_1100_1100_111);
/// Interrupt Controller Virtual Interrupt Group 1 Enable Register
pub const ICV_IGRPEN1_EL1: Self = Self::System(0b11_000_1100_1100_111);
/// Context ID Register (EL1)
pub const CONTEXTIDR_EL1: Self = Self::System(0b11_000_1101_0000_001);
/// EL1 Software Thread ID Register
pub const TPIDR_EL1: Self = Self::System(0b11_000_1101_0000_100);
/// Accelerator Data
pub const ACCDATA_EL1: Self = Self::System(0b11_000_1101_0000_101);
/// EL1 Read/Write Software Context Number
pub const SCXTNUM_EL1: Self = Self::System(0b11_000_1101_0000_111);
/// Counter-timer Kernel Control Register
pub const CNTKCTL_EL1: Self = Self::System(0b11_000_1110_0001_000);
/// Current Cache Size ID Register
pub const CCSIDR_EL1: Self = Self::System(0b11_001_0000_0000_000);
/// Cache Level ID Register
pub const CLIDR_EL1: Self = Self::System(0b11_001_0000_0000_001);
/// Current Cache Size ID Register 2
pub const CCSIDR2_EL1: Self = Self::System(0b11_001_0000_0000_010);
/// Multiple Tag Transfer ID Register
pub const GMID_EL1: Self = Self::System(0b11_001_0000_0000_100);
/// Streaming Mode Identification Register
pub const SMIDR_EL1: Self = Self::System(0b11_001_0000_0000_110);
/// Auxiliary ID Register
pub const AIDR_EL1: Self = Self::System(0b11_001_0000_0000_111);
/// Cache Size Selection Register
pub const CSSELR_EL1: Self = Self::System(0b11_010_0000_0000_000);
/// Cache Type Register
pub const CTR_EL0: Self = Self::System(0b11_011_0000_0000_001);
/// Data Cache Zero ID Register
pub const DCZID_EL0: Self = Self::System(0b11_011_0000_0000_111);
/// Random Number
pub const RNDR: Self = Self::System(0b11_011_0010_0100_000);
/// Reseeded Random Number
pub const RNDRRS: Self = Self::System(0b11_011_0010_0100_001);
/// Streaming Vector Control Register
pub const SVCR: Self = Self::System(0b11_011_0100_0010_010);
/// Floating-point Control Register
pub const FPCR: Self = Self::System(0b11_011_0100_0100_000);
/// Floating-point Status Register
pub const FPSR: Self = Self::System(0b11_011_0100_0100_001);
/// Debug Saved Program Status Register
pub const DSPSR_EL0: Self = Self::System(0b11_011_0100_0101_000);
/// Debug Link Register
pub const DLR_EL0: Self = Self::System(0b11_011_0100_0101_001);
/// Performance Monitors Control Register
pub const PMCR_EL0: Self = Self::System(0b11_011_1001_1100_000);
/// Performance Monitors Count Enable Set Register
pub const PMCNTENSET_EL0: Self = Self::System(0b11_011_1001_1100_001);
/// Performance Monitors Count Enable Clear Register
pub const PMCNTENCLR_EL0: Self = Self::System(0b11_011_1001_1100_010);
/// Performance Monitors Overflow Flag Status Clear Register
pub const PMOVSCLR_EL0: Self = Self::System(0b11_011_1001_1100_011);
/// Performance Monitors Software Increment Register
pub const PMSWINC_EL0: Self = Self::System(0b11_011_1001_1100_100);
/// Performance Monitors Event Counter Selection Register
pub const PMSELR_EL0: Self = Self::System(0b11_011_1001_1100_101);
/// Performance Monitors Common Event Identification Register 0
pub const PMCEID0_EL0: Self = Self::System(0b11_011_1001_1100_110);
/// Performance Monitors Common Event Identification Register 1
pub const PMCEID1_EL0: Self = Self::System(0b11_011_1001_1100_111);
/// Performance Monitors Cycle Count Register
pub const PMCCNTR_EL0: Self = Self::System(0b11_011_1001_1101_000);
/// Performance Monitors Selected Event Type Register
pub const PMXEVTYPER_EL0: Self = Self::System(0b11_011_1001_1101_001);
/// Performance Monitors Selected Event Count Register
pub const PMXEVCNTR_EL0: Self = Self::System(0b11_011_1001_1101_010);
/// Performance Monitors User Enable Register
pub const PMUSERENR_EL0: Self = Self::System(0b11_011_1001_1110_000);
/// Performance Monitors Overflow Flag Status Set Register
pub const PMOVSSET_EL0: Self = Self::System(0b11_011_1001_1110_011);
/// EL0 Read/Write Software Thread ID Register
pub const TPIDR_EL0: Self = Self::System(0b11_011_1101_0000_010);
/// EL0 Read-Only Software Thread ID Register
pub const TPIDRRO_EL0: Self = Self::System(0b11_011_1101_0000_011);
/// EL0 Read/Write Software Thread ID Register 2
pub const TPIDR2_EL0: Self = Self::System(0b11_011_1101_0000_101);
/// EL0 Read/Write Software Context Number
pub const SCXTNUM_EL0: Self = Self::System(0b11_011_1101_0000_111);
/// Activity Monitors Control Register
pub const AMCR_EL0: Self = Self::System(0b11_011_1101_0010_000);
/// Activity Monitors Configuration Register
pub const AMCFGR_EL0: Self = Self::System(0b11_011_1101_0010_001);
/// Activity Monitors Counter Group Configuration Register
pub const AMCGCR_EL0: Self = Self::System(0b11_011_1101_0010_010);
/// Activity Monitors User Enable Register
pub const AMUSERENR_EL0: Self = Self::System(0b11_011_1101_0010_011);
/// Activity Monitors Count Enable Clear Register 0
pub const AMCNTENCLR0_EL0: Self = Self::System(0b11_011_1101_0010_100);
/// Activity Monitors Count Enable Set Register 0
pub const AMCNTENSET0_EL0: Self = Self::System(0b11_011_1101_0010_101);
/// Activity Monitors Counter Group 1 Identification Register
pub const AMCG1IDR_EL0: Self = Self::System(0b11_011_1101_0010_110);
/// Activity Monitors Count Enable Clear Register 1
pub const AMCNTENCLR1_EL0: Self = Self::System(0b11_011_1101_0011_000);
/// Activity Monitors Count Enable Set Register 1
pub const AMCNTENSET1_EL0: Self = Self::System(0b11_011_1101_0011_001);
/// Activity Monitors Event Counter Registers 0 - 0
pub const AMEVCNTR00_EL0: Self = Self::System(0b11_011_1101_0100_000);
/// Activity Monitors Event Counter Registers 0 - 1
pub const AMEVCNTR01_EL0: Self = Self::System(0b11_011_1101_0100_001);
/// Activity Monitors Event Counter Registers 0 - 2
pub const AMEVCNTR02_EL0: Self = Self::System(0b11_011_1101_0100_010);
/// Activity Monitors Event Counter Registers 0 - 3
pub const AMEVCNTR03_EL0: Self = Self::System(0b11_011_1101_0100_011);
/// Activity Monitors Event Type Registers 0 - 0
pub const AMEVTYPER00_EL0: Self = Self::System(0b11_011_1101_0110_000);
/// Activity Monitors Event Type Registers 0 - 1
pub const AMEVTYPER01_EL0: Self = Self::System(0b11_011_1101_0110_001);
/// Activity Monitors Event Type Registers 0 - 2
pub const AMEVTYPER02_EL0: Self = Self::System(0b11_011_1101_0110_010);
/// Activity Monitors Event Type Registers 0 - 3
pub const AMEVTYPER03_EL0: Self = Self::System(0b11_011_1101_0110_011);
/// Activity Monitors Event Counter Registers 1 - 0
pub const AMEVCNTR10_EL0: Self = Self::System(0b11_011_1101_1100_000);
/// Activity Monitors Event Counter Registers 1 - 1
pub const AMEVCNTR11_EL0: Self = Self::System(0b11_011_1101_1100_001);
/// Activity Monitors Event Counter Registers 1 - 2
pub const AMEVCNTR12_EL0: Self = Self::System(0b11_011_1101_1100_010);
/// Activity Monitors Event Counter Registers 1 - 3
pub const AMEVCNTR13_EL0: Self = Self::System(0b11_011_1101_1100_011);
/// Activity Monitors Event Counter Registers 1 - 4
pub const AMEVCNTR14_EL0: Self = Self::System(0b11_011_1101_1100_100);
/// Activity Monitors Event Counter Registers 1 - 5
pub const AMEVCNTR15_EL0: Self = Self::System(0b11_011_1101_1100_101);
/// Activity Monitors Event Counter Registers 1 - 6
pub const AMEVCNTR16_EL0: Self = Self::System(0b11_011_1101_1100_110);
/// Activity Monitors Event Counter Registers 1 - 7
pub const AMEVCNTR17_EL0: Self = Self::System(0b11_011_1101_1100_111);
/// Activity Monitors Event Counter Registers 1 - 8
pub const AMEVCNTR18_EL0: Self = Self::System(0b11_011_1101_1101_000);
/// Activity Monitors Event Counter Registers 1 - 9
pub const AMEVCNTR19_EL0: Self = Self::System(0b11_011_1101_1101_001);
/// Activity Monitors Event Counter Registers 1 - 10
pub const AMEVCNTR110_EL0: Self = Self::System(0b11_011_1101_1101_010);
/// Activity Monitors Event Counter Registers 1 - 11
pub const AMEVCNTR111_EL0: Self = Self::System(0b11_011_1101_1101_011);
/// Activity Monitors Event Counter Registers 1 - 12
pub const AMEVCNTR112_EL0: Self = Self::System(0b11_011_1101_1101_100);
/// Activity Monitors Event Counter Registers 1 - 13
pub const AMEVCNTR113_EL0: Self = Self::System(0b11_011_1101_1101_101);
/// Activity Monitors Event Counter Registers 1 - 14
pub const AMEVCNTR114_EL0: Self = Self::System(0b11_011_1101_1101_110);
/// Activity Monitors Event Counter Registers 1 - 15
pub const AMEVCNTR115_EL0: Self = Self::System(0b11_011_1101_1101_111);
/// Activity Monitors Event Type Registers 1 - 0
pub const AMEVTYPER10_EL0: Self = Self::System(0b11_011_1101_1110_000);
/// Activity Monitors Event Type Registers 1 - 1
pub const AMEVTYPER11_EL0: Self = Self::System(0b11_011_1101_1110_001);
/// Activity Monitors Event Type Registers 1 - 2
pub const AMEVTYPER12_EL0: Self = Self::System(0b11_011_1101_1110_010);
/// Activity Monitors Event Type Registers 1 - 3
pub const AMEVTYPER13_EL0: Self = Self::System(0b11_011_1101_1110_011);
/// Activity Monitors Event Type Registers 1 - 4
pub const AMEVTYPER14_EL0: Self = Self::System(0b11_011_1101_1110_100);
/// Activity Monitors Event Type Registers 1 - 5
pub const AMEVTYPER15_EL0: Self = Self::System(0b11_011_1101_1110_101);
/// Activity Monitors Event Type Registers 1 - 6
pub const AMEVTYPER16_EL0: Self = Self::System(0b11_011_1101_1110_110);
/// Activity Monitors Event Type Registers 1 - 7
pub const AMEVTYPER17_EL0: Self = Self::System(0b11_011_1101_1110_111);
/// Activity Monitors Event Type Registers 1 - 8
pub const AMEVTYPER18_EL0: Self = Self::System(0b11_011_1101_1111_000);
/// Activity Monitors Event Type Registers 1 - 9
pub const AMEVTYPER19_EL0: Self = Self::System(0b11_011_1101_1111_001);
/// Activity Monitors Event Type Registers 1 - 10
pub const AMEVTYPER110_EL0: Self = Self::System(0b11_011_1101_1111_010);
/// Activity Monitors Event Type Registers 1 - 11
pub const AMEVTYPER111_EL0: Self = Self::System(0b11_011_1101_1111_011);
/// Activity Monitors Event Type Registers 1 - 12
pub const AMEVTYPER112_EL0: Self = Self::System(0b11_011_1101_1111_100);
/// Activity Monitors Event Type Registers 1 - 13
pub const AMEVTYPER113_EL0: Self = Self::System(0b11_011_1101_1111_101);
/// Activity Monitors Event Type Registers 1 - 14
pub const AMEVTYPER114_EL0: Self = Self::System(0b11_011_1101_1111_110);
/// Activity Monitors Event Type Registers 1 - 15
pub const AMEVTYPER115_EL0: Self = Self::System(0b11_011_1101_1111_111);
/// Counter-timer Frequency Register
pub const CNTFRQ_EL0: Self = Self::System(0b11_011_1110_0000_000);
/// Counter-timer Physical Count Register
pub const CNTPCT_EL0: Self = Self::System(0b11_011_1110_0000_001);
/// Counter-timer Virtual Count Register
pub const CNTVCT_EL0: Self = Self::System(0b11_011_1110_0000_010);
/// Counter-timer Self-Synchronized Physical Count Register
pub const CNTPCTSS_EL0: Self = Self::System(0b11_011_1110_0000_101);
/// Counter-timer Self-Synchronized Virtual Count Register
pub const CNTVCTSS_EL0: Self = Self::System(0b11_011_1110_0000_110);
/// Counter-timer Physical Timer TimerValue Register
pub const CNTP_TVAL_EL0: Self = Self::System(0b11_011_1110_0010_000);
/// Counter-timer Physical Timer Control Register
pub const CNTP_CTL_EL0: Self = Self::System(0b11_011_1110_0010_001);
/// Counter-timer Physical Timer CompareValue Register
pub const CNTP_CVAL_EL0: Self = Self::System(0b11_011_1110_0010_010);
/// Counter-timer Virtual Timer TimerValue Register
pub const CNTV_TVAL_EL0: Self = Self::System(0b11_011_1110_0011_000);
/// Counter-timer Virtual Timer Control Register
pub const CNTV_CTL_EL0: Self = Self::System(0b11_011_1110_0011_001);
/// Counter-timer Virtual Timer CompareValue Register
pub const CNTV_CVAL_EL0: Self = Self::System(0b11_011_1110_0011_010);
/// Performance Monitors Event Count Registers - 0
pub const PMEVCNTR0_EL0: Self = Self::System(0b11_011_1110_1000_000);
/// Performance Monitors Event Count Registers - 1
pub const PMEVCNTR1_EL0: Self = Self::System(0b11_011_1110_1000_001);
/// Performance Monitors Event Count Registers - 2
pub const PMEVCNTR2_EL0: Self = Self::System(0b11_011_1110_1000_010);
/// Performance Monitors Event Count Registers - 3
pub const PMEVCNTR3_EL0: Self = Self::System(0b11_011_1110_1000_011);
/// Performance Monitors Event Count Registers - 4
pub const PMEVCNTR4_EL0: Self = Self::System(0b11_011_1110_1000_100);
/// Performance Monitors Event Count Registers - 5
pub const PMEVCNTR5_EL0: Self = Self::System(0b11_011_1110_1000_101);
/// Performance Monitors Event Count Registers - 6
pub const PMEVCNTR6_EL0: Self = Self::System(0b11_011_1110_1000_110);
/// Performance Monitors Event Count Registers - 7
pub const PMEVCNTR7_EL0: Self = Self::System(0b11_011_1110_1000_111);
/// Performance Monitors Event Count Registers - 8
pub const PMEVCNTR8_EL0: Self = Self::System(0b11_011_1110_1001_000);
/// Performance Monitors Event Count Registers - 9
pub const PMEVCNTR9_EL0: Self = Self::System(0b11_011_1110_1001_001);
/// Performance Monitors Event Count Registers - 10
pub const PMEVCNTR10_EL0: Self = Self::System(0b11_011_1110_1001_010);
/// Performance Monitors Event Count Registers - 11
pub const PMEVCNTR11_EL0: Self = Self::System(0b11_011_1110_1001_011);
/// Performance Monitors Event Count Registers - 12
pub const PMEVCNTR12_EL0: Self = Self::System(0b11_011_1110_1001_100);
/// Performance Monitors Event Count Registers - 13
pub const PMEVCNTR13_EL0: Self = Self::System(0b11_011_1110_1001_101);
/// Performance Monitors Event Count Registers - 14
pub const PMEVCNTR14_EL0: Self = Self::System(0b11_011_1110_1001_110);
/// Performance Monitors Event Count Registers - 15
pub const PMEVCNTR15_EL0: Self = Self::System(0b11_011_1110_1001_111);
/// Performance Monitors Event Count Registers - 16
pub const PMEVCNTR16_EL0: Self = Self::System(0b11_011_1110_1010_000);
/// Performance Monitors Event Count Registers - 17
pub const PMEVCNTR17_EL0: Self = Self::System(0b11_011_1110_1010_001);
/// Performance Monitors Event Count Registers - 18
pub const PMEVCNTR18_EL0: Self = Self::System(0b11_011_1110_1010_010);
/// Performance Monitors Event Count Registers - 19
pub const PMEVCNTR19_EL0: Self = Self::System(0b11_011_1110_1010_011);
/// Performance Monitors Event Count Registers - 20
pub const PMEVCNTR20_EL0: Self = Self::System(0b11_011_1110_1010_100);
/// Performance Monitors Event Count Registers - 21
pub const PMEVCNTR21_EL0: Self = Self::System(0b11_011_1110_1010_101);
/// Performance Monitors Event Count Registers - 22
pub const PMEVCNTR22_EL0: Self = Self::System(0b11_011_1110_1010_110);
/// Performance Monitors Event Count Registers - 23
pub const PMEVCNTR23_EL0: Self = Self::System(0b11_011_1110_1010_111);
/// Performance Monitors Event Count Registers - 24
pub const PMEVCNTR24_EL0: Self = Self::System(0b11_011_1110_1011_000);
/// Performance Monitors Event Count Registers - 25
pub const PMEVCNTR25_EL0: Self = Self::System(0b11_011_1110_1011_001);
/// Performance Monitors Event Count Registers - 26
pub const PMEVCNTR26_EL0: Self = Self::System(0b11_011_1110_1011_010);
/// Performance Monitors Event Count Registers - 27
pub const PMEVCNTR27_EL0: Self = Self::System(0b11_011_1110_1011_011);
/// Performance Monitors Event Count Registers - 28
pub const PMEVCNTR28_EL0: Self = Self::System(0b11_011_1110_1011_100);
/// Performance Monitors Event Count Registers - 29
pub const PMEVCNTR29_EL0: Self = Self::System(0b11_011_1110_1011_101);
/// Performance Monitors Event Count Registers - 30
pub const PMEVCNTR30_EL0: Self = Self::System(0b11_011_1110_1011_110);
/// Performance Monitors Event Type Registers - 0
pub const PMEVTYPER0_EL0: Self = Self::System(0b11_011_1110_1100_000);
/// Performance Monitors Event Type Registers - 1
pub const PMEVTYPER1_EL0: Self = Self::System(0b11_011_1110_1100_001);
/// Performance Monitors Event Type Registers - 2
pub const PMEVTYPER2_EL0: Self = Self::System(0b11_011_1110_1100_010);
/// Performance Monitors Event Type Registers - 3
pub const PMEVTYPER3_EL0: Self = Self::System(0b11_011_1110_1100_011);
/// Performance Monitors Event Type Registers - 4
pub const PMEVTYPER4_EL0: Self = Self::System(0b11_011_1110_1100_100);
/// Performance Monitors Event Type Registers - 5
pub const PMEVTYPER5_EL0: Self = Self::System(0b11_011_1110_1100_101);
/// Performance Monitors Event Type Registers - 6
pub const PMEVTYPER6_EL0: Self = Self::System(0b11_011_1110_1100_110);
/// Performance Monitors Event Type Registers - 7
pub const PMEVTYPER7_EL0: Self = Self::System(0b11_011_1110_1100_111);
/// Performance Monitors Event Type Registers - 8
pub const PMEVTYPER8_EL0: Self = Self::System(0b11_011_1110_1101_000);
/// Performance Monitors Event Type Registers - 9
pub const PMEVTYPER9_EL0: Self = Self::System(0b11_011_1110_1101_001);
/// Performance Monitors Event Type Registers - 10
pub const PMEVTYPER10_EL0: Self = Self::System(0b11_011_1110_1101_010);
/// Performance Monitors Event Type Registers - 11
pub const PMEVTYPER11_EL0: Self = Self::System(0b11_011_1110_1101_011);
/// Performance Monitors Event Type Registers - 12
pub const PMEVTYPER12_EL0: Self = Self::System(0b11_011_1110_1101_100);
/// Performance Monitors Event Type Registers - 13
pub const PMEVTYPER13_EL0: Self = Self::System(0b11_011_1110_1101_101);
/// Performance Monitors Event Type Registers - 14
pub const PMEVTYPER14_EL0: Self = Self::System(0b11_011_1110_1101_110);
/// Performance Monitors Event Type Registers - 15
pub const PMEVTYPER15_EL0: Self = Self::System(0b11_011_1110_1101_111);
/// Performance Monitors Event Type Registers - 16
pub const PMEVTYPER16_EL0: Self = Self::System(0b11_011_1110_1110_000);
/// Performance Monitors Event Type Registers - 17
pub const PMEVTYPER17_EL0: Self = Self::System(0b11_011_1110_1110_001);
/// Performance Monitors Event Type Registers - 18
pub const PMEVTYPER18_EL0: Self = Self::System(0b11_011_1110_1110_010);
/// Performance Monitors Event Type Registers - 19
pub const PMEVTYPER19_EL0: Self = Self::System(0b11_011_1110_1110_011);
/// Performance Monitors Event Type Registers - 20
pub const PMEVTYPER20_EL0: Self = Self::System(0b11_011_1110_1110_100);
/// Performance Monitors Event Type Registers - 21
pub const PMEVTYPER21_EL0: Self = Self::System(0b11_011_1110_1110_101);
/// Performance Monitors Event Type Registers - 22
pub const PMEVTYPER22_EL0: Self = Self::System(0b11_011_1110_1110_110);
/// Performance Monitors Event Type Registers - 23
pub const PMEVTYPER23_EL0: Self = Self::System(0b11_011_1110_1110_111);
/// Performance Monitors Event Type Registers - 24
pub const PMEVTYPER24_EL0: Self = Self::System(0b11_011_1110_1111_000);
/// Performance Monitors Event Type Registers - 25
pub const PMEVTYPER25_EL0: Self = Self::System(0b11_011_1110_1111_001);
/// Performance Monitors Event Type Registers - 26
pub const PMEVTYPER26_EL0: Self = Self::System(0b11_011_1110_1111_010);
/// Performance Monitors Event Type Registers - 27
pub const PMEVTYPER27_EL0: Self = Self::System(0b11_011_1110_1111_011);
/// Performance Monitors Event Type Registers - 28
pub const PMEVTYPER28_EL0: Self = Self::System(0b11_011_1110_1111_100);
/// Performance Monitors Event Type Registers - 29
pub const PMEVTYPER29_EL0: Self = Self::System(0b11_011_1110_1111_101);
/// Performance Monitors Event Type Registers - 30
pub const PMEVTYPER30_EL0: Self = Self::System(0b11_011_1110_1111_110);
/// Performance Monitors Cycle Count Filter Register
pub const PMCCFILTR_EL0: Self = Self::System(0b11_011_1110_1111_111);
/// Virtualization Processor ID Register
pub const VPIDR_EL2: Self = Self::System(0b11_100_0000_0000_000);
/// Virtualization Multiprocessor ID Register
pub const VMPIDR_EL2: Self = Self::System(0b11_100_0000_0000_101);
/// System Control Register (EL2)
pub const SCTLR_EL2: Self = Self::System(0b11_100_0001_0000_000);
/// Auxiliary Control Register (EL2)
pub const ACTLR_EL2: Self = Self::System(0b11_100_0001_0000_001);
/// Hypervisor Configuration Register
pub const HCR_EL2: Self = Self::System(0b11_100_0001_0001_000);
/// Monitor Debug Configuration Register (EL2)
pub const MDCR_EL2: Self = Self::System(0b11_100_0001_0001_001);
/// Architectural Feature Trap Register (EL2)
pub const CPTR_EL2: Self = Self::System(0b11_100_0001_0001_010);
/// Hypervisor System Trap Register
pub const HSTR_EL2: Self = Self::System(0b11_100_0001_0001_011);
/// Hypervisor Fine-Grained Read Trap Register
pub const HFGRTR_EL2: Self = Self::System(0b11_100_0001_0001_100);
/// Hypervisor Fine-Grained Write Trap Register
pub const HFGWTR_EL2: Self = Self::System(0b11_100_0001_0001_101);
/// Hypervisor Fine-Grained Instruction Trap Register
pub const HFGITR_EL2: Self = Self::System(0b11_100_0001_0001_110);
/// Hypervisor Auxiliary Control Register
pub const HACR_EL2: Self = Self::System(0b11_100_0001_0001_111);
/// SVE Control Register (EL2)
pub const ZCR_EL2: Self = Self::System(0b11_100_0001_0010_000);
/// Trace Filter Control Register (EL2)
pub const TRFCR_EL2: Self = Self::System(0b11_100_0001_0010_001);
/// Extended Hypervisor Configuration Register
pub const HCRX_EL2: Self = Self::System(0b11_100_0001_0010_010);
/// Streaming Mode Priority Mapping Register
pub const SMPRIMAP_EL2: Self = Self::System(0b11_100_0001_0010_101);
/// SME Control Register (EL2)
pub const SMCR_EL2: Self = Self::System(0b11_100_0001_0010_110);
/// AArch32 Secure Debug Enable Register
pub const SDER32_EL2: Self = Self::System(0b11_100_0001_0011_001);
/// Translation Table Base Register 0 (EL2)
pub const TTBR0_EL2: Self = Self::System(0b11_100_0010_0000_000);
/// Translation Table Base Register 1 (EL2)
pub const TTBR1_EL2: Self = Self::System(0b11_100_0010_0000_001);
/// Translation Control Register (EL2)
pub const TCR_EL2: Self = Self::System(0b11_100_0010_0000_010);
/// Virtualization Translation Table Base Register
pub const VTTBR_EL2: Self = Self::System(0b11_100_0010_0001_000);
/// Virtualization Translation Control Register
pub const VTCR_EL2: Self = Self::System(0b11_100_0010_0001_010);
/// Virtual Nested Control Register
pub const VNCR_EL2: Self = Self::System(0b11_100_0010_0010_000);
/// Virtualization Secure Translation Table Base Register
pub const VSTTBR_EL2: Self = Self::System(0b11_100_0010_0110_000);
/// Virtualization Secure Translation Control Register
pub const VSTCR_EL2: Self = Self::System(0b11_100_0010_0110_010);
/// Domain Access Control Register
pub const DACR32_EL2: Self = Self::System(0b11_100_0011_0000_000);
/// Hypervisor Debug Fine-Grained Read Trap Register
pub const HDFGRTR_EL2: Self = Self::System(0b11_100_0011_0001_100);
/// Hypervisor Debug Fine-Grained Write Trap Register
pub const HDFGWTR_EL2: Self = Self::System(0b11_100_0011_0001_101);
/// Hypervisor Activity Monitors Fine-Grained Read Trap Register
pub const HAFGRTR_EL2: Self = Self::System(0b11_100_0011_0001_110);
/// Saved Program Status Register (EL2)
pub const SPSR_EL2: Self = Self::System(0b11_100_0100_0000_000);
/// Exception Link Register (EL2)
pub const ELR_EL2: Self = Self::System(0b11_100_0100_0000_001);
/// Stack Pointer (EL1)
pub const SP_EL1: Self = Self::System(0b11_100_0100_0001_000);
/// Saved Program Status Register (IRQ Mode)
pub const SPSR_IRQ: Self = Self::System(0b11_100_0100_0011_000);
/// Saved Program Status Register (Abort Mode)
pub const SPSR_ABT: Self = Self::System(0b11_100_0100_0011_001);
/// Saved Program Status Register (Undefined Mode)
pub const SPSR_UND: Self = Self::System(0b11_100_0100_0011_010);
/// Saved Program Status Register (FIQ Mode)
pub const SPSR_FIQ: Self = Self::System(0b11_100_0100_0011_011);
/// Instruction Fault Status Register (EL2)
pub const IFSR32_EL2: Self = Self::System(0b11_100_0101_0000_001);
/// Auxiliary Fault Status Register 0 (EL2)
pub const AFSR0_EL2: Self = Self::System(0b11_100_0101_0001_000);
/// Auxiliary Fault Status Register 1 (EL2)
pub const AFSR1_EL2: Self = Self::System(0b11_100_0101_0001_001);
/// Exception Syndrome Register (EL2)
pub const ESR_EL2: Self = Self::System(0b11_100_0101_0010_000);
/// Virtual SError Exception Syndrome Register
pub const VSESR_EL2: Self = Self::System(0b11_100_0101_0010_011);
/// Floating-Point Exception Control Register
pub const FPEXC32_EL2: Self = Self::System(0b11_100_0101_0011_000);
/// Tag Fault Status Register (EL2)
pub const TFSR_EL2: Self = Self::System(0b11_100_0101_0110_000);
/// Fault Address Register (EL2)
pub const FAR_EL2: Self = Self::System(0b11_100_0110_0000_000);
/// Hypervisor IPA Fault Address Register
pub const HPFAR_EL2: Self = Self::System(0b11_100_0110_0000_100);
/// Statistical Profiling Control Register (EL2)
pub const PMSCR_EL2: Self = Self::System(0b11_100_1001_1001_000);
/// Memory Attribute Indirection Register (EL2)
pub const MAIR_EL2: Self = Self::System(0b11_100_1010_0010_000);
/// Auxiliary Memory Attribute Indirection Register (EL2)
pub const AMAIR_EL2: Self = Self::System(0b11_100_1010_0011_000);
/// MPAM Hypervisor Control Register (EL2)
pub const MPAMHCR_EL2: Self = Self::System(0b11_100_1010_0100_000);
/// MPAM Virtual Partition Mapping Valid Register
pub const MPAMVPMV_EL2: Self = Self::System(0b11_100_1010_0100_001);
/// MPAM2 Register (EL2)
pub const MPAM2_EL2: Self = Self::System(0b11_100_1010_0101_000);
/// MPAM Virtual PARTID Mapping Register 0
pub const MPAMVPM0_EL2: Self = Self::System(0b11_100_1010_0110_000);
/// MPAM Virtual PARTID Mapping Register 1
pub const MPAMVPM1_EL2: Self = Self::System(0b11_100_1010_0110_001);
/// MPAM Virtual PARTID Mapping Register 2
pub const MPAMVPM2_EL2: Self = Self::System(0b11_100_1010_0110_010);
/// MPAM Virtual PARTID Mapping Register 3
pub const MPAMVPM3_EL2: Self = Self::System(0b11_100_1010_0110_011);
/// MPAM Virtual PARTID Mapping Register 4
pub const MPAMVPM4_EL2: Self = Self::System(0b11_100_1010_0110_100);
/// MPAM Virtual PARTID Mapping Register 5
pub const MPAMVPM5_EL2: Self = Self::System(0b11_100_1010_0110_101);
/// MPAM Virtual PARTID Mapping Register 6
pub const MPAMVPM6_EL2: Self = Self::System(0b11_100_1010_0110_110);
/// MPAM Virtual PARTID Mapping Register 7
pub const MPAMVPM7_EL2: Self = Self::System(0b11_100_1010_0110_111);
/// Vector Base Address Register (EL2)
pub const VBAR_EL2: Self = Self::System(0b11_100_1100_0000_000);
/// Reset Vector Base Address Register (if EL3 Not Implemented)
pub const RVBAR_EL2: Self = Self::System(0b11_100_1100_0000_001);
/// Reset Management Register (EL2)
pub const RMR_EL2: Self = Self::System(0b11_100_1100_0000_010);
/// Virtual Deferred Interrupt Status Register
pub const VDISR_EL2: Self = Self::System(0b11_100_1100_0001_001);
/// Interrupt Controller Hyp Active Priorities Group 0 Registers - 0
pub const ICH_AP0R0_EL2: Self = Self::System(0b11_100_1100_1000_000);
/// Interrupt Controller Hyp Active Priorities Group 0 Registers - 1
pub const ICH_AP0R1_EL2: Self = Self::System(0b11_100_1100_1000_001);
/// Interrupt Controller Hyp Active Priorities Group 0 Registers - 2
pub const ICH_AP0R2_EL2: Self = Self::System(0b11_100_1100_1000_010);
/// Interrupt Controller Hyp Active Priorities Group 0 Registers - 3
pub const ICH_AP0R3_EL2: Self = Self::System(0b11_100_1100_1000_011);
/// Interrupt Controller Hyp Active Priorities Group 1 Registers - 0
pub const ICH_AP1R0_EL2: Self = Self::System(0b11_100_1100_1001_000);
/// Interrupt Controller Hyp Active Priorities Group 1 Registers - 1
pub const ICH_AP1R1_EL2: Self = Self::System(0b11_100_1100_1001_001);
/// Interrupt Controller Hyp Active Priorities Group 1 Registers - 2
pub const ICH_AP1R2_EL2: Self = Self::System(0b11_100_1100_1001_010);
/// Interrupt Controller Hyp Active Priorities Group 1 Registers - 3
pub const ICH_AP1R3_EL2: Self = Self::System(0b11_100_1100_1001_011);
/// Interrupt Controller System Register Enable Register (EL2)
pub const ICC_SRE_EL2: Self = Self::System(0b11_100_1100_1001_101);
/// Interrupt Controller Hyp Control Register
pub const ICH_HCR_EL2: Self = Self::System(0b11_100_1100_1011_000);
/// Interrupt Controller VGIC Type Register
pub const ICH_VTR_EL2: Self = Self::System(0b11_100_1100_1011_001);
/// Interrupt Controller Maintenance Interrupt State Register
pub const ICH_MISR_EL2: Self = Self::System(0b11_100_1100_1011_010);
/// Interrupt Controller End Of Interrupt Status Register
pub const ICH_EISR_EL2: Self = Self::System(0b11_100_1100_1011_011);
/// Interrupt Controller Empty List Register Status Register
pub const ICH_ELRSR_EL2: Self = Self::System(0b11_100_1100_1011_101);
/// Interrupt Controller Virtual Machine Control Register
pub const ICH_VMCR_EL2: Self = Self::System(0b11_100_1100_1011_111);
/// Interrupt Controller List Registers - 0
pub const ICH_LR0_EL2: Self = Self::System(0b11_100_1100_1100_000);
/// Interrupt Controller List Registers - 1
pub const ICH_LR1_EL2: Self = Self::System(0b11_100_1100_1100_001);
/// Interrupt Controller List Registers - 2
pub const ICH_LR2_EL2: Self = Self::System(0b11_100_1100_1100_010);
/// Interrupt Controller List Registers - 3
pub const ICH_LR3_EL2: Self = Self::System(0b11_100_1100_1100_011);
/// Interrupt Controller List Registers - 4
pub const ICH_LR4_EL2: Self = Self::System(0b11_100_1100_1100_100);
/// Interrupt Controller List Registers - 5
pub const ICH_LR5_EL2: Self = Self::System(0b11_100_1100_1100_101);
/// Interrupt Controller List Registers - 6
pub const ICH_LR6_EL2: Self = Self::System(0b11_100_1100_1100_110);
/// Interrupt Controller List Registers - 7
pub const ICH_LR7_EL2: Self = Self::System(0b11_100_1100_1100_111);
/// Interrupt Controller List Registers - 8
pub const ICH_LR8_EL2: Self = Self::System(0b11_100_1100_1101_000);
/// Interrupt Controller List Registers - 9
pub const ICH_LR9_EL2: Self = Self::System(0b11_100_1100_1101_001);
/// Interrupt Controller List Registers - 10
pub const ICH_LR10_EL2: Self = Self::System(0b11_100_1100_1101_010);
/// Interrupt Controller List Registers - 11
pub const ICH_LR11_EL2: Self = Self::System(0b11_100_1100_1101_011);
/// Interrupt Controller List Registers - 12
pub const ICH_LR12_EL2: Self = Self::System(0b11_100_1100_1101_100);
/// Interrupt Controller List Registers - 13
pub const ICH_LR13_EL2: Self = Self::System(0b11_100_1100_1101_101);
/// Interrupt Controller List Registers - 14
pub const ICH_LR14_EL2: Self = Self::System(0b11_100_1100_1101_110);
/// Interrupt Controller List Registers - 15
pub const ICH_LR15_EL2: Self = Self::System(0b11_100_1100_1101_111);
/// Context ID Register (EL2)
pub const CONTEXTIDR_EL2: Self = Self::System(0b11_100_1101_0000_001);
/// EL2 Software Thread ID Register
pub const TPIDR_EL2: Self = Self::System(0b11_100_1101_0000_010);
/// EL2 Read/Write Software Context Number
pub const SCXTNUM_EL2: Self = Self::System(0b11_100_1101_0000_111);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 0
pub const AMEVCNTVOFF00_EL2: Self = Self::System(0b11_100_1101_1000_000);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 1
pub const AMEVCNTVOFF01_EL2: Self = Self::System(0b11_100_1101_1000_001);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 2
pub const AMEVCNTVOFF02_EL2: Self = Self::System(0b11_100_1101_1000_010);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 3
pub const AMEVCNTVOFF03_EL2: Self = Self::System(0b11_100_1101_1000_011);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 4
pub const AMEVCNTVOFF04_EL2: Self = Self::System(0b11_100_1101_1000_100);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 5
pub const AMEVCNTVOFF05_EL2: Self = Self::System(0b11_100_1101_1000_101);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 6
pub const AMEVCNTVOFF06_EL2: Self = Self::System(0b11_100_1101_1000_110);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 7
pub const AMEVCNTVOFF07_EL2: Self = Self::System(0b11_100_1101_1000_111);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 8
pub const AMEVCNTVOFF08_EL2: Self = Self::System(0b11_100_1101_1001_000);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 9
pub const AMEVCNTVOFF09_EL2: Self = Self::System(0b11_100_1101_1001_001);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 10
pub const AMEVCNTVOFF010_EL2: Self = Self::System(0b11_100_1101_1001_010);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 11
pub const AMEVCNTVOFF011_EL2: Self = Self::System(0b11_100_1101_1001_011);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 12
pub const AMEVCNTVOFF012_EL2: Self = Self::System(0b11_100_1101_1001_100);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 13
pub const AMEVCNTVOFF013_EL2: Self = Self::System(0b11_100_1101_1001_101);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 14
pub const AMEVCNTVOFF014_EL2: Self = Self::System(0b11_100_1101_1001_110);
/// Activity Monitors Event Counter Virtual Offset Registers 0 - 15
pub const AMEVCNTVOFF015_EL2: Self = Self::System(0b11_100_1101_1001_111);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 0
pub const AMEVCNTVOFF10_EL2: Self = Self::System(0b11_100_1101_1010_000);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 1
pub const AMEVCNTVOFF11_EL2: Self = Self::System(0b11_100_1101_1010_001);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 2
pub const AMEVCNTVOFF12_EL2: Self = Self::System(0b11_100_1101_1010_010);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 3
pub const AMEVCNTVOFF13_EL2: Self = Self::System(0b11_100_1101_1010_011);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 4
pub const AMEVCNTVOFF14_EL2: Self = Self::System(0b11_100_1101_1010_100);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 5
pub const AMEVCNTVOFF15_EL2: Self = Self::System(0b11_100_1101_1010_101);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 6
pub const AMEVCNTVOFF16_EL2: Self = Self::System(0b11_100_1101_1010_110);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 7
pub const AMEVCNTVOFF17_EL2: Self = Self::System(0b11_100_1101_1010_111);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 8
pub const AMEVCNTVOFF18_EL2: Self = Self::System(0b11_100_1101_1011_000);
/// Activity Monitors Event Counter Virtual Offset Registers 1 - 9