CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide: FirmwareVersionInfoHob.h Source File

CoffeeLake Intel Firmware

CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide
FirmwareVersionInfoHob.h
Go to the documentation of this file.
1 /** @file
2  Header file for Firmware Version Information
3 
4  @copyright
5  Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
6 
7  This program and the accompanying materials are licensed and made available under
8  the terms and conditions of the BSD License which accompanies this distribution.
9  The full text of the license may be found at
10  http://opensource.org/licenses/bsd-license.php
11 
12  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 
15 **/
16 
17 #ifndef _FIRMWARE_VERSION_INFO_HOB_H_
18 #define _FIRMWARE_VERSION_INFO_HOB_H_
19 
20 #include <Uefi/UefiMultiPhase.h>
21 #include <Pi/PiBootMode.h>
22 #include <Pi/PiHob.h>
23 
24 #pragma pack(1)
25 ///
26 /// Firmware Version Structure
27 ///
28 typedef struct {
29  UINT8 MajorVersion;
30  UINT8 MinorVersion;
31  UINT8 Revision;
32  UINT16 BuildNumber;
34 
35 ///
36 /// Firmware Version Information Structure
37 ///
38 typedef struct {
39  UINT8 ComponentNameIndex; ///< Offset 0 Index of Component Name
40  UINT8 VersionStringIndex; ///< Offset 1 Index of Version String
41  FIRMWARE_VERSION Version; ///< Offset 2-6 Firmware version
43 
44 #ifndef __SMBIOS_STANDARD_H__
45 ///
46 /// The Smbios structure header.
47 ///
48 typedef struct {
49  UINT8 Type;
50  UINT8 Length;
51  UINT16 Handle;
53 #endif
54 
55 ///
56 /// Firmware Version Information HOB Structure
57 ///
58 typedef struct {
59  EFI_HOB_GUID_TYPE Header; ///< Offset 0-23 The header of FVI HOB
60  SMBIOS_STRUCTURE SmbiosData; ///< Offset 24-27 The SMBIOS header of FVI HOB
61  UINT8 Count; ///< Offset 28 Number of FVI elements included.
62 ///
63 /// FIRMWARE_VERSION_INFO structures followed by the null terminated string buffer
64 ///
66 #pragma pack()
67 
68 #endif // _FIRMWARE_VERSION_INFO_HOB_H_
UINT8 Count
Offset 28 Number of FVI elements included.
Firmware Version Information Structure.
Firmware Version Structure.
The Smbios structure header.
EFI_HOB_GUID_TYPE Header
Offset 0-23 The header of FVI HOB.
UINT8 VersionStringIndex
Offset 1 Index of Version String.
UINT8 ComponentNameIndex
Offset 0 Index of Component Name.
FIRMWARE_VERSION Version
Offset 2-6 Firmware version.
SMBIOS_STRUCTURE SmbiosData
Offset 24-27 The SMBIOS header of FVI HOB.
Firmware Version Information HOB Structure.
Generated on Wed Aug 22 2018 17:48:54 for CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide by   doxygen 1.8.10