summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-27 03:20:28 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-27 03:20:28 +0000
commite8da1266b93d62d1998f73a7ec34bd54a074dbcf (patch)
tree71f4da97dffd10e6aa53443a748a0d2f981dc7d9 /MdeModulePkg
parentd8f31a2dc88a2e76f96391c502f3a25c64f561f7 (diff)
downloadedk2-platforms-e8da1266b93d62d1998f73a7ec34bd54a074dbcf.tar.xz
Change the function name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3933 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c4
-rw-r--r--MdeModulePkg/Include/Library/RecoveryLib.h2
-rw-r--r--MdeModulePkg/Include/Library/S3Lib.h4
-rw-r--r--MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.c2
-rw-r--r--MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 2042efae6d..8784822496 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -196,10 +196,10 @@ DxeLoadCore (
ASSERT_EFI_ERROR(Status);
if (BootMode == BOOT_ON_S3_RESUME) {
- Status = S3RestoreConfig();
+ Status = AcpiS3ResumeOs();
ASSERT_EFI_ERROR (Status);
} else if (BootMode == BOOT_IN_RECOVERY_MODE) {
- Status = Recovery ();
+ Status = PeiRecoverFirmware ();
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_ERROR, "Load Recovery Capsule Failed.(Status = %r)\n", Status));
CpuDeadLoop ();
diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Include/Library/RecoveryLib.h
index 6ec4c58b8b..deabf9fded 100644
--- a/MdeModulePkg/Include/Library/RecoveryLib.h
+++ b/MdeModulePkg/Include/Library/RecoveryLib.h
@@ -23,7 +23,7 @@
**/
EFI_STATUS
EFIAPI
-Recovery (
+PeiRecoverFirmware (
VOID
)
;
diff --git a/MdeModulePkg/Include/Library/S3Lib.h b/MdeModulePkg/Include/Library/S3Lib.h
index 0059e0193c..ede541ab6c 100644
--- a/MdeModulePkg/Include/Library/S3Lib.h
+++ b/MdeModulePkg/Include/Library/S3Lib.h
@@ -16,14 +16,14 @@
#define __S3_LIB_H__
/**
- Calling this function causes the system restore config from S3.
+ This function is responsible for calling the S3 resume vector in the ACPI Tables.
@retval EFI_SUCESS Sucess to restore config from S3.
@retval Others Fail to restore config from S3.
**/
EFI_STATUS
EFIAPI
-S3RestoreConfig (
+AcpiS3ResumeOs (
VOID
)
;
diff --git a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.c b/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.c
index 2638955688..00dbc85eaa 100644
--- a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.c
+++ b/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.c
@@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
EFI_STATUS
EFIAPI
-Recovery (
+PeiRecoverFirmware (
VOID
)
{
diff --git a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
index 5bf65f9377..b8ea626322 100644
--- a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
+++ b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
@@ -14,14 +14,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <PiPei.h>
/**
- Calling this function causes the system restore config from S3.
+ This function is responsible for calling the S3 resume vector in the ACPI Tables.
@retval EFI_SUCESS Sucess to restore config from S3.
@retval Others Fail to restore config from S3.
**/
EFI_STATUS
EFIAPI
-S3RestoreConfig (
+AcpiS3ResumeOs (
VOID
)
{