VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/IntelFsp2Pkg/Tools/Tests/ExpectedFsptUpd.h@ 107064

Last change on this file since 107064 was 99404, checked in by vboxsync, 23 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette