]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Define S3 Status code macros.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 30 Sep 2011 05:53:33 +0000 (05:53 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 30 Sep 2011 05:53:33 +0000 (05:53 +0000)
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

EdkCompatibilityPkg/Foundation/Framework/Include/EfiStatusCode.h

index cd646a8a5a553d45b6c1913217e8a2dcbc11c1c6..13282e78393d042bf32a55b96ff1fed6195877a0 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -951,4 +951,16 @@ typedef struct {
 //\r
 #define EFI_DC_UNSPECIFIED  0x0\r
 \r
+//\r
+// Progress code for S3 suspend start and S3 suspend end is not defined,\r
+// the following are the implementation specific definition.\r
+//\r
+#ifndef PROGRESS_CODE_S3_SUSPEND_START\r
+#define PROGRESS_CODE_S3_SUSPEND_START   (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000000))\r
+#endif\r
+\r
+#ifndef PROGRESS_CODE_S3_SUSPEND_END\r
+#define PROGRESS_CODE_S3_SUSPEND_END     (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000001))\r
+#endif\r
+\r
 #endif\r