diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-26 09:35:36 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-26 09:35:36 +0000 |
commit | 4fb31c2c5828aa51a8bfed98778d1be919981d2b (patch) | |
tree | f66ac100b5d772c8c9b0f6823415e4ce8541a686 /MdeModulePkg/Include | |
parent | ba7c1a5056a6d4d621c9cb30ad99d741e0fd4dcd (diff) | |
download | edk2-4fb31c2c5828aa51a8bfed98778d1be919981d2b.zip edk2-4fb31c2c5828aa51a8bfed98778d1be919981d2b.tar.gz edk2-4fb31c2c5828aa51a8bfed98778d1be919981d2b.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r-- | MdeModulePkg/Include/Library/RecoveryLib.h | 33 | ||||
-rw-r--r-- | MdeModulePkg/Include/Library/S3Lib.h | 32 |
2 files changed, 65 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Include/Library/RecoveryLib.h new file mode 100644 index 0000000..6ec4c58 --- /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 0000000..0059e01 --- /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
+
|