Skip to content

Commit

Permalink
arm64: fix jump address to el2 entry when leaving el3
Browse files Browse the repository at this point in the history
Signed-off-by: Jouni Ukkonen <[email protected]>
  • Loading branch information
joukkone committed Aug 15, 2024
1 parent 0db0be4 commit 02005f5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/arm64/src/common/arm64_head.S
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,8 @@ switch_el:
mov sp, x24
b el3_boot
#endif

/* Get next EL */

adr x0, switch_el
/* Jump to EL2 */
adr x0, 2f
bl arm64_boot_el3_get_next_el
eret
#endif
Expand Down

0 comments on commit 02005f5

Please sign in to comment.