SCTLRMASK_EL2
System Control Masking Register (EL2)
Mask register to prevent updates of fields in SCTLR_EL2 on writes.
Configuration
This register is present only when FEAT_SRMASK is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to SCTLRMASK_EL2 are UNDEFINED.
If EL2 is not implemented, this register is RES0 from EL3.
This register has no effect if EL2 is not enabled in the current Security state.
Attributes
SCTLRMASK_EL2 is a 64-bit register.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
| TIDCP | SPINTMASK | NMI | EnTP2 | TCSO | TCSO0 | EPAN | EnALS | EnAS0 | EnASR | RES0 | TWEDEL | TWEDEn | DSSBS | ATA | ATA0 | RES0 | TCF | RES0 | TCF0 | ITFSB | BT | BT0 | EnFPM | MSCEn | CMOW | ||||||
| EnIA | EnIB | LSMAOE | nTLSMD | EnDA | UCI | EE | E0E | SPAN | EIS | IESB | TSCXT | WXN | nTWE | RES0 | nTWI | UCT | DZE | EnDB | I | EOS | EnRCTX | RES0 | SED | ITD | nAA | CP15BEN | SA0 | SA | C | A | M |
TIDCP, bit [63] when FEAT_TIDCP1 is implemented:
Mask bit for TIDCP.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SPINTMASK, bit [62] when FEAT_NMI is implemented:
Mask bit for SPINTMASK.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
NMI, bit [61] when FEAT_NMI is implemented:
Mask bit for NMI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnTP2, bit [60] when FEAT_SME is implemented:
Mask bit for EnTP2.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TCSO, bit [59] when FEAT_MTE_STORE_ONLY is implemented:
Mask bit for TCSO.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TCSO0, bit [58] when FEAT_MTE_STORE_ONLY is implemented:
Mask bit for TCSO0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EPAN, bit [57] when FEAT_PAN3 is implemented:
Mask bit for EPAN.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnALS, bit [56] when FEAT_LS64 is implemented:
Mask bit for EnALS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnAS0, bit [55] when FEAT_LS64_ACCDATA is implemented:
Mask bit for EnAS0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnASR, bit [54] when FEAT_LS64_V is implemented:
Mask bit for EnASR.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [53:47]:
Reserved, RES0.
TWEDEL, bit [46] when FEAT_TWED is implemented:
Mask bit for TWEDEL.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TWEDEn, bit [45] when FEAT_TWED is implemented:
Mask bit for TWEDEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
DSSBS, bit [44] when FEAT_SSBS is implemented:
Mask bit for DSSBS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
ATA, bit [43] when FEAT_MTE2 is implemented:
Mask bit for ATA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
ATA0, bit [42] when FEAT_MTE2 is implemented:
Mask bit for ATA0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [41]:
Reserved, RES0.
TCF, bit [40] when FEAT_MTE2 is implemented:
Mask bit for TCF.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [39]:
Reserved, RES0.
TCF0, bit [38] when FEAT_MTE2 is implemented:
Mask bit for TCF0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
ITFSB, bit [37] when FEAT_MTE_ASYNC is implemented:
Mask bit for ITFSB.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
BT, bit [36] when FEAT_BTI is implemented:
Mask bit for BT.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
BT0, bit [35] when FEAT_BTI is implemented:
Mask bit for BT0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnFPM, bit [34] when FEAT_FPMR is implemented:
Mask bit for EnFPM.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
MSCEn, bit [33] when FEAT_MOPS is implemented:
Mask bit for MSCEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
CMOW, bit [32] when FEAT_CMOW is implemented:
Mask bit for CMOW.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnIA, bit [31] when FEAT_PAuth is implemented:
Mask bit for EnIA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnIB, bit [30] when FEAT_PAuth is implemented:
Mask bit for EnIB.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
LSMAOE, bit [29] when FEAT_LSMAOC is implemented:
Mask bit for LSMAOE.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nTLSMD, bit [28] when FEAT_LSMAOC is implemented:
Mask bit for nTLSMD.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnDA, bit [27] when FEAT_PAuth is implemented:
Mask bit for EnDA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
UCI, bit [26]:
Mask bit for UCI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
EE, bit [25] when FEAT_MixedEnd is implemented:
Mask bit for EE.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
E0E, bit [24] when FEAT_MixedEndEL0 is implemented:
Mask bit for E0E.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SPAN, bit [23]:
Mask bit for SPAN.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
EIS, bit [22] when FEAT_ExS is implemented:
Mask bit for EIS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
IESB, bit [21] when FEAT_IESB is implemented:
Mask bit for IESB.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TSCXT, bit [20] when FEAT_CSV2_2 is implemented or FEAT_CSV2_1p2 is implemented:
Mask bit for TSCXT.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
WXN, bit [19]:
Mask bit for WXN.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
nTWE, bit [18]:
Mask bit for nTWE.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Bit [17]:
Reserved, RES0.
nTWI, bit [16]:
Mask bit for nTWI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
UCT, bit [15]:
Mask bit for UCT.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DZE, bit [14]:
Mask bit for DZE.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
EnDB, bit [13] when FEAT_PAuth is implemented:
Mask bit for EnDB.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
I, bit [12]:
Mask bit for I.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
EOS, bit [11] when FEAT_ExS is implemented:
Mask bit for EOS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnRCTX, bit [10] when FEAT_SPECRES is implemented:
Mask bit for EnRCTX.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [9]:
Reserved, RES0.
SED, bit [8] when FEAT_AA32EL0 is implemented:
Mask bit for SED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
ITD, bit [7] when FEAT_AA32EL0 is implemented:
Mask bit for ITD.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nAA, bit [6]:
Mask bit for nAA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
CP15BEN, bit [5] when FEAT_AA32EL0 is implemented:
Mask bit for CP15BEN.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SA0, bit [4]:
Mask bit for SA0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
SA, bit [3]:
Mask bit for SA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
C, bit [2]:
Mask bit for C.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
A, bit [1]:
Mask bit for A.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
M, bit [0]:
Mask bit for M.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Access Instructions
When the Effective value of HCR_EL2.E2H is 1, without explicit synchronization, accesses from EL2 using the accessor name SCTLRMASK_EL2 or SCTLRMASK_EL1 are not guaranteed to be ordered with respect to accesses using the other accessor name.
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, SCTLRMASK_EL2
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0100, op2 = 0b000)
if !(IsFeatureImplemented(FEAT_SRMASK) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().SRMASKEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
X{64}(t) = SCTLRMASK_EL2();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLRMASK_EL2();
end;
MSR SCTLRMASK_EL2, <Xt>
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0100, op2 = 0b000)
if !(IsFeatureImplemented(FEAT_SRMASK) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().SRMASKEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif !IsZero(SCTLRMASK_EL2()) then
Undefined();
else
SCTLRMASK_EL2() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
SCTLRMASK_EL2() = X{64}(t);
end;
MRS <Xt>, SCTLRMASK_EL1
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0100, op2 = 0b000)
if !(IsFeatureImplemented(FEAT_SRMASK) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SRMASKEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_FGT2) && ((HaveEL(EL3) && SCR_EL3().FGTEn2 == '0') || HFGRTR2_EL2().nSCTLRMASK_EL1 == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SRMASKEn == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
X{64}(t) = NVMem(0x318);
else
X{64}(t) = SCTLRMASK_EL1();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
X{64}(t) = SCTLRMASK_EL2();
else
X{64}(t) = SCTLRMASK_EL1();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLRMASK_EL1();
end;
MSR SCTLRMASK_EL1, <Xt>
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0100, op2 = 0b000)
if !(IsFeatureImplemented(FEAT_SRMASK) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SRMASKEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_FGT2) && ((HaveEL(EL3) && SCR_EL3().FGTEn2 == '0') || HFGWTR2_EL2().nSCTLRMASK_EL1 == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SRMASKEn == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
NVMem(0x318) = X{64}(t);
elsif !IsZero(SCTLRMASK_EL1()) then
Undefined();
else
SCTLRMASK_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SRMASKEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
if !IsZero(SCTLRMASK_EL2()) then
Undefined();
else
SCTLRMASK_EL2() = X{64}(t);
end;
else
SCTLRMASK_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
SCTLRMASK_EL1() = X{64}(t);
end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.