Skip to content
Snippets Groups Projects
Commit 64982915 authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

arm64: Allow EFI payload code to take exceptions


There are 2 ways an EFI payload could return into u-boot:

  - Callback function
  - Exception

While in EFI payload mode, x18 is owned by the payload and may not contain
a valid pointer to gd, so we need to fix it up. We do that properly for the
payload to callback path already.

This patch also adds gd pointer restoral for the exception path.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 4c2cc7c4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment