mirror_edk2/MdeModulePkg
Laszlo Ersek 10eec5aa92 MdeModulePkg: stop abusing EFI_EVENT for protocol notify registration
EfiCreateProtocolNotifyEvent() takes a (VOID**) for "Registration",
similarly to gBS->RegisterProtocolNotify(). We should pass the address of
an actual pointer-to-VOID, and not the address of an EFI_EVENT. EFI_EVENT
just happens to be specified as (VOID*), and has nothing to do with the
registration.

The same applies to gMmst->MmRegisterProtocolNotify().

"mFtwRegistration", "mFvRegistration", and "mFvbRegistration" are used for
nothing else.

This change is a no-op in practice; it's a semantic improvement.

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>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2019-10-09 09:40:09 +02:00
..
Application MdeModulePkg: strip trailing whitespace 2019-10-04 11:18:32 +01:00
Bus MdeModulePkg/ScsiDiskDxe: Support Storage Security Command Protocol 2019-09-29 16:43:46 +08:00
Core MdeModulePkg DxeCore: Fix for missing Memory Attributes Table (MAT) update 2019-08-20 19:53:31 +08:00
Include NetworkPkg: Move network related header files from MdeModulePkg to NetworkPkg 2019-10-08 09:20:32 +08:00
Library MdeModulePkg/UefiHiiLib: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:09 +02:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg: stop abusing EFI_EVENT for protocol notify registration 2019-10-09 09:40:09 +02:00
MdeModulePkg.dec MdeModulePkg: Remove PCD gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize 2019-10-08 09:20:34 +08:00
MdeModulePkg.dsc MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull 2019-08-05 10:09:01 +08:00
MdeModulePkg.uni MdeModulePkg: Remove PCD gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize 2019-10-08 09:20:34 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00