]> git.proxmox.com Git - mirror_edk2.git/blob - IntelSiliconPkg/Include/IndustryStandard/FirmwareVersionInfo.h
BaseTools:Add import in FvImageSection
[mirror_edk2.git] / IntelSiliconPkg / Include / IndustryStandard / FirmwareVersionInfo.h
1 /** @file
2 Intel Firmware Version Info (FVI) related definitions.
3
4 @todo update document/spec reference
5
6 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 @par Specification Reference:
10 System Management BIOS (SMBIOS) Reference Specification v3.0.0 dated 2015-Feb-12
11 http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdf
12
13 **/
14
15 #ifndef __FIRMWARE_VERSION_INFO_H__
16 #define __FIRMWARE_VERSION_INFO_H__
17
18 #include <IndustryStandard/SmBios.h>
19
20 #define INTEL_FIRMWARE_VERSION_INFO_GROUP_NAME "Firmware Version Info"
21
22 #pragma pack(1)
23
24 ///
25 /// Firmware Version Structure
26 ///
27 typedef struct {
28 UINT8 MajorVersion;
29 UINT8 MinorVersion;
30 UINT8 Revision;
31 UINT16 BuildNumber;
32 } INTEL_FIRMWARE_VERSION;
33
34 ///
35 /// Firmware Version Info (FVI) Structure
36 ///
37 typedef struct {
38 SMBIOS_TABLE_STRING ComponentName; ///< String Index of Component Name
39 SMBIOS_TABLE_STRING VersionString; ///< String Index of Version String
40 INTEL_FIRMWARE_VERSION Version; ///< Firmware version
41 } INTEL_FIRMWARE_VERSION_INFO;
42
43 ///
44 /// SMBIOS OEM Type Intel Firmware Version Info (FVI) Structure
45 ///
46 typedef struct {
47 SMBIOS_STRUCTURE Header; ///< SMBIOS structure header
48 UINT8 Count; ///< Number of FVI entries in this structure
49 INTEL_FIRMWARE_VERSION_INFO Fvi[1]; ///< FVI structure(s)
50 } SMBIOS_TABLE_TYPE_OEM_INTEL_FVI;
51
52 #pragma pack()
53
54 #endif