]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/Tools/Tests/ExpectedFsptUpd.h
25b8a7d63ac4912971f8ee9fd314ac1f8e4888b4
[mirror_edk2.git] / IntelFsp2Pkg / Tools / Tests / ExpectedFsptUpd.h
1 #ifndef __FSPTUPD_H__
2 #define __FSPTUPD_H__
3
4 #include <FspUpd.h>
5
6 #pragma pack(1)
7
8
9 /** Fsp T Common UPD
10 **/
11 typedef struct {
12
13 /** Offset 0x0040
14 **/
15 UINT8 Revision;
16
17 /** Offset 0x0041
18 **/
19 UINT8 Reserved[3];
20
21 /** Offset 0x0044
22 **/
23 UINT32 MicrocodeRegionBase;
24
25 /** Offset 0x0048
26 **/
27 UINT32 MicrocodeRegionLength;
28
29 /** Offset 0x004C
30 **/
31 UINT32 CodeRegionBase;
32
33 /** Offset 0x0050
34 **/
35 UINT32 CodeRegionLength;
36
37 /** Offset 0x0054
38 **/
39 UINT8 Reserved1[12];
40 } FSPT_COMMON_UPD;
41
42 /** Fsp T Configuration
43 **/
44 typedef struct {
45
46 /** Offset 0x0060 - Chicken bytes to test Hex config
47 This option shows how to present option for 4 bytes data
48 **/
49 UINT32 ChickenBytes;
50
51 /** Offset 0x0064
52 **/
53 UINT8 ReservedFsptUpd1[28];
54 } FSP_T_CONFIG;
55
56 /** Fsp T UPD Configuration
57 **/
58 typedef struct {
59
60 /** Offset 0x0000
61 **/
62 FSP_UPD_HEADER FspUpdHeader;
63
64 /** Offset 0x0020
65 **/
66 FSPT_ARCH_UPD FsptArchUpd;
67
68 /** Offset 0x0040
69 **/
70 FSPT_COMMON_UPD FsptCommonUpd;
71
72 /** Offset 0x0060
73 **/
74 FSP_T_CONFIG FsptConfig;
75
76 /** Offset 0x0080
77 **/
78 UINT8 UnusedUpdSpace0[6];
79
80 /** Offset 0x0086
81 **/
82 UINT16 UpdTerminator;
83 } FSPT_UPD;
84
85 #pragma pack()
86
87 #endif