diff options
| author | Rebecca Cran <rebecca@bsdio.com> | 2022-12-24 02:48:12 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-03 10:41:01 +0300 |
| commit | 11f0014c0e3046e3762eac420b760091d0cdc063 (patch) | |
| tree | 7e1301593499a658756203cb7f04d834c30d3aea /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | ae6e470252d9312dce20d0b21e7f622c4ca9ad0a (diff) | |
| download | edk2-11f0014c0e3046e3762eac420b760091d0cdc063.tar.xz | |
MdePkg: Label CreateEvent NotifyFunction and NotifyContext optional
According to the UEFI 2.10 Specification, the EFI_BOOT_SERVICES_TABLE
CreateEvent function has the following signature:
typedef
EFI_STATUS
(EFIAPI *EFI_CREATE_EVENT) (
IN UINT32 Type,
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction, OPTIONAL
IN VOID *NotifyContext, OPTIONAL
OUT EFI_EVENT *Event
);
Fix the prototype in UefiSpec.h to match, by labeling the NotifyFunction
and NotifyContext parameters as OPTIONAL.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
