You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+63-5Lines changed: 63 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10396,19 +10396,77 @@ help architecture
10396
10396
10397
10397
shows ARM version up to `armv6`, so maybe `armv6` is not implemented?
10398
10398
10399
-
=== ARM EL
10399
+
=== ARM exception level
10400
10400
10401
-
Find the ARM EL: https://stackoverflow.com/questions/31787617/what-is-the-current-execution-mode-exception-level-etc
10401
+
ARM exception levels are analogous to x86 <<ring0,rings>>.
10402
10402
10403
-
Prints the EL at the beginning of a baremetal simulation:
10403
+
Print the EL at the beginning of a baremetal simulation:
10404
10404
10405
10405
....
10406
+
./run --arch arm --baremetal arch/arm/el
10406
10407
./run --arch aarch64 --baremetal arch/aarch64/el
10407
10408
....
10408
10409
10409
-
Source: link:baremetal/arch/aarch64/el.c[]
10410
+
Sources:
10411
+
10412
+
* link:baremetal/arch/arm/el.c[]
10413
+
* link:baremetal/arch/aarch64/el.c[]
10414
+
10415
+
The instructions that find the ARM EL are explained at: https://stackoverflow.com/questions/31787617/what-is-the-current-execution-mode-exception-level-etc
10416
+
10417
+
The lower ELs are not mandated by the architecture, and can be controlled through command line options in QEMU and gem5.
10418
+
10419
+
In QEMU, you can configure the lowest EL as explained at https://stackoverflow.com/questions/42824706/qemu-system-aarch64-entering-el1-when-emulating-a53-power-up
10420
+
10421
+
....
10422
+
./run --arch arm --baremetal arch/arm/el
10423
+
./run --arch arm --baremetal arch/arm/el -- -machine virtualization=on
10424
+
./run --arch arm --baremetal arch/arm/el -- -machine secure=on
0 commit comments