From f4d9cc2bfaab96cce3fc0abb622e91cb1f4a9e8d Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 30 Sep 2011 05:53:33 +0000 Subject: 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 --- .../Foundation/Framework/Include/EfiStatusCode.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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.
+Copyright (c) 2004 - 2011, 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 @@ -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 -- cgit v1.2.3