MdePkg/Include/Uefi/UefiSpec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Define the DevicePath argument from LoadImage as optional as per
the UEFI 2.9A specification.
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: T V Krishnamoorthy <krishnamoorthy.t.v@intel.com>
Signed-off-by: ManickamX Srinivasan <manickamx.srinivasan@intel.com>
---
MdePkg/Include/Uefi/UefiSpec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.30.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112213): https://edk2.groups.io/g/devel/message/112213
Mute This Topic: https://groups.io/mt/103030914/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 ManickamX > Srinivasan > 发送时间: 2023年12月8日 15:29 > 收件人: devel@edk2.groups.io > 抄送: ManickamX Srinivasan <manickamx.srinivasan@intel.com>; Zhiguang > Liu <zhiguang.liu@intel.com>; Michael D Kinney > <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; T > V Krishnamoorthy <krishnamoorthy.t.v@intel.com> > 主题: [edk2-devel] [PATCH] MdePkg: Define the DevicePath argument from > LoadImage as optional > > Define the DevicePath argument from LoadImage as optional as per > the UEFI 2.9A specification. > > Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com> > Cc: Michael D Kinney <michael.d.kinney@intel.com> > Cc: Liming Gao <gaoliming@byosoft.com.cn> > Cc: T V Krishnamoorthy <krishnamoorthy.t.v@intel.com> > Signed-off-by: ManickamX Srinivasan <manickamx.srinivasan@intel.com> > --- > MdePkg/Include/Uefi/UefiSpec.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 > -- > 2.30.2.windows.1 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112343): https://edk2.groups.io/g/devel/message/112343 Mute This Topic: https://groups.io/mt/103121251/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.