]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/Tools/Tests/ExpectedFspmUpd.h
49dadbac62146e39d48d408af570ed699bb46446
[mirror_edk2.git] / IntelFsp2Pkg / Tools / Tests / ExpectedFspmUpd.h
1 #ifndef __FSPMUPD_H__
2 #define __FSPMUPD_H__
3
4 #include <FspUpd.h>
5
6 #pragma pack(1)
7
8
9 /** Fsp M Configuration
10 **/
11 typedef struct {
12
13 /** Offset 0x00C8 - Debug Serial Port Base address
14 Debug serial port base address. This option will be used only when the 'Serial Port
15 Debug Device' option is set to 'External Device'. 0x00000000(Default).
16 **/
17 UINT32 SerialDebugPortAddress;
18
19 /** Offset 0x00CC - Debug Serial Port Type
20 16550 compatible debug serial port resource type. NONE means no serial port support.
21 0x02:MMIO(Default).
22 0:NONE, 1:I/O, 2:MMIO
23 **/
24 UINT8 SerialDebugPortType;
25
26 /** Offset 0x00CD - Serial Port Debug Device
27 Select active serial port device for debug.For SOC UART devices,'Debug Serial Port
28 Base' options will be ignored. 0x02:SOC UART2(Default).
29 0:SOC UART0, 1:SOC UART1, 2:SOC UART2, 3:External Device
30 **/
31 UINT8 SerialDebugPortDevice;
32
33 /** Offset 0x00CE - Debug Serial Port Stride Size
34 Debug serial port register map stride size in bytes. 0x00:1, 0x02:4(Default).
35 0:1, 2:4
36 **/
37 UINT8 SerialDebugPortStrideSize;
38
39 /** Offset 0x00CF
40 **/
41 UINT8 UnusedUpdSpace2[1];
42
43 /** Offset 0x00D0
44 **/
45 UINT8 ReservedFspmUpd[4];
46 } FSP_M_CONFIG;
47
48 /** Fsp M UPD Configuration
49 **/
50 typedef struct {
51
52 /** Offset 0x0000
53 **/
54 FSP_UPD_HEADER FspUpdHeader;
55
56 /** Offset 0x00A8
57 **/
58 FSPM_ARCH_UPD FspmArchUpd;
59
60 /** Offset 0x00C8
61 **/
62 FSP_M_CONFIG FspmConfig;
63
64 /** Offset 0x00D4
65 **/
66 UINT8 UnusedUpdSpace3[2];
67
68 /** Offset 0x00D6
69 **/
70 UINT16 UpdTerminator;
71 } FSPM_UPD;
72
73 #pragma pack()
74
75 #endif