summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2018-11-14 16:18:07 +0900
committerAlexander Graf <agraf@suse.de>2018-12-02 21:59:37 +0100
commit83582419ea3653fdf3e5e5d0434f9ff5a8217149 (patch)
tree4fdd096b071055e0c571cfa4159fbbbf81e817bb /lib
parent19dd90748cb60ab2cf88b3e9c52b0da4bc0ae0a5 (diff)
downloadu-boot-83582419ea3653fdf3e5e5d0434f9ff5a8217149.tar.gz
u-boot-83582419ea3653fdf3e5e5d0434f9ff5a8217149.tar.bz2
u-boot-83582419ea3653fdf3e5e5d0434f9ff5a8217149.zip
efi_loader: SetVirtualAddressMap() should return EFI_UNSUPPORTED
See UEFI specification 2.7, section 8.4. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c
index 405f700140..95844efdb0 100644
--- a/lib/efi_loader/efi_runtime.c
+++ b/lib/efi_loader/efi_runtime.c
@@ -284,7 +284,7 @@ static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = {
}, {
/* invalidate_*cache_all are gone */
.ptr = &efi_runtime_services.set_virtual_address_map,
- .patchto = &efi_invalid_parameter,
+ .patchto = &efi_unimplemented,
}, {
/* RTC accessors are gone */
.ptr = &efi_runtime_services.get_time,