summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Tools/Tests/ExpectedFsptUpd.h
blob: 25b8a7d63ac4912971f8ee9fd314ac1f8e4888b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#ifndef __FSPTUPD_H__
#define __FSPTUPD_H__

#include <FspUpd.h>

#pragma pack(1)


/** Fsp T Common UPD
**/
typedef struct {

/** Offset 0x0040
**/
  UINT8                       Revision;

/** Offset 0x0041
**/
  UINT8                       Reserved[3];

/** Offset 0x0044
**/
  UINT32                      MicrocodeRegionBase;

/** Offset 0x0048
**/
  UINT32                      MicrocodeRegionLength;

/** Offset 0x004C
**/
  UINT32                      CodeRegionBase;

/** Offset 0x0050
**/
  UINT32                      CodeRegionLength;

/** Offset 0x0054
**/
  UINT8                       Reserved1[12];
} FSPT_COMMON_UPD;

/** Fsp T Configuration
**/
typedef struct {

/** Offset 0x0060 - Chicken bytes to test Hex config
  This option shows how to present option for 4 bytes data
**/
  UINT32                      ChickenBytes;

/** Offset 0x0064
**/
  UINT8                       ReservedFsptUpd1[28];
} FSP_T_CONFIG;

/** Fsp T UPD Configuration
**/
typedef struct {

/** Offset 0x0000
**/
  FSP_UPD_HEADER              FspUpdHeader;

/** Offset 0x0020
**/
  FSPT_ARCH_UPD               FsptArchUpd;

/** Offset 0x0040
**/
  FSPT_COMMON_UPD             FsptCommonUpd;

/** Offset 0x0060
**/
  FSP_T_CONFIG                FsptConfig;

/** Offset 0x0080
**/
  UINT8                       UnusedUpdSpace0[6];

/** Offset 0x0086
**/
  UINT16                      UpdTerminator;
} FSPT_UPD;

#pragma pack()

#endif