#include <Ppi/S3Resume.h>\r
\r
/**\r
- Calling this function causes the system restore config from S3.\r
+ This function is responsible for calling the S3 resume vector in the ACPI Tables.\r
\r
@retval EFI_SUCESS Sucess to restore config from S3.\r
@retval Others Fail to restore config from S3.\r
**/\r
EFI_STATUS\r
EFIAPI\r
-S3RestoreConfig (\r
+AcpiS3ResumeOs (\r
VOID\r
)\r
{\r
ASSERT_EFI_ERROR(Status);\r
\r
if (BootMode == BOOT_ON_S3_RESUME) {\r
- Status = S3RestoreConfig();\r
+ Status = AcpiS3ResumeOs();\r
ASSERT_EFI_ERROR (Status);\r
} else if (BootMode == BOOT_IN_RECOVERY_MODE) {\r
- Status = Recovery ();\r
+ Status = PeiRecoverFirmware ();\r
if (EFI_ERROR (Status)) {\r
DEBUG ((EFI_D_ERROR, "Load Recovery Capsule Failed.(Status = %r)\n", Status));\r
CpuDeadLoop ();\r
#define __S3_LIB_H__\r
\r
/**\r
- Calling this function causes the system restore config from S3.\r
+ This function is responsible for calling the S3 resume vector in the ACPI Tables.\r
\r
@retval EFI_SUCESS Sucess to restore config from S3.\r
@retval Others Fail to restore config from S3.\r
**/\r
EFI_STATUS\r
EFIAPI\r
-S3RestoreConfig (\r
+AcpiS3ResumeOs (\r
VOID\r
)\r
;\r
#include <PiPei.h>\r
\r
/**\r
- Calling this function causes the system restore config from S3.\r
+ This function is responsible for calling the S3 resume vector in the ACPI Tables.\r
\r
@retval EFI_SUCESS Sucess to restore config from S3.\r
@retval Others Fail to restore config from S3.\r
**/\r
EFI_STATUS\r
EFIAPI\r
-S3RestoreConfig (\r
+AcpiS3ResumeOs (\r
VOID\r
)\r
{\r