audk/MdeModulePkg
Jason1 Lin b3441e0100 MdeModulePkg/Core/DxeIplPeim: Enhance Code in DxeIplFindDxeCore Function
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4653

In DxeIplFindDxeCore function, there exists different behavior between
Debug and Release built BIOS. This change is used to unify both of
the code flow and fix the potential overflow of "Instance" variable.

In this change,
  [1] Move the ASSERT_EFI_ERROR (Status) in failure to find DxeCore
      in any firmware volume condition.
  [2] Break the while-loop when not found required DxeCore.
      This would make the Instance variable not overflow in while-loop.
  [3] Add the CpuDeadLoop () in the end of the function and do not
      return since DxeCore is mandatory for the following booting
      to hand-off the PEI phase to DXE phase.
  [4] In case of the CpuDeadLoop () is de-assert by debugger,
      return the NULL pointer.

Signed-off-by: Jason1 Lin <jason1.lin@intel.com>
2024-07-17 05:46:12 +00:00
..
Application MdeModulePkg/SmiHandlerProfileInfo: Declare correct XML encoding 2024-07-17 01:06:00 +00:00
Bus MdeModulePkg/NvmExpressDxe: use format "0x%lx" for UINT64 values. 2024-07-04 14:56:42 +00:00
Core MdeModulePkg/Core/DxeIplPeim: Enhance Code in DxeIplFindDxeCore Function 2024-07-17 05:46:12 +00:00
Include MdeModulePkg: Add HobPrintLib header file 2024-07-07 10:12:36 +00:00
Library MdeModulePkg/RuntimeResetSystemLib: Make global static 2024-07-12 02:03:12 +00:00
Logo
Test MdeModulePkg: Update DumpImageRecord() in ImagePropertiesRecordLib 2023-11-27 18:55:18 +00:00
Universal MdeModulePkg/VariableSmm: Fix NonPrimary Buffer check issue 2024-07-07 08:40:03 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Remove ArmPkg Dependency 2024-03-14 16:29:22 +00:00
MdeModulePkg.dec MdeModulePkg: Add HobPrintLib header file 2024-07-07 10:12:36 +00:00
MdeModulePkg.dsc MdeModulePkg: Add HobPrintLib instance 2024-07-07 10:12:36 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni