summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManickamX Srinivasan <manickamx.srinivasan@intel.com>2023-12-07 21:40:44 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-12-08 22:52:02 +0000
commit3c40ee8c68efb787b13be1a120d2ea0ebf1fc949 (patch)
treea91e5a5eef20148fb93fcbe13556bdc5c7cba528
parent2cd9d5f6fa710e9a8ee810212081f86702114d2f (diff)
downloadedk2-3c40ee8c68efb787b13be1a120d2ea0ebf1fc949.tar.gz
edk2-3c40ee8c68efb787b13be1a120d2ea0ebf1fc949.tar.bz2
edk2-3c40ee8c68efb787b13be1a120d2ea0ebf1fc949.zip
MdePkg: Define the DevicePath argument from LoadImage as optional
Update the EFI LoadImage API in accordance with the UEFI v2.10 specification. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: T V Krishnamoorthy <krishnamoorthy.t.v@intel.com> Signed-off-by: ManickamX Srinivasan <manickamx.srinivasan@intel.com> Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 7dfe35b499..e83e14d347 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -898,7 +898,7 @@ EFI_STATUS
(EFIAPI *EFI_IMAGE_LOAD)(
IN BOOLEAN BootPolicy,
IN EFI_HANDLE ParentImageHandle,
- IN EFI_DEVICE_PATH_PROTOCOL *DevicePath,
+ IN EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL,
IN VOID *SourceBuffer OPTIONAL,
IN UINTN SourceSize,
OUT EFI_HANDLE *ImageHandle