Debian Codegraph @

src/vendorcode/intel/fsp/fsp2_0/pantherlake/FspProducerDataHeader.h

raw symbols SCIP
1 /** @file
2
3 Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 **/
12
13 #ifndef _FSP_PRODUCER_DATA_HEADER_H_
14 #define _FSP_PRODUCER_DATA_HEADER_H_
15
16 #include <Guid/FspHeaderFile.h>
17
18 #define BUILD_TIME_STAMP_SIZE 12
19
20 //
21 // FSP Header Data structure from FspHeader driver.
22 //
23 #pragma pack(1)
24 ///
25 /// FSP Producer Data Subtype - 1
26 ///
27 typedef struct {
28 ///
29 /// Byte 0x00: Length of this FSP producer data type record.
30 ///
31 UINT16 Length;
32 ///
33 /// Byte 0x02: FSP producer data type.
34 ///
35 UINT8 Type;
36 ///
37 /// Byte 0x03: Revision of this FSP producer data type.
38 ///
39 UINT8 Revision;
40 ///
41 /// Byte 0x04: 4 byte field of RC version which is used to build this FSP image.
42 ///
43 UINT32 RcVersion;
44 ///
45 /// Byte 0x08: Represents the build time stamp "YYYYMMDDHHMM".
46 ///
47 UINT8 BuildTimeStamp[BUILD_TIME_STAMP_SIZE];
48 } FSP_PRODUCER_DATA_TYPE1;
49
50 ///
51 /// FSP Producer Data Subtype - 2
52 ///
53 typedef struct {
54 ///
55 /// Byte 0x00: Length of this FSP producer data type record.
56 ///
57 UINT16 Length;
58 ///
59 /// Byte 0x02: FSP producer data type.
60 ///
61 UINT8 Type;
62 ///
63 /// Byte 0x03: Revision of this FSP producer data type.
64 ///
65 UINT8 Revision;
66 ///
67 /// Byte 0x04: 4 byte field of Mrc version which is used to build this FSP image.
68 ///
69 UINT8 MrcVersion [4];
70 } FSP_PRODUCER_DATA_TYPE2;
71
72
73 typedef struct {
74 FSP_INFO_HEADER FspInfoHeader;
75 FSP_INFO_EXTENDED_HEADER FspInfoExtendedHeader;
76 FSP_PRODUCER_DATA_TYPE1 FspProduceDataType1;
77 FSP_PRODUCER_DATA_TYPE2 FspProduceDataType2;
78 FSP_PATCH_TABLE FspPatchTable;
79 } FSP_PRODUCER_DATA_TABLES;
80 #pragma pack()
81
82 #endif // _FSP_PRODUCER_DATA_HEADER_H