mirror of https://github.com/acidanthera/audk.git
Change the function name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3933 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d8f31a2dc8
commit
e8da1266b9
|
@ -26,7 +26,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Recovery (
|
PeiRecoverFirmware (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,14 +19,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#include <Ppi/S3Resume.h>
|
#include <Ppi/S3Resume.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 EFI_SUCESS Sucess to restore config from S3.
|
||||||
@retval Others Fail to restore config from S3.
|
@retval Others Fail to restore config from S3.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
S3RestoreConfig (
|
AcpiS3ResumeOs (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -196,10 +196,10 @@ DxeLoadCore (
|
||||||
ASSERT_EFI_ERROR(Status);
|
ASSERT_EFI_ERROR(Status);
|
||||||
|
|
||||||
if (BootMode == BOOT_ON_S3_RESUME) {
|
if (BootMode == BOOT_ON_S3_RESUME) {
|
||||||
Status = S3RestoreConfig();
|
Status = AcpiS3ResumeOs();
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
} else if (BootMode == BOOT_IN_RECOVERY_MODE) {
|
} else if (BootMode == BOOT_IN_RECOVERY_MODE) {
|
||||||
Status = Recovery ();
|
Status = PeiRecoverFirmware ();
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "Load Recovery Capsule Failed.(Status = %r)\n", Status));
|
DEBUG ((EFI_D_ERROR, "Load Recovery Capsule Failed.(Status = %r)\n", Status));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Recovery (
|
PeiRecoverFirmware (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
#define __S3_LIB_H__
|
#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 EFI_SUCESS Sucess to restore config from S3.
|
||||||
@retval Others Fail to restore config from S3.
|
@retval Others Fail to restore config from S3.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
S3RestoreConfig (
|
AcpiS3ResumeOs (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Recovery (
|
PeiRecoverFirmware (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,14 +14,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#include <PiPei.h>
|
#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 EFI_SUCESS Sucess to restore config from S3.
|
||||||
@retval Others Fail to restore config from S3.
|
@retval Others Fail to restore config from S3.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
S3RestoreConfig (
|
AcpiS3ResumeOs (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue