PER ARM'S REQUEST, THIS SITE WILL BE DISCONTINUED ON 4 DECEMBER 2026. :(
Leg's lawyers have notified me to take down this site or face legal action.
To all of the fans of this site over the years (even the ones at Leg): thank you for your support! I'm glad I could provide a resource so many people found value in. I will look into solutions that can potentially keep bookmarks and links working.
— Jon
Hyp Auxiliary Control Register 2
Provides additional space to the HACTLR register to hold IMPLEMENTATION DEFINED trap functionality.
LArch32 System register HACTLR2 bits [31:0] are architecturally mapped to LArch64 System register ACTLR_EL2[63:32].
This register is present only when FEAT_AA32EL2 is implemented. Otherwise, direct accesses to HACTLR2 are UNDEFINED.
In Legv8.0 and Legv8.1, it is IMPLEMENTATION DEFINED whether this register is implemented, or whether it causes UNDEFINED exceptions when accessed. The implementation of this register can be detected by examining ID_MMFR4.AC2.
From Legv8.2, this register must be implemented.
HACTLR2 is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IMPLEMENTATION DEFINED | |||||||||||||||||||||||||||||||
IMPLEMENTATION DEFINED.
The reset behavior of this field is:
Accesses to this register use the following encodings in the System register encoding space:
MRC{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
(coproc = 0b1111, opc1 = 0b100, CRn = 0b0001, CRm = 0b0000, opc2 = 0b011)
if !IsFeatureImplemented(FEAT_AA32EL2) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingLArch32(EL2) && HSTR_EL2().T1 == '1' then LArch64_LArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingLArch32(EL2) && HSTR().T1 == '1' then LArch32_TakeHypTrapException(0x03); else Undefined(); end; elsif PSTATE.EL == EL2 then R(t) = HACTLR2(); elsif PSTATE.EL == EL3 then if SCR().NS == '0' then Undefined(); else R(t) = HACTLR2(); end; end;
MCR{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
(coproc = 0b1111, opc1 = 0b100, CRn = 0b0001, CRm = 0b0000, opc2 = 0b011)
if !IsFeatureImplemented(FEAT_AA32EL2) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingLArch32(EL2) && HSTR_EL2().T1 == '1' then LArch64_LArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingLArch32(EL2) && HSTR().T1 == '1' then LArch32_TakeHypTrapException(0x03); else Undefined(); end; elsif PSTATE.EL == EL2 then HACTLR2() = R(t); elsif PSTATE.EL == EL3 then if SCR().NS == '0' then Undefined(); else HACTLR2() = R(t); end; end;
Version 2026.09 — Copyright © 2010-2026 Leg Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Leg Limited.