]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/DataHubSubClass.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Guid / DataHubRecords / DataHubSubClass.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 DataHubSubClass.h\r
15 \r
16Abstract:\r
17\r
18 Definitions for data hub data records that contains a sub class header\r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _DATA_HUB_SUBCLASS_H_\r
25#define _DATA_HUB_SUBCLASS_H_\r
26\r
27//\r
28// Sub Class Header type1\r
29//\r
30\r
31#define EFI_SUBCLASS_INSTANCE_RESERVED 0\r
32#define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF //16 bit\r
33\r
34typedef struct {\r
35 UINT32 Version;\r
36 UINT32 HeaderSize;\r
37 UINT16 Instance;\r
38 UINT16 SubInstance;\r
39 UINT32 RecordType; \r
40} EFI_SUBCLASS_TYPE1_HEADER;\r
41\r
42//\r
43// EXP data\r
44//\r
45\r
46typedef struct {\r
47 INT16 Value;\r
48 INT16 Exponent;\r
49} EFI_EXP_BASE10_DATA;\r
50\r
51typedef struct {\r
52 UINT16 Value;\r
53 UINT16 Exponent;\r
54} EFI_EXP_BASE2_DATA;\r
55\r
56//\r
57// Inter link data that references another data record\r
58//\r
59\r
60typedef struct {\r
61 EFI_GUID ProducerName;\r
62 UINT16 Instance;\r
63 UINT16 SubInstance;\r
64} EFI_INTER_LINK_DATA;\r
65\r
66\r
67//\r
68// String Token Definition\r
69//\r
70#define EFI_STRING_TOKEN UINT16\r
71\r
72\r
73#endif\r