Hello,
I am working with a port of FreeRTOS on Arm64 soc , which is running at EL1, my goal is to perform a function call that will execute in EL0,
I have come to understand that the only way for the EL switch is to set the correct M bits of the spsr_el1 and put the destination function in elr_el1, and then perform a
ERET instruction, but that didn't work.
so are there any other conditions , advices I should consider in doing that ?
Thanks,Awax
Checkout the boot baremetal guide to be found here: developer.arm.com/.../learn-the-architecture
Thanks, that helped.
Remember to "verify" the answer, so other see it is solved.