From 2be24ed6e6909cbb9dd80ded6e3d0ccec06f6106 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Mon, 11 Aug 2025 10:56:12 -0700 Subject: [PATCH] [lib][uefi] Fix os loading protocol setup get_buffer was actually unused, fix --- lib/uefi/boot_service_provider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/uefi/boot_service_provider.cpp b/lib/uefi/boot_service_provider.cpp index e59947e4..7e59cebf 100644 --- a/lib/uefi/boot_service_provider.cpp +++ b/lib/uefi/boot_service_provider.cpp @@ -238,6 +238,8 @@ EfiStatus open_protocol(EfiHandle handle, const EfiGuid *protocol, void **intf, return OUT_OF_RESOURCES; } image_loading->revision = GBL_EFI_IMAGE_LOADING_PROTOCOL_REVISION; + image_loading->get_buffer = get_buffer; + image_loading->get_verify_partitions = get_verify_partitions; *intf = reinterpret_cast(image_loading); return SUCCESS; } else if (guid_eq(protocol, EFI_TIMESTAMP_PROTOCOL_GUID)) {