edk2/MdeModulePkg/Core
Khalid Ali 300dada916 MdeModulePkg/Core: Make PPI services spec complaint
The documentation of InstallPpi() and NotifyPpi() in both the spec and
function comment indicate to return EFI_OUT_OF_RESOURCES if memory
allocation fails.

However, the implementation of those two services assert if memory
allocation fails. This is a mismatch between what the function expected to
return and what actually returns.

Fix this by returning EFI_OUT_OF_RESOURCES if memory allocation fails,
so the code matches the documentation and comply with the spec. It is
expected service consumers(callers of these functions) to handle
failures appriciately.

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
2026-01-30 02:18:50 +00:00
..
Dxe MdeModulePkg/Core/Dxe/Mem: Fix GetMemoryMap() Alignment Issues 2026-01-28 16:20:18 +00:00
DxeIplPeim MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
Pei MdeModulePkg/Core: Make PPI services spec complaint 2026-01-30 02:18:50 +00:00
PiSmmCore MdeModulePkg/Core/PiSmmCore/Page.c: Correct gMemoryMap typo 2026-01-28 14:03:18 +00:00
RuntimeDxe MdeModulePkg: Align RuntimeDxe function headers with UEFI return values 2024-02-09 22:16:32 +00:00