]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r | |
7ede8060 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
3cbfba02 DW |
6 | \r |
7 | \r | |
8 | \r | |
9 | Module Name:\r | |
10 | \r | |
11 | PchInitVar.h\r | |
12 | \r | |
13 | Abstract:\r | |
14 | \r | |
15 | This file defines variable shared between PCH Init DXE driver and PCH\r | |
16 | Init S3 Resume PEIM.\r | |
17 | \r | |
18 | --*/\r | |
19 | #ifndef _PCH_INIT_VAR_H_\r | |
20 | #define _PCH_INIT_VAR_H_\r | |
21 | \r | |
22 | #include <Protocol/PchPlatformPolicy.h>\r | |
23 | //\r | |
24 | // Define the PCH Init Var GUID\r | |
25 | //\r | |
26 | #define PCH_INIT_VARIABLE_GUID {0xe6c2f70a, 0xb604, 0x4877,{0x85, 0xba, 0xde, 0xec, 0x89, 0xe1, 0x17, 0xeb}}\r | |
27 | //\r | |
28 | // Extern the GUID for PPI users.\r | |
29 | //\r | |
30 | extern EFI_GUID gPchInitVariableGuid;\r | |
31 | \r | |
32 | #define PCH_INIT_VARIABLE_NAME L"PchInit"\r | |
33 | \r | |
34 | //\r | |
35 | // Define the Pch Init Variable structure\r | |
36 | //\r | |
37 | typedef struct {\r | |
38 | UINT32 StorePosition;\r | |
39 | UINT32 ExecutePosition;\r | |
40 | } PCH_S3_PARAMETER_HEADER;\r | |
41 | \r | |
42 | #pragma pack(1)\r | |
43 | typedef struct _PCH_INIT_VARIABLE {\r | |
44 | PCH_S3_PARAMETER_HEADER *PchS3Parameter;\r | |
45 | } PCH_INIT_VARIABLE;\r | |
46 | #pragma pack()\r | |
47 | \r | |
48 | #endif\r |