mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-17 23:58:12 +02:00
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3091 Add support for YAML format file generation in addition to current BSF structure. Configuration of YAML format output will be supported by an open source ConfigEditor. Reference to YAML code, test and ConfigEditor is at https://github.com/joshloo/fsp_yaml_cfg/tree/master/Tools A unit test is also added in Tests folder. This test compares the generated yaml file against the expected output to know if it is constructing the yaml data structure as expected. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Signed-off-by: Loo Tung Lun <tung.lun.loo@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
70 lines
1.4 KiB
C
70 lines
1.4 KiB
C
#ifndef __FSPSUPD_H__
|
|
#define __FSPSUPD_H__
|
|
|
|
#include <FspUpd.h>
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
/** Fsp S Configuration
|
|
**/
|
|
typedef struct {
|
|
|
|
/** Offset 0x0118 - BMP Logo Data Size
|
|
BMP logo data buffer size. 0x00000000(Default).
|
|
**/
|
|
UINT32 LogoSize;
|
|
|
|
/** Offset 0x011C - BMP Logo Data Pointer
|
|
BMP logo data pointer to a BMP format buffer. 0x00000000(Default).
|
|
**/
|
|
UINT32 LogoPtr;
|
|
|
|
/** Offset 0x0120 - Graphics Configuration Data Pointer
|
|
Graphics configuration data used for initialization. 0x00000000(Default).
|
|
**/
|
|
UINT32 GraphicsConfigPtr;
|
|
|
|
/** Offset 0x0124 - PCI GFX Temporary MMIO Base
|
|
PCI Temporary PCI GFX Base used before full PCI enumeration. 0x80000000(Default).
|
|
**/
|
|
UINT32 PciTempResourceBase;
|
|
|
|
/** Offset 0x0128
|
|
**/
|
|
UINT8 UnusedUpdSpace1[3];
|
|
|
|
/** Offset 0x012B
|
|
**/
|
|
UINT8 ReservedFspsUpd;
|
|
} FSP_S_CONFIG;
|
|
|
|
/** Fsp S UPD Configuration
|
|
**/
|
|
typedef struct {
|
|
|
|
/** Offset 0x0000
|
|
**/
|
|
FSP_UPD_HEADER FspUpdHeader;
|
|
|
|
/** Offset 0x00F8
|
|
**/
|
|
FSPS_ARCH_UPD FspsArchUpd;
|
|
|
|
/** Offset 0x0118
|
|
**/
|
|
FSP_S_CONFIG FspsConfig;
|
|
|
|
/** Offset 0x012C
|
|
**/
|
|
UINT8 UnusedUpdSpace2[2];
|
|
|
|
/** Offset 0x012E
|
|
**/
|
|
UINT16 UpdTerminator;
|
|
} FSPS_UPD;
|
|
|
|
#pragma pack()
|
|
|
|
#endif
|