We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi experts,
I am studying the ARMv8 exception levels. I have a question about ELs.
EL1 is described to run OS kernel and EL0 is application level.
The exception levels change only occur on exception or exception return.
In ARMv7, the instruction "msr CPSR_c, #usr_mode" can change into USR mode.
In ARMv8, EL0 can run "SVC" instruction to generate exception and switch to EL1, but how to switch to EL0 from EL1 when kernel bootup?
When a v8 board power on, run bootloader and kernel which is on EL1, after kernel bootup, how does switch into EL0 to run application?
Thanks for your attention!
Best Regards,
Yan
Basically you make it look like you've had an interrupt and do an ERET.
eret instruction in ARMv8
hi daith,
I got it.
Thanks a lot!