You copied the Doc URL to your clipboard.
AT S1E2R, Address Translate Stage 1 EL2 Read
The AT S1E2R characteristics are:
Purpose
Performs stage 1 address translation as defined for EL2, with permissions as if reading from the given virtual address.
Configuration
Attributes
AT S1E2R is a 64-bit System instruction.
Field descriptions
The AT S1E2R input value bit assignments are:
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 |
Input address for translation | |||||||||||||||||||||||||||||||
Input address for translation | |||||||||||||||||||||||||||||||
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 |
Bits [63:0]
Input address for translation. The resulting address can be read from the PAR_EL1.
If the address translation instructions are targeting a translation regime that is using AArch32, and so has a VA of only 32 bits, then VA[63:32] is RES0.
Executing the AT S1E2R instruction
Accesses to this instruction use the following encodings:
AT S1E2R, <Xt>
op0 | CRn | op1 | op2 | CRm |
---|---|---|---|---|
0b01 | 0b0111 | 0b100 | 0b000 | 0b1000 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && HCR_EL2.NV == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else UNDEFINED; elsif PSTATE.EL == EL2 then AT_S1E2R(X[t]); elsif PSTATE.EL == EL3 then if !EL2Enabled() then UNDEFINED; else AT_S1E2R(X[t]);