tags: ARMv8 EL exception level
I work for an internationally renowned terminal manufacturer and am responsible for the research and development of modem chips.
In the early days of 5G, he was responsible for the development of the terminal data service layer and the core network. Currently, he is leading the research on technical standards for 6G computing power networks.
Blog content mainly revolves around:
5G/6G Protocol Explanation
Explanation of Computing Power Network (Cloud Computing, Edge Computing, Terminal Computing)
Advanced C Language Explanation
Explanation of Rust language
The ARMv8-A series defines a series of exception levels, from EL0 to EL3, the meaning of which is explained in detail below:
Note that EL0 and EL1 must be implemented, and EL2 and EL3 are optional. Moreover, the EL implemented in a PE may be discontinuous, for example, only EL0, EL1, and EL3 are implemented.
In the AARCH64 state, exception level switching can only occur inan exception was triggered,orexception handling returnIn the process, where:
When an exception is about to enter or return from exception handling to another exception level (including the case where the exception level remains unchanged), the exception level to be entered/returned is calledtarget exception level。Each exception level has an explicit target exception level, which is either defined by default or through the corresponding bit of the system register(Note that the target exception level with no exception level is EL0).
When a PE executes at an exception level, the PE can access the following resources:
This means that if EL3 is implemented, then when executing at EL3, the PE can access all resources available on all exception levels (both safe and unsafe).
| ELn | Application range |
|---|---|
| EL0 | application |
| EL1 | Operating system or some privileged functions |
| EL2 | Hypervisor |
| EL3 | Secure Monitor |
Armv8-A architecture providestwo security states,Each state has an associated physical memory address space,As follows:
here it isBe kind like waterThanks for reading

In ARMv8, User, FIQ, IRQ, Abort, Undefined, System are all cancelled and replaced by four privileged privilege modes: EL0, EL1, EL2, and EL3 (compared with the previous privileged mode/non-privileged ...
1 Introduction What is the runtime service? Do you write? Listen to me slowly. Software executed in the normal world and the security world is lower than the EL3 level will use a security monitor requ...
Query all data match query specifies the word segmentation method to control the matching accuracy The query contains the data of Home Inns International Ganzhou Must include hotel and international. ...
Directly on the code: ...
RenAny error is called an exception. When it happens unexpectedly, the execution unit must have the control of delivery. This is a meat-bunny dog--there is no return process. The PL/SQL engine treats ...
The role of exceptions in the program Error Handling: Ability to capture and respond to error messages in exception handling statements Event Notification: That is, when our application is in the proc...
Article Directory 1. Exception definition and architecture 1.1 Definition 1.2 Structural system 1.2.1 Throwable 1.2.2 Error 1.2.3 Exception 2. Common exceptions 2.1 Runtime exceptions 1. NullPointerEx...
inBasicErrorController.javain By defaultDefaultErrorViewResolver.java Handling exception pages The default exception page is the html file in the error folder. The returned html is determined by ...
1. Exception definition Compiler errors during compilation often remind us, but errors during runtime are not easy to detect in advance. 2. Anomaly classification Exceptions are various situations tha...