commit | 367f00d2db8651261e43660bca492017c1366ef3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 01 09:02:42 2021 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 25 11:44:36 2022 -0700 |
tree | dd5d5a50147a8b02134e87845692ff6c3d0b4310 | |
parent | 6f50b6a0ba9f979efdb9d36eaeb8df89f7c068aa [diff] |
efi: Correct address handling with ACPI tables The current EFI implementation confuses pointers and addresses. Normally we can get away with this but in the case of sandbox it causes failures. Despite the fact that efi_allocate_pages() returns a u64, it is actually a pointer, not an address. Add special handling to avoid a crash when running 'bootefi hello'. Signed-off-by: Simon Glass <sjg@chromium.org>