]>
Commit | Line | Data |
---|---|---|
1 | /*++\r | |
2 | \r | |
3 | Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r | |
5 | This program and the accompanying materials are licensed and made available under\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php.\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | \r | |
14 | \r | |
15 | Module Name:\r | |
16 | \r | |
17 | PchInitVar.h\r | |
18 | \r | |
19 | Abstract:\r | |
20 | \r | |
21 | This file defines variable shared between PCH Init DXE driver and PCH\r | |
22 | Init S3 Resume PEIM.\r | |
23 | \r | |
24 | --*/\r | |
25 | #ifndef _PCH_INIT_VAR_H_\r | |
26 | #define _PCH_INIT_VAR_H_\r | |
27 | \r | |
28 | #include <Protocol/PchPlatformPolicy.h>\r | |
29 | //\r | |
30 | // Define the PCH Init Var GUID\r | |
31 | //\r | |
32 | #define PCH_INIT_VARIABLE_GUID {0xe6c2f70a, 0xb604, 0x4877,{0x85, 0xba, 0xde, 0xec, 0x89, 0xe1, 0x17, 0xeb}}\r | |
33 | //\r | |
34 | // Extern the GUID for PPI users.\r | |
35 | //\r | |
36 | extern EFI_GUID gPchInitVariableGuid;\r | |
37 | \r | |
38 | #define PCH_INIT_VARIABLE_NAME L"PchInit"\r | |
39 | \r | |
40 | //\r | |
41 | // Define the Pch Init Variable structure\r | |
42 | //\r | |
43 | typedef struct {\r | |
44 | UINT32 StorePosition;\r | |
45 | UINT32 ExecutePosition;\r | |
46 | } PCH_S3_PARAMETER_HEADER;\r | |
47 | \r | |
48 | #pragma pack(1)\r | |
49 | typedef struct _PCH_INIT_VARIABLE {\r | |
50 | PCH_S3_PARAMETER_HEADER *PchS3Parameter;\r | |
51 | } PCH_INIT_VARIABLE;\r | |
52 | #pragma pack()\r | |
53 | \r | |
54 | #endif\r |