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

arm: 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, r9 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 da3e620d
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