edk2/MdeModulePkg
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
..
Application MdeModulePkg/UiApp: Remove unused variable 2025-09-04 01:43:03 +00:00
Bus MdeModulePkg/PciBusDxe: Fix typo in Buffer parameter description 2026-01-23 10:46:37 +00:00
Core MdeModulePkg/Core: Make PPI services spec complaint 2026-01-30 02:18:50 +00:00
Include MdeModulePkg: fix various typos 2025-11-21 21:49:59 +00:00
Library MdeModulePkg/Library: Fix property typos 2026-01-26 08:44:12 +00:00
Logo MdeModulePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
Test MdeModulePkg: Add unit tests for DxeReportStatusCodeLib 2026-01-14 04:00:20 +00:00
Universal MdeModulePkg/LoadFileOnFv2: Fix typo in Buffer parameter description 2026-01-23 10:46:37 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Add duplicate exception for gUiAppFileGuid 2025-03-06 14:18:10 +01:00
MdeModulePkg.dec MdeModulePkg: Define PCD for SATA ready for operation timeout. 2025-11-22 17:01:23 +00:00
MdeModulePkg.dsc MdeModulePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
MdeModulePkg.uni MdeModulePkg: Deprecate EFI_UNICODE_COLLATION_PROTOCOL_GUID 2025-09-05 13:50:50 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00