From 4fb31c2c5828aa51a8bfed98778d1be919981d2b Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 26 Sep 2007 09:35:36 +0000 Subject: 1) Add library classes of S3Lib and RecoveryLib in MdeModulePkg 2) Add NULL instance for above library classes in MdeModulePkg 3) Add Framework implement library instance for above two library classes in IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3930 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Library/RecoveryLib.h | 33 ++++++++++++++++++++++++++++++ MdeModulePkg/Include/Library/S3Lib.h | 32 +++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 MdeModulePkg/Include/Library/RecoveryLib.h create mode 100644 MdeModulePkg/Include/Library/S3Lib.h (limited to 'MdeModulePkg/Include') diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Include/Library/RecoveryLib.h new file mode 100644 index 0000000000..6ec4c58b8b --- /dev/null +++ b/MdeModulePkg/Include/Library/RecoveryLib.h @@ -0,0 +1,33 @@ +/** @file + Recovery Library. This library class defines a set of methods related recovery mode. + + Copyright (c) 2005 - 2007, 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 + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __RECOVERY_LIB_H__ +#define __RECOVERY_LIB_H__ + +/** + Calling this function causes the system do recovery. + + @retval EFI_SUCESS Sucess to do recovery. + @retval Others Fail to do recovery. +**/ +EFI_STATUS +EFIAPI +Recovery ( + VOID + ) +; + +#endif + + diff --git a/MdeModulePkg/Include/Library/S3Lib.h b/MdeModulePkg/Include/Library/S3Lib.h new file mode 100644 index 0000000000..0059e0193c --- /dev/null +++ b/MdeModulePkg/Include/Library/S3Lib.h @@ -0,0 +1,32 @@ +/** @file + S3 Library. This library class defines a set of methods related do S3 mode. + + Copyright (c) 2005 - 2007, 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 + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __S3_LIB_H__ +#define __S3_LIB_H__ + +/** + Calling this function causes the system restore config from S3. + + @retval EFI_SUCESS Sucess to restore config from S3. + @retval Others Fail to restore config from S3. +**/ +EFI_STATUS +EFIAPI +S3RestoreConfig ( + VOID + ) +; + +#endif + -- cgit v1.2.3