]> git.proxmox.com Git - mirror_edk2.git/blame - IntelSiliconPkg/Include/IndustryStandard/FirmwareVersionInfo.h
IntelSiliconPkg/dec: Add VTd policy PCD
[mirror_edk2.git] / IntelSiliconPkg / Include / IndustryStandard / FirmwareVersionInfo.h
CommitLineData
ad944840
GM
1/** @file\r
2 Intel Firmware Version Info (FVI) related definitions.\r
3\r
6e9e19aa 4 @todo update document/spec reference\r
ad944840
GM
5\r
6 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15@par Specification Reference:\r
16 System Management BIOS (SMBIOS) Reference Specification v3.0.0 dated 2015-Feb-12\r
17 http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdf\r
18\r
19**/\r
20\r
21#ifndef __FIRMWARE_VERSION_INFO_H__\r
22#define __FIRMWARE_VERSION_INFO_H__\r
23\r
24#include <IndustryStandard/SmBios.h>\r
25\r
26#define INTEL_FIRMWARE_VERSION_INFO_GROUP_NAME "Firmware Version Info"\r
27\r
28#pragma pack(1)\r
29\r
30///\r
31/// Firmware Version Structure\r
32///\r
33typedef struct {\r
34 UINT8 MajorVersion;\r
35 UINT8 MinorVersion;\r
36 UINT8 Revision;\r
37 UINT16 BuildNumber;\r
38} INTEL_FIRMWARE_VERSION;\r
39\r
40///\r
41/// Firmware Version Info (FVI) Structure\r
42///\r
43typedef struct {\r
44 SMBIOS_TABLE_STRING ComponentName; ///< String Index of Component Name\r
45 SMBIOS_TABLE_STRING VersionString; ///< String Index of Version String\r
46 INTEL_FIRMWARE_VERSION Version; ///< Firmware version\r
47} INTEL_FIRMWARE_VERSION_INFO;\r
48\r
49///\r
50/// SMBIOS OEM Type Intel Firmware Version Info (FVI) Structure\r
51///\r
52typedef struct {\r
53 SMBIOS_STRUCTURE Header; ///< SMBIOS structure header\r
54 UINT8 Count; ///< Number of FVI entries in this structure\r
55 INTEL_FIRMWARE_VERSION_INFO Fvi[1]; ///< FVI structure(s)\r
56} SMBIOS_TABLE_TYPE_OEM_INTEL_FVI;\r
57\r
58#pragma pack()\r
59\r
60#endif\r