]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/Include/Guid/ItkData.h
IntelFrameworkModulePkg: Refine casting expression result to bigger size
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / Guid / ItkData.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
4 \r\r
5 This program and the accompanying materials are licensed and made available under\r\r
6 the terms and conditions of the BSD License that accompanies this distribution. \r\r
7 The full text of the license may be found at \r\r
8 http://opensource.org/licenses/bsd-license.php. \r\r
9 \r\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
12 \r\r
13\r
14Module Name:\r
15\r
16 ItkData.h\r
17\r
18Abstract:\r
19\r
20--*/\r
21\r
22#ifndef _ITKDATAHUB_GUID_H_\r
23#define _ITKDATAHUB_GUID_H_\r
24\r
25//\r
26// This GUID is for the ITK related data found in the Data Hub {E7060843-A336-4d5b-9598-13402F5D7375}\r
27//\r
28#define ITK_DATA_HUB_GUID \\r
29 { 0xe7060843, 0xa336, 0x4d5b, 0x95, 0x98, 0x13, 0x40, 0x2f, 0x5d, 0x73, 0x75 }\r
30\r
31extern EFI_GUID gItkDataHubGuid;\r
32\r
33//\r
34// This GUID is for the ITK related data found in a Variable {3812723D-7E48-4e29-BC27-F5A39AC94EF1}\r
35//\r
36#define ITK_DATA_VAR_GUID \\r
37 { 0x3812723d, 0x7e48, 0x4e29, 0xbc, 0x27, 0xf5, 0xa3, 0x9a, 0xc9, 0x4e, 0xf1 }\r
38\r
39extern EFI_GUID gItkDataVarGuid;\r
40\r
41#define ITK_DATA_VAR_NAME L"ItkDataVar"\r
42\r
43extern CHAR16 gItkDataVarName[];\r
44\r
45#define ITK_BIOS_MOD_VAR_NAME L"ItkBiosModVar"\r
46\r
47extern CHAR16 gItkBiosModVarName[];\r
48\r
49#pragma pack(1)\r
50typedef struct {\r
51 UINT32 Type;\r
52 UINT32 RecordLength;\r
53} EFI_ITK_DATA_HEADER;\r
54\r
55typedef struct {\r
56 EFI_ITK_DATA_HEADER ItkHeader;\r
57 UINT32 HecetaAddress;\r
58} EFI_ITK_HECETA_ADDRESS;\r
59\r
60typedef struct {\r
61 UINT16 VarEqName;\r
62 UINT16 VarEqValue;\r
63} EFI_ITK_VAR_EQ_RECORD;\r
64\r
65typedef struct {\r
66 EFI_ITK_DATA_HEADER ItkHeader;\r
67 EFI_ITK_VAR_EQ_RECORD VarEqRecord[0x10000];\r
68} EFI_ITK_VAR_EQ;\r
69#pragma pack()\r
70\r
71#define EFI_ITK_HECETA_ADDRESS_TYPE 1\r
72#define EFI_ITK_MOBILE_BIOS_TYPE 2\r
73#define EFI_ITK_VAR_EQ_TYPE 3\r
74\r
75#endif\r