VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/IntelFsp2Pkg/Tools/Tests/ExpectedFspmUpd.h@ 105670

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