commit | 649829157e9c034fd5eda0de87a39afa248bd4b2 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Mar 04 01:10:06 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 15 21:30:11 2016 -0400 |
tree | 083980c4daac83050035593bbce6e912eb97dc32 | |
parent | 4c2cc7c4e92094efa562a872cef515fdf6d6f915 [diff] |
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: Alexander Graf <agraf@suse.de>