[edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address.

cbduggap posted 1 patch 1 year, 11 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 1 +
1 file changed, 1 insertion(+)
[edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address.
Posted by cbduggap 1 year, 11 months ago
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>

Signed-off-by: cbduggap <chinni.b.duggapu@intel.com>
---
 MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 2c19f1a507..16319e2fd3 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -288,6 +288,7 @@ DxeLoadCore (
         EFI_ERROR_CODE | EFI_ERROR_MAJOR,
         (EFI_SOFTWARE_PEI_MODULE | EFI_SW_PEI_EC_S3_RESUME_PPI_NOT_FOUND)
         );
+      PeiServicesResetSystem2 (EfiResetWarm, EFI_SUCCESS, 0, NULL);
     }
 
     ASSERT_EFI_ERROR (Status);
-- 
2.36.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89914): https://edk2.groups.io/g/devel/message/89914
Mute This Topic: https://groups.io/mt/91227575/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-