efi_loader: SetVirtualAddressMap() should return EFI_UNSUPPORTED
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 14 Nov 2018 07:18:07 +0000 (16:18 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
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>
lib/efi_loader/efi_runtime.c

index 405f700140406201e386478f4d7f995770fc4f14..95844efdb0e1d48216c17b627108cc93205ff7c4 100644 (file)
@@ -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,