X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FLibrary%2FPeiS3Lib%2FPeiS3Lib.c;h=9db5b7e09c72801d32026c3a7a76a37bb056bc5c;hp=d16e3cac24e11d1a4e472730cf0137de0644d8eb;hb=0a6f48249a601f88af124ae1ff6814b195b699c3;hpb=e38f26a2f7f62b69fec2d84e83bcc4b45ddefdc1 diff --git a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c index d16e3cac24..9db5b7e09c 100644 --- a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c +++ b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c @@ -1,11 +1,11 @@ /** @file - This library provides API to invoke the S3 resume vector in the APCI Table in S3 resume mode. + This library provides API to invoke the S3 resume vector in the APCI Table in S3 resume mode. This library instance is no longer used and module using this library class should update to directly locate EFI_PEI_S3_RESUME_PPI defined - in PI 1.2 specification. + in PI 1.2 specification. -Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -25,7 +25,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. /** This function is responsible for calling the S3 resume vector in the ACPI Tables. - + @retval EFI_SUCESS Success to restore config from S3. @retval Others Fail to restore config from S3. **/ @@ -37,7 +37,7 @@ AcpiS3ResumeOs ( { EFI_STATUS Status; EFI_PEI_S3_RESUME_PPI *S3Resume; - + Status = PeiServicesLocatePpi ( &gEfiPeiS3ResumePpiGuid, 0, @@ -46,6 +46,6 @@ AcpiS3ResumeOs ( ); ASSERT_EFI_ERROR (Status); - return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer()); + return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer()); }