| 1 | /** @file |
| 2 | |
| 3 | Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without modification, |
| 6 | are permitted provided that the following conditions are met: |
| 7 | |
| 8 | * Redistributions of source code must retain the above copyright notice, this |
| 9 | list of conditions and the following disclaimer. |
| 10 | * Redistributions in binary form must reproduce the above copyright notice, this |
| 11 | list of conditions and the following disclaimer in the documentation and/or |
| 12 | other materials provided with the distribution. |
| 13 | * Neither the name of Intel Corporation nor the names of its contributors may |
| 14 | be used to endorse or promote products derived from this software without |
| 15 | specific prior written permission. |
| 16 | |
| 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 27 | THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | |
| 29 | This file is automatically generated. Please do NOT modify !!! |
| 30 | |
| 31 | **/ |
| 32 | |
| 33 | #ifndef __FIRMWARE_VERSION_INFO_H__ |
| 34 | #define __FIRMWARE_VERSION_INFO_H__ |
| 35 | |
| 36 | #include <IndustryStandard/SmBios.h> |
| 37 | |
| 38 | #define INTEL_FIRMWARE_VERSION_INFO_GROUP_NAME "Firmware Version Info" |
| 39 | |
| 40 | #pragma pack(1) |
| 41 | |
| 42 | /// |
| 43 | /// Firmware Version Structure |
| 44 | /// |
| 45 | typedef struct { |
| 46 | UINT8 MajorVersion; |
| 47 | UINT8 MinorVersion; |
| 48 | UINT8 Revision; |
| 49 | UINT16 BuildNumber; |
| 50 | } INTEL_FIRMWARE_VERSION; |
| 51 | |
| 52 | /// |
| 53 | /// Firmware Version Info (FVI) Structure |
| 54 | /// |
| 55 | typedef struct { |
| 56 | SMBIOS_TABLE_STRING ComponentName; ///< String Index of Component Name |
| 57 | SMBIOS_TABLE_STRING VersionString; ///< String Index of Version String |
| 58 | INTEL_FIRMWARE_VERSION Version; ///< Firmware version |
| 59 | } INTEL_FIRMWARE_VERSION_INFO; |
| 60 | |
| 61 | /// |
| 62 | /// SMBIOS OEM Type Intel Firmware Version Info (FVI) Structure |
| 63 | /// |
| 64 | typedef struct { |
| 65 | SMBIOS_STRUCTURE Header; ///< SMBIOS structure header |
| 66 | UINT8 Count; ///< Number of FVI entries in this structure |
| 67 | INTEL_FIRMWARE_VERSION_INFO Fvi[1]; ///< FVI structure(s) |
| 68 | } SMBIOS_TABLE_TYPE_OEM_INTEL_FVI; |
| 69 | |
| 70 | #pragma pack() |
| 71 | |
| 72 | #endif |