armviz

CurrentEL

32-bitIdentification

Reports which exception level the processor is currently running at. Read-only, and the standard way for runtime code to discover the privilege it is running under.

Field layout

—
3:2
byte 3
byte 2
byte 1
byte 0

Current value hover a field to locate it

B3
B2
B1
B0

Fields

BitsFieldBitsValueDescription
31:4—28Not assigned to a documented field. Values written here are reserved and should be treated as read-as-zero unless the architecture says otherwise.
3:2EL[3:2]2

The current exception level. Note the field sits at bits 3:2 rather than 1:0, with the low two bits reserved.

0
EL0, the lowest, least privileged level
1
EL1, typically the operating system kernel
2
EL2, the hypervisor, when implemented
3
EL3, the highest, most privileged level
1:0—2Not assigned to a documented field. Values written here are reserved and should be treated as read-as-zero unless the architecture says otherwise.