summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 05:53:33 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 05:53:33 +0000
commitf4d9cc2bfaab96cce3fc0abb622e91cb1f4a9e8d (patch)
treeb8ae9aaf6bc24e9cce746aa3e84afef8e38868ee
parent6048a5b01b530230257d256606e761f9bb13ec9b (diff)
downloadedk2-platforms-f4d9cc2bfaab96cce3fc0abb622e91cb1f4a9e8d.tar.xz
Define S3 Status code macros.
Signed-off-by: lgao4 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12489 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h
index cd646a8a5a..13282e7839 100644
--- a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h
+++ b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
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
@@ -951,4 +951,16 @@ typedef struct {
//
#define EFI_DC_UNSPECIFIED 0x0
+//
+// Progress code for S3 suspend start and S3 suspend end is not defined,
+// the following are the implementation specific definition.
+//
+#ifndef PROGRESS_CODE_S3_SUSPEND_START
+#define PROGRESS_CODE_S3_SUSPEND_START (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000000))
+#endif
+
+#ifndef PROGRESS_CODE_S3_SUSPEND_END
+#define PROGRESS_CODE_S3_SUSPEND_END (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000001))
+#endif
+
#endif