]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: document workaround for EFI_RUNTIME_EVENT_ENTRY PI spec bug
authorLaszlo Ersek <lersek@redhat.com>
Sat, 7 Sep 2019 11:17:49 +0000 (13:17 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 9 Oct 2019 07:40:09 +0000 (09:40 +0200)
commitd342d318e9da83031841b602012699039c2e99bb
tree0b232a6845325c4ae6616b1fbaa4bb78be19da84
parent0bee7dbd2b02aaa53352c544c7c53d20ea9160a9
MdeModulePkg: document workaround for EFI_RUNTIME_EVENT_ENTRY PI spec bug

The PI spec (v1.7) correctly specifies "EFI_RUNTIME_EVENT_ENTRY.Event" in
natural language, but the field type in the structure definition itself is
wrong -- it should be EFI_EVENT, not (EFI_EVENT*).

This spec bug is likely unfixable for compatibility reasons, and so edk2
works it around already. We should clearly document the workaround.

Functionally, this patch is a no-op.

(I've also requested a non-normative (informative) clarification for the
PI spec: <https://mantis.uefi.org/mantis/view.php?id=2017>.)

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Core/Dxe/Event/Event.c
MdeModulePkg/Core/RuntimeDxe/Runtime.c