]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
MdeModulePkg/UsbBusDxe: Return error when the device is not present
[mirror_edk2.git] / MdeModulePkg / Library / PeiS3LibNull / PeiS3LibNull.c
1 /** @file
2 Null S3 Library instance does nothing and returns unsupported status.
3
4 This library instance is no longer used and module using this library
5 class should update to directly locate EFI_PEI_S3_RESUME_PPI defined
6 in PI 1.2 specification.
7
8 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11 **/
12 #include <PiPei.h>
13 #include <Library/S3Lib.h>
14
15 /**
16 This function is responsible for calling the S3 resume vector in the ACPI Tables.
17
18 @retval EFI_SUCESS Success to restore config from S3.
19 @retval Others Fail to restore config from S3.
20 **/
21 EFI_STATUS
22 EFIAPI
23 AcpiS3ResumeOs (
24 VOID
25 )
26 {
27 return EFI_UNSUPPORTED;
28 }
29