summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
diff options
context:
space:
mode:
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-01 07:11:28 +0000
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-01 07:11:28 +0000
commit77215d10c065729798a2cb4734d8707cdedc0872 (patch)
tree336a94f50c84497ac8159ea2012f961fdec32432 /MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
parent42686f29905cc6cec3692a24410505fa32c4d487 (diff)
downloadedk2-platforms-77215d10c065729798a2cb4734d8707cdedc0872.tar.xz
update DxeIpl to use EFI_S3_RESUME2_PPI instead of EFI_S3_RESUME_PPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10138 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim/DxeLoad.c')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 4a0c9ddb67..1c967ab170 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -158,7 +158,7 @@ DxeLoadCore (
UINTN Instance;
UINT32 AuthenticationState;
UINTN DataSize;
- EFI_PEI_S3_RESUME_PPI *S3Resume;
+ EFI_PEI_S3_RESUME2_PPI *S3Resume;
EFI_PEI_RECOVERY_MODULE_PPI *PeiRecovery;
EFI_MEMORY_TYPE_INFORMATION MemoryData[EfiMaxMemoryType + 1];
@@ -169,14 +169,14 @@ DxeLoadCore (
if (BootMode == BOOT_ON_S3_RESUME) {
Status = PeiServicesLocatePpi (
- &gEfiPeiS3ResumePpiGuid,
+ &gEfiPeiS3Resume2PpiGuid,
0,
NULL,
(VOID **) &S3Resume
);
ASSERT_EFI_ERROR (Status);
- Status = S3Resume->S3RestoreConfig (PeiServices);
+ Status = S3Resume->S3RestoreConfig2 (S3Resume);
ASSERT_EFI_ERROR (Status);
} else if (BootMode == BOOT_IN_RECOVERY_MODE) {
Status = PeiServicesLocatePpi (