To access the HCR2:
MRC p15,4,<Rt>,c1,c1,4 ; Read HCR2 into Rt
MCR p15,4,<Rt>,c1,c1,4 ; Write Rt to HCR2
Register access is encoded as follows:
Table B1-47 HCR2 access encoding
coproc opc1 CRn CRm opc2
1111 100 0001 0001 100
B1 AArch32 system registers
B1.62 Hyp Configuration Register 2
100236_0100_00_en Copyright © 2015–2017, 2019 Arm Limited or its affiliates. All rights
reserved.
B1-247
Non-Confidential