<p>Philipp Deppenwiese has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/29517">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel: Hook up FSP 1.0 for FSP repo<br><br>* Add Rangeley and Baytrail support.<br>* Broadwell DE is buggy atm and I have<br> already requested support from Intel<br>* Disable warnings as errors as long<br> issues are not resolved<br>* Delete code and headers for repo use.<br><br>Change-Id: I17d9a4c1ffea86ca1a87e5eef5c15f510624d5a9<br>Signed-off-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com><br>---<br>M Makefile.inc<br>M src/Kconfig<br>M src/drivers/intel/fsp1_0/Kconfig<br>M src/drivers/intel/fsp1_0/Makefile.inc<br>M src/northbridge/intel/fsp_rangeley/fsp/Kconfig<br>M src/soc/intel/fsp_baytrail/fsp/Kconfig<br>M src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c<br>M src/soc/intel/fsp_broadwell_de/fsp/Kconfig<br>M src/vendorcode/intel/Makefile.inc<br>D src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_1gb.absf<br>D src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_2gb.absf<br>D src/vendorcode/intel/fsp1_0/baytrail/include/azalia.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fsp.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspapi.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspffs.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspfv.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fsphob.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspinfoheader.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspplatform.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fsptypes.h<br>D src/vendorcode/intel/fsp1_0/baytrail/include/fspvpd.h<br>D src/vendorcode/intel/fsp1_0/baytrail/srx/board_fsp.c<br>D src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspapi.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspbootmode.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspffs.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspfv.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspguid.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fsphob.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspinfoheader.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspplatform.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspsupport.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h<br>D src/vendorcode/intel/fsp1_0/rangeley/include/fspvpd.h<br>D src/vendorcode/intel/fsp1_0/rangeley/srx/fsp_support.c<br>D src/vendorcode/intel/fsp1_0/rangeley/srx/fsphob.c<br>36 files changed, 78 insertions(+), 5,481 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29517/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Makefile.inc b/Makefile.inc</span><br><span>index aaae7bc..82a2636 100644</span><br><span>--- a/Makefile.inc</span><br><span>+++ b/Makefile.inc</span><br><span>@@ -198,6 +198,14 @@</span><br><span> ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)</span><br><span> forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))</span><br><span> endif</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_PLATFORM_USES_FSP1_0),y)</span><br><span style="color: hsl(120, 100%, 40%);">+forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_FSP_USE_REPO),y)</span><br><span style="color: hsl(120, 100%, 40%);">+FSP_SRC_FILES := $(wildcard $(call strip_quotes,$(CONFIG_FSP_SRC_PATH))/*.c)</span><br><span style="color: hsl(120, 100%, 40%);">+FSP_SRC_CODE := $(foreach file, $(FSP_SRC_FILES), $(call strip_quotes,$(CONFIG_FSP_SRC_PATH))/$(notdir $(file)))</span><br><span style="color: hsl(120, 100%, 40%);">+ramstage-y += $(FSP_SRC_CODE)</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span> endif</span><br><span> UPDATED_SUBMODULES:=1</span><br><span> COREBOOT_EXPORTS += UPDATED_SUBMODULES</span><br><span>diff --git a/src/Kconfig b/src/Kconfig</span><br><span>index 2777d26..2043e9c 100644</span><br><span>--- a/src/Kconfig</span><br><span>+++ b/src/Kconfig</span><br><span>@@ -1063,7 +1063,7 @@</span><br><span> </span><br><span> config WARNINGS_ARE_ERRORS</span><br><span> bool</span><br><span style="color: hsl(0, 100%, 40%);">- default y</span><br><span style="color: hsl(120, 100%, 40%);">+ default y if !PLATFORM_USES_FSP1_0 && !FSP_USE_REPO</span><br><span> </span><br><span> # The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,</span><br><span> # POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are</span><br><span>diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig</span><br><span>index c7f6c18..bfcb99d 100644</span><br><span>--- a/src/drivers/intel/fsp1_0/Kconfig</span><br><span>+++ b/src/drivers/intel/fsp1_0/Kconfig</span><br><span>@@ -26,23 +26,22 @@</span><br><span> Note: Without this binary, coreboot builds relying on the FSP</span><br><span> will not boot</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config DCACHE_RAM_BASE</span><br><span style="color: hsl(0, 100%, 40%);">- hex</span><br><span style="color: hsl(0, 100%, 40%);">- default 0xfef00000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-config DCACHE_RAM_SIZE</span><br><span style="color: hsl(0, 100%, 40%);">- hex</span><br><span style="color: hsl(0, 100%, 40%);">- default 0x4000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> if HAVE_FSP_BIN</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ bool "Use the IntelFSP based binaries"</span><br><span style="color: hsl(120, 100%, 40%);">+ default y</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on SOC_INTEL_FSP_BAYTRAIL || SOC_INTEL_FSP_BROADWELL_DE || NORTHBRIDGE_INTEL_FSP_RANGELEY</span><br><span style="color: hsl(120, 100%, 40%);">+ help</span><br><span style="color: hsl(120, 100%, 40%);">+ When selecting this option, the SoC must set FSP_HEADER_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ and FSP_FD_PATH correctly so FSP splitting works.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> config FSP_FILE</span><br><span> string "Intel FSP binary path and filename"</span><br><span style="color: hsl(120, 100%, 40%);">+ default "$(obj)/Fsp.fd" if FSP_USE_REPO</span><br><span> help</span><br><span> The path and filename of the Intel FSP binary for this platform.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-endif #HAVE_FSP_BIN</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> config FSP_LOC</span><br><span> hex "Intel FSP Binary location in CBFS"</span><br><span> help</span><br><span>@@ -50,6 +49,16 @@</span><br><span> value that is set in the FSP binary. If the FSP needs to be moved,</span><br><span> rebase the FSP with Intel's BCT (tool).</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+endif #HAVE_FSP_BIN</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config DCACHE_RAM_BASE</span><br><span style="color: hsl(120, 100%, 40%);">+ hex</span><br><span style="color: hsl(120, 100%, 40%);">+ default 0xfef00000</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config DCACHE_RAM_SIZE</span><br><span style="color: hsl(120, 100%, 40%);">+ hex</span><br><span style="color: hsl(120, 100%, 40%);">+ default 0x4000</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> config ENABLE_FSP_FAST_BOOT</span><br><span> bool "Enable Fast Boot"</span><br><span> select ENABLE_MRC_CACHE</span><br><span>@@ -115,4 +124,5 @@</span><br><span> default n</span><br><span> help</span><br><span> If this FSP uses UPD/VPD data regions, select this in the chipset Kconfig.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> endif #PLATFORM_USES_FSP1_0</span><br><span>diff --git a/src/drivers/intel/fsp1_0/Makefile.inc b/src/drivers/intel/fsp1_0/Makefile.inc</span><br><span>index 67741a9..58f78e1 100644</span><br><span>--- a/src/drivers/intel/fsp1_0/Makefile.inc</span><br><span>+++ b/src/drivers/intel/fsp1_0/Makefile.inc</span><br><span>@@ -26,11 +26,24 @@</span><br><span> cpu_incs-$(CONFIG_USE_GENERIC_FSP_CAR_INC) += $(src)/drivers/intel/fsp1_0/cache_as_ram.inc</span><br><span> </span><br><span> ifeq ($(CONFIG_HAVE_FSP_BIN),y)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_FSP_USE_REPO),y)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+$(obj)/Fsp.fd:</span><br><span style="color: hsl(120, 100%, 40%);">+ cp -f $(CONFIG_FSP_FD_PATH) $(CONFIG_FSP_FILE)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> cbfs-files-y += fsp.bin</span><br><span> fsp.bin-file := $(call strip_quotes,$(CONFIG_FSP_FILE))</span><br><span> fsp.bin-position := $(CONFIG_FSP_LOC)</span><br><span> fsp.bin-type := fsp</span><br><span> fsp.bin-options := --xip</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),)</span><br><span style="color: hsl(120, 100%, 40%);">+CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> endif</span><br><span> </span><br><span> ifeq ($(CONFIG_ENABLE_MRC_CACHE),y)</span><br><span>diff --git a/src/northbridge/intel/fsp_rangeley/fsp/Kconfig b/src/northbridge/intel/fsp_rangeley/fsp/Kconfig</span><br><span>index 67ed66b..8a39f0e 100644</span><br><span>--- a/src/northbridge/intel/fsp_rangeley/fsp/Kconfig</span><br><span>+++ b/src/northbridge/intel/fsp_rangeley/fsp/Kconfig</span><br><span>@@ -20,11 +20,19 @@</span><br><span> select FSP_USES_UPD</span><br><span> select ENABLE_MRC_CACHE #rangeley FSP always needs MRC data</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config FSP_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_HEADER_PATH</span><br><span> string</span><br><span style="color: hsl(0, 100%, 40%);">- default "../intel/fsp/rangeley/FvFsp.bin"</span><br><span style="color: hsl(0, 100%, 40%);">- help</span><br><span style="color: hsl(0, 100%, 40%);">- The path and filename of the Intel FSP binary for this platform.</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/RangeleyFspBinPkg/Include/"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_FD_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/RangeleyFspBinPkg/FspBin/RangeleyFSP.fd"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_SRC_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/RangeleyFspBinPkg/SampleCode/"</span><br><span> </span><br><span> config FSP_LOC</span><br><span> hex</span><br><span>diff --git a/src/soc/intel/fsp_baytrail/fsp/Kconfig b/src/soc/intel/fsp_baytrail/fsp/Kconfig</span><br><span>index 3fe358e..e6e0c80 100644</span><br><span>--- a/src/soc/intel/fsp_baytrail/fsp/Kconfig</span><br><span>+++ b/src/soc/intel/fsp_baytrail/fsp/Kconfig</span><br><span>@@ -19,11 +19,19 @@</span><br><span> select USE_GENERIC_FSP_CAR_INC</span><br><span> select FSP_USES_UPD</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config FSP_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_HEADER_PATH</span><br><span> string</span><br><span style="color: hsl(0, 100%, 40%);">- default "../intel/fsp/baytrail/BAYTRAIL_FSP.fd"</span><br><span style="color: hsl(0, 100%, 40%);">- help</span><br><span style="color: hsl(0, 100%, 40%);">- The path and filename of the Intel FSP binary for this platform.</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/BayTrailFspBinPkg/Include/"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_FD_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/BayTrailFspBinPkg/FspBin/BayTrailFSP.fd"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_SRC_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/BayTrailFspBinPkg/SampleCode/"</span><br><span> </span><br><span> config FSP_LOC</span><br><span> hex</span><br><span>diff --git a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c</span><br><span>index 13bc883..8511455 100644</span><br><span>--- a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c</span><br><span>+++ b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c</span><br><span>@@ -102,19 +102,12 @@</span><br><span> UPD_DEFAULT_CHECK(PcdIgdDvmt50PreAlloc);</span><br><span> UPD_DEFAULT_CHECK(PcdApertureSize);</span><br><span> UPD_DEFAULT_CHECK(PcdGttSize);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(SerialDebugPortAddress);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(SerialDebugPortType);</span><br><span> UPD_DEFAULT_CHECK(PcdMrcDebugMsg);</span><br><span> UPD_DEFAULT_CHECK(PcdSccEnablePciMode);</span><br><span> UPD_DEFAULT_CHECK(IgdRenderStandby);</span><br><span> UPD_DEFAULT_CHECK(TxeUmaEnable);</span><br><span> UPD_DEFAULT_CHECK(PcdOsSelection);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(PcdEMMC45DDR50Enabled);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(PcdEMMC45HS200Enabled);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(PcdEMMC45RetuneTimerValue);</span><br><span> UPD_DEFAULT_CHECK(PcdEnableIgd);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(AutoSelfRefreshEnable);</span><br><span style="color: hsl(0, 100%, 40%);">- UPD_DEFAULT_CHECK(APTaskTimeoutCnt);</span><br><span> </span><br><span> if (config->PcdeMMCBootMode == EMMC_FOLLOWS_DEVICETREE)</span><br><span> UpdData->PcdeMMCBootMode = 0;</span><br><span>diff --git a/src/soc/intel/fsp_broadwell_de/fsp/Kconfig b/src/soc/intel/fsp_broadwell_de/fsp/Kconfig</span><br><span>index 32fe0b8..ae05a27 100644</span><br><span>--- a/src/soc/intel/fsp_broadwell_de/fsp/Kconfig</span><br><span>+++ b/src/soc/intel/fsp_broadwell_de/fsp/Kconfig</span><br><span>@@ -4,11 +4,19 @@</span><br><span> select USE_GENERIC_FSP_CAR_INC</span><br><span> select FSP_USES_UPD</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config FSP_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_HEADER_PATH</span><br><span> string</span><br><span style="color: hsl(0, 100%, 40%);">- default "../intel/fsp/broadwell_de/BROADWELLDE_FSP.bin"</span><br><span style="color: hsl(0, 100%, 40%);">- help</span><br><span style="color: hsl(0, 100%, 40%);">- The path and filename of the Intel FSP binary for this platform.</span><br><span style="color: hsl(120, 100%, 40%);">+ default "src/vendorcode/intel/fsp1_0/broadwell_de/include/"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_FD_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "3rdparty/fsp/BroadwellDEFspBinPkg/FspBin/BROADWELLDE_FSP.bin"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config FSP_SRC_PATH</span><br><span style="color: hsl(120, 100%, 40%);">+ string</span><br><span style="color: hsl(120, 100%, 40%);">+ depends on FSP_USE_REPO</span><br><span style="color: hsl(120, 100%, 40%);">+ default "src/vendorcode/intel/fsp1_0/broadwell_de/srx/"</span><br><span> </span><br><span> config FSP_LOC</span><br><span> hex</span><br><span>diff --git a/src/vendorcode/intel/Makefile.inc b/src/vendorcode/intel/Makefile.inc</span><br><span>index 33b2f81..7b9ca51 100644</span><br><span>--- a/src/vendorcode/intel/Makefile.inc</span><br><span>+++ b/src/vendorcode/intel/Makefile.inc</span><br><span>@@ -14,15 +14,6 @@</span><br><span> ## GNU General Public License for more details.</span><br><span> ##</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-ifneq ($(CONFIG_FSP_VENDORCODE_HEADER_PATH),)</span><br><span style="color: hsl(0, 100%, 40%);">-FSP_PATH := $(call strip_quotes,$(CONFIG_FSP_VENDORCODE_HEADER_PATH))</span><br><span style="color: hsl(0, 100%, 40%);">-FSP_SRC_FILES := $(wildcard src/vendorcode/intel/$(FSP_PATH)/srx/*.c)</span><br><span style="color: hsl(0, 100%, 40%);">-FSP_C_INPUTS := $(foreach file, $(FSP_SRC_FILES), $(FSP_PATH)/srx/$(notdir $(file)))</span><br><span style="color: hsl(0, 100%, 40%);">-ramstage-y += $(FSP_C_INPUTS)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-CFLAGS_x86_32 += -Isrc/vendorcode/intel/$(FSP_PATH)/include</span><br><span style="color: hsl(0, 100%, 40%);">-endif</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> ifeq ($(CONFIG_UEFI_2_4_BINDING),y)</span><br><span> # ProccessorBind.h provided in Ia32 directory. Types are derived from ia32.</span><br><span> # It's possible to provide our own ProcessorBind.h using posix types. However,</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_1gb.absf b/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_1gb.absf</span><br><span>deleted file mode 100644</span><br><span>index 66ab0d7..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_1gb.absf</span><br><span>+++ /dev/null</span><br><span>@@ -1,328 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// This file contains an 'Intel Peripheral Driver' and is</span><br><span style="color: hsl(0, 100%, 40%);">-// licensed for Intel CPUs and chipsets under the terms of your</span><br><span style="color: hsl(0, 100%, 40%);">-// license agreement with Intel or your vendor. This file must not</span><br><span style="color: hsl(0, 100%, 40%);">-// be modified by end users or could render the generated boot loader</span><br><span style="color: hsl(0, 100%, 40%);">-// inoperable.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// @file</span><br><span style="color: hsl(0, 100%, 40%);">-// Boot Setting File for Platform: Bayley Bay Platform</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Copyright (c) 2010-2013 Intel Corporation. All rights reserved</span><br><span style="color: hsl(0, 100%, 40%);">-// This software and associated documentation (if any) is furnished</span><br><span style="color: hsl(0, 100%, 40%);">-// under a license and may only be used or copied in accordance</span><br><span style="color: hsl(0, 100%, 40%);">-// with the terms of the license. Except as permitted by such</span><br><span style="color: hsl(0, 100%, 40%);">-// license, no part of this software or documentation may be</span><br><span style="color: hsl(0, 100%, 40%);">-// reproduced, stored in a retrieval system, or transmitted in any</span><br><span style="color: hsl(0, 100%, 40%);">-// form or by any means without the express written consent of</span><br><span style="color: hsl(0, 100%, 40%);">-// Intel Corporation.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-GlobalDataDef</span><br><span style="color: hsl(0, 100%, 40%);">- SKUID = 0 $_AS_BUILT_ = 0x01 , "DEFAULT"</span><br><span style="color: hsl(0, 100%, 40%);">-EndGlobalData</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-StructDef</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Find "VLV2UPDR"</span><br><span style="color: hsl(0, 100%, 40%);">- Skip 24 bytes</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize 2 bytes $_AS_BUILT_ = 0x1, 0x0 $_DEFAULT_ = 0x0001</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize 2 bytes $_AS_BUILT_ = 0x0, 0x8 $_DEFAULT_ = 0x0800</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr1 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0xA0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr2 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0xA2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdeMMCBootMode 1 byte $_AS_BUILT_ = 0x3 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdio 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdcard 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSpi 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableLan 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdSataMode 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_AzaliaConfigPtr 4 bytes $_AS_BUILT_ = 0x0, 0x0, 0x0, 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdLpssSioEnablePciMode 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsi 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdGttSize 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_ISPEnable 1 bytes $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Find "VLYVIEW1"</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdImageRevision 4 bytes $_AS_BUILT_ = 0x2, 0x3, 0x0, 0x0 $_DEFAULT_ = 0x00000302</span><br><span style="color: hsl(0, 100%, 40%);">- Skip 24 bytes</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdPlatformType 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_MemDown 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DRAM_Speed 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $DRAM_Type 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $Rank_En_0_0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $Rank_En_1_0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_DWidth_0_0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_Density_0_0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_BusWidth_0_0 1 byte $_AS_BUILT_ = 0x3 $_DEFAULT_ = 3</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_Sides_0_0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $tCL 1 byte $_AS_BUILT_ = 0x7 $_DEFAULT_ = 9</span><br><span style="color: hsl(0, 100%, 40%);">- $tRP_tRCD 1 byte $_AS_BUILT_ = 0x7 $_DEFAULT_ = 9</span><br><span style="color: hsl(0, 100%, 40%);">- $tWR 1 byte $_AS_BUILT_ = 0x8 $_DEFAULT_ = 10</span><br><span style="color: hsl(0, 100%, 40%);">- $tWTR 1 byte $_AS_BUILT_ = 0x4 $_DEFAULT_ = 5</span><br><span style="color: hsl(0, 100%, 40%);">- $tRRD 1 byte $_AS_BUILT_ = 0x6 $_DEFAULT_ = 4</span><br><span style="color: hsl(0, 100%, 40%);">- $tRTP 1 byte $_AS_BUILT_ = 0x4 $_DEFAULT_ = 5</span><br><span style="color: hsl(0, 100%, 40%);">- $tFAW 1 byte $_AS_BUILT_ = 0x14 $_DEFAULT_ = 20</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-EndStruct</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DRAMSPEED</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "800 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "1066 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "1333 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "1600 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DRAMTYPE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "DDR3"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "DDR3L"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "DDR3U"</span><br><span style="color: hsl(0, 100%, 40%);">- //Selection 0x3 , "LPDDR2"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x4 , "LPDDR2"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x5 , "LPDDR3"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x6 , "DDR4"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMDWIDTH</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "x8"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "x16"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "x32"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMDENSITY</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "1 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "2 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "4 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "8 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMBUSWIDTH</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "16 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "32 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "64 bits"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &RANKPERDIMM</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "2 Ranks"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "1 Rank"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &SATA_MODE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "AHCI"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "IDE"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EMMC_MODES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Auto"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "eMMC 4.1"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "eMMC 4.5"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EN_DIS</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Enabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EN_DIS_AUTO</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "Auto"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Enabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &MMIO_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x400, "1.0 GB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x600, "1.5 GB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x800, "2.0 GB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &TSEG_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x01, "1 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x02, "2 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x04, "4 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x08, "8 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &IGDPREALLOC_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x01, "32 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x02, "64 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x03, "96 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x04, "128 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x05, "160 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x06, "192 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x07, "224 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x08, "256 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x09, "288 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0A, "320 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0B, "352 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0C, "384 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0D, "416 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0E, "448 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0F, "480 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x10, "512 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &APERTURE_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "128 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "256 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "512 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List >T_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "1 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "2 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &PCI_ACPI</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "ACPI Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "PCI Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &PLATFORM_TYPE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "BayleyBay Platform Type"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "BakerSport Platform (ECC) Type"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-BeginInfoBlock</span><br><span style="color: hsl(0, 100%, 40%);">- PPVer "1.0"</span><br><span style="color: hsl(0, 100%, 40%);">- Description "MinnowMax"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-EndInfoBlock</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "Platform"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdPlatformType, "Platform Type", &PLATFORM_TYPE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select Platform Type."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot, "Enable Secure Boot", &EN_DIS_AUTO,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable secure boot. Auto by default."</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "North Complex"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize, "Tseg Size", &TSEG_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory reserved for SMRAM, in MB."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize, "Mmio Size", &MMIO_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory address space reserved for MMIO (Memory Mapped I/O), in GB."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc, "Internal Graphics Pre-allocated Memory ", &IGDPREALLOC_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory preallocated for internal graphics"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize, "Aperture Size", &APERTURE_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select the Aperture Size"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdGttSize, "GTT Size", >T_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select the GTT Size"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr1, "DIMM 0 SPD SMBus Address", HEX,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Address of DIMM 0. 8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr2, "DIMM 1 SPD SMBus Address", HEX,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Address of DIMM 1. 8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "Memory Down"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_MemDown, "Enable Memory Down", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable = Memory Down, Disable = DIMM"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DRAM_Speed, "DRAM Speed", &DRAMSPEED,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM Speed"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DRAM_Type, "DRAM Type", &DRAMTYPE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM Type"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $Rank_En_0_0, "DIMM 0 Enable", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Please populate DIMM slot 0 if only one DIMM is supported."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $Rank_En_1_0, "DIMM 1 Enable", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DIMM 1 has to be identical to DIMM 0."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_DWidth_0_0, "DIMM_DWidth", &DIMMDWIDTH,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM device data width."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_Density_0_0, "DIMM_Density", &DIMMDENSITY,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM device data density."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_BusWidth_0_0, "DIMM_BusWidth", &DIMMBUSWIDTH,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DIMM Bus Width."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_Sides_0_0, "DIMM_Sides", &RANKPERDIMM,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Ranks Per DIMM. "</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tCL, "tCL", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tCL"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRP_tRCD, "tRP_tRCD", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc."</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tWR, "tWR", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tWR in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tWTR, "tWTR", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tWTR in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRRD, "tRRD", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRRD in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRTP, "tRTP", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRTP in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tFAW, "tFAW", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tFAW in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "South Complex"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdSataMode, "Select SATA Mode", &SATA_MODE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select SATA boot mode. AHCI by default."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci, "Enable XHCI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable XHCI. If enabled, all EHCI ports will be routed to XHCI and EHCI will be disabled."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdeMMCBootMode, "eMMC Boot Mode", &EMMC_MODES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select EMMC Mode."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdio, "Enable SDIO", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SDIO."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdcard, "Enable SD Card", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable the SD Card."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0, "Enable HSUART0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSUART0."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1, "Enable HSUART1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSUART1."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSpi, "Enable SPI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SPI."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLan, "Enable LAN", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable LAN."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia, "Enable Azalia", &EN_DIS_AUTO,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable Azalia. Auto by default."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata, "Enable SATA", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SATA."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe, "Enable LPE", &PCI_ACPI,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Choose LPE Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdLpssSioEnablePciMode, "Enable PCI mode for LPSS SIO devices", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable PCI Mode for LPSS SIO devices. If disabled, LPSS SIO devices will run in ACPI mode."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0, "Enable DMA0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable DMA0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1, "Enable DMA1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable DMA1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0, "Enable I2C0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1, "Enable I2C1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2, "Enable I2C2", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C2"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3, "Enable I2C3", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C3"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4, "Enable I2C4", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C4"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5, "Enable I2C5", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C5"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6, "Enable I2C6", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C6"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm0, "Enable PWM0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable PWM0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm1, "Enable PWM1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable PWM1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsi, "Enable HSI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSI"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_ISPEnable, "Enable ISP", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable ISP."</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_2gb.absf b/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_2gb.absf</span><br><span>deleted file mode 100644</span><br><span>index 6992fe7..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/absf/minnowmax_2gb.absf</span><br><span>+++ /dev/null</span><br><span>@@ -1,328 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// This file contains an 'Intel Peripheral Driver' and is</span><br><span style="color: hsl(0, 100%, 40%);">-// licensed for Intel CPUs and chipsets under the terms of your</span><br><span style="color: hsl(0, 100%, 40%);">-// license agreement with Intel or your vendor. This file must not</span><br><span style="color: hsl(0, 100%, 40%);">-// be modified by end users or could render the generated boot loader</span><br><span style="color: hsl(0, 100%, 40%);">-// inoperable.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// @file</span><br><span style="color: hsl(0, 100%, 40%);">-// Boot Setting File for Platform: Bayley Bay Platform</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Copyright (c) 2010-2013 Intel Corporation. All rights reserved</span><br><span style="color: hsl(0, 100%, 40%);">-// This software and associated documentation (if any) is furnished</span><br><span style="color: hsl(0, 100%, 40%);">-// under a license and may only be used or copied in accordance</span><br><span style="color: hsl(0, 100%, 40%);">-// with the terms of the license. Except as permitted by such</span><br><span style="color: hsl(0, 100%, 40%);">-// license, no part of this software or documentation may be</span><br><span style="color: hsl(0, 100%, 40%);">-// reproduced, stored in a retrieval system, or transmitted in any</span><br><span style="color: hsl(0, 100%, 40%);">-// form or by any means without the express written consent of</span><br><span style="color: hsl(0, 100%, 40%);">-// Intel Corporation.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-GlobalDataDef</span><br><span style="color: hsl(0, 100%, 40%);">- SKUID = 0 $_AS_BUILT_ = 0x01 , "DEFAULT"</span><br><span style="color: hsl(0, 100%, 40%);">-EndGlobalData</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-StructDef</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Find "VLV2UPDR"</span><br><span style="color: hsl(0, 100%, 40%);">- Skip 24 bytes</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize 2 bytes $_AS_BUILT_ = 0x1, 0x0 $_DEFAULT_ = 0x0001</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize 2 bytes $_AS_BUILT_ = 0x0, 0x8 $_DEFAULT_ = 0x0800</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr1 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0xA0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr2 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0xA2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdeMMCBootMode 1 byte $_AS_BUILT_ = 0x3 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdio 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdcard 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSpi 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableLan 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdSataMode 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_AzaliaConfigPtr 4 bytes $_AS_BUILT_ = 0x0, 0x0, 0x0, 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdLpssSioEnablePciMode 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm1 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsi 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdGttSize 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_ISPEnable 1 bytes $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Find "VLYVIEW1"</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdImageRevision 4 bytes $_AS_BUILT_ = 0x2, 0x3, 0x0, 0x0 $_DEFAULT_ = 0x00000302</span><br><span style="color: hsl(0, 100%, 40%);">- Skip 24 bytes</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdPlatformType 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_MemDown 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DRAM_Speed 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 2</span><br><span style="color: hsl(0, 100%, 40%);">- $DRAM_Type 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $Rank_En_0_0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $Rank_En_1_0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_DWidth_0_0 1 byte $_AS_BUILT_ = 0x1 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_Density_0_0 1 byte $_AS_BUILT_ = 0x2 $_DEFAULT_ = 1</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_BusWidth_0_0 1 byte $_AS_BUILT_ = 0x3 $_DEFAULT_ = 3</span><br><span style="color: hsl(0, 100%, 40%);">- $DIMM_Sides_0_0 1 byte $_AS_BUILT_ = 0x0 $_DEFAULT_ = 0</span><br><span style="color: hsl(0, 100%, 40%);">- $tCL 1 byte $_AS_BUILT_ = 0x7 $_DEFAULT_ = 9</span><br><span style="color: hsl(0, 100%, 40%);">- $tRP_tRCD 1 byte $_AS_BUILT_ = 0x7 $_DEFAULT_ = 9</span><br><span style="color: hsl(0, 100%, 40%);">- $tWR 1 byte $_AS_BUILT_ = 0x8 $_DEFAULT_ = 10</span><br><span style="color: hsl(0, 100%, 40%);">- $tWTR 1 byte $_AS_BUILT_ = 0x4 $_DEFAULT_ = 5</span><br><span style="color: hsl(0, 100%, 40%);">- $tRRD 1 byte $_AS_BUILT_ = 0x6 $_DEFAULT_ = 4</span><br><span style="color: hsl(0, 100%, 40%);">- $tRTP 1 byte $_AS_BUILT_ = 0x4 $_DEFAULT_ = 5</span><br><span style="color: hsl(0, 100%, 40%);">- $tFAW 1 byte $_AS_BUILT_ = 0x14 $_DEFAULT_ = 20</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-EndStruct</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DRAMSPEED</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "800 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "1066 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "1333 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "1600 MHz"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DRAMTYPE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "DDR3"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "DDR3L"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "DDR3U"</span><br><span style="color: hsl(0, 100%, 40%);">- //Selection 0x3 , "LPDDR2"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x4 , "LPDDR2"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x5 , "LPDDR3"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x6 , "DDR4"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMDWIDTH</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "x8"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "x16"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "x32"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMDENSITY</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "1 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "2 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "4 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "8 Gbit"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &DIMMBUSWIDTH</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "16 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "32 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "64 bits"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &RANKPERDIMM</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "2 Ranks"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "1 Rank"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &SATA_MODE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "AHCI"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "IDE"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EMMC_MODES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Auto"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "eMMC 4.1"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "eMMC 4.5"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EN_DIS</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Enabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &EN_DIS_AUTO</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "Auto"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "Enabled"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &MMIO_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x400, "1.0 GB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x600, "1.5 GB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x800, "2.0 GB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &TSEG_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x01, "1 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x02, "2 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x04, "4 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x08, "8 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &IGDPREALLOC_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x01, "32 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x02, "64 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x03, "96 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x04, "128 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x05, "160 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x06, "192 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x07, "224 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x08, "256 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x09, "288 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0A, "320 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0B, "352 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0C, "384 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0D, "416 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0E, "448 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0F, "480 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x10, "512 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &APERTURE_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "128 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "256 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "512 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List >T_SIZES</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "1 MB"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "2 MB"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &PCI_ACPI</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "ACPI Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x1 , "PCI Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x0 , "Disabled"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-List &PLATFORM_TYPE</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x2 , "BayleyBay Platform Type"</span><br><span style="color: hsl(0, 100%, 40%);">- Selection 0x3 , "BakerSport Platform (ECC) Type"</span><br><span style="color: hsl(0, 100%, 40%);">-EndList</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-BeginInfoBlock</span><br><span style="color: hsl(0, 100%, 40%);">- PPVer "1.0"</span><br><span style="color: hsl(0, 100%, 40%);">- Description "MinnowMax"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-EndInfoBlock</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "Platform"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdPlatformType, "Platform Type", &PLATFORM_TYPE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select Platform Type."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot, "Enable Secure Boot", &EN_DIS_AUTO,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable secure boot. Auto by default."</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "North Complex"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize, "Tseg Size", &TSEG_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory reserved for SMRAM, in MB."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize, "Mmio Size", &MMIO_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory address space reserved for MMIO (Memory Mapped I/O), in GB."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc, "Internal Graphics Pre-allocated Memory ", &IGDPREALLOC_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Size of memory preallocated for internal graphics"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize, "Aperture Size", &APERTURE_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select the Aperture Size"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdGttSize, "GTT Size", >T_SIZES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select the GTT Size"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr1, "DIMM 0 SPD SMBus Address", HEX,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Address of DIMM 0. 8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSPDAddr2, "DIMM 1 SPD SMBus Address", HEX,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Address of DIMM 1. 8 bits"</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "Memory Down"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_MemDown, "Enable Memory Down", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable = Memory Down, Disable = DIMM"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DRAM_Speed, "DRAM Speed", &DRAMSPEED,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM Speed"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DRAM_Type, "DRAM Type", &DRAMTYPE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM Type"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $Rank_En_0_0, "DIMM 0 Enable", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Please populate DIMM slot 0 if only one DIMM is supported."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $Rank_En_1_0, "DIMM 1 Enable", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DIMM 1 has to be identical to DIMM 0."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_DWidth_0_0, "DIMM_DWidth", &DIMMDWIDTH,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM device data width."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_Density_0_0, "DIMM_Density", &DIMMDENSITY,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DRAM device data density."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_BusWidth_0_0, "DIMM_BusWidth", &DIMMBUSWIDTH,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "DIMM Bus Width."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $DIMM_Sides_0_0, "DIMM_Sides", &RANKPERDIMM,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Ranks Per DIMM. "</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tCL, "tCL", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tCL"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRP_tRCD, "tRP_tRCD", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc."</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tWR, "tWR", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tWR in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tWTR, "tWTR", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tWTR in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRRD, "tRRD", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRRD in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tRTP, "tRTP", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tRTP in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">- EditNum $tFAW, "tFAW", DEC,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "tFAW in DRAM clk"</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Page "South Complex"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdSataMode, "Select SATA Mode", &SATA_MODE,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select SATA boot mode. AHCI by default."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci, "Enable XHCI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable XHCI. If enabled, all EHCI ports will be routed to XHCI and EHCI will be disabled."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdeMMCBootMode, "eMMC Boot Mode", &EMMC_MODES,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Select EMMC Mode."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdio, "Enable SDIO", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SDIO."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSdcard, "Enable SD Card", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable the SD Card."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0, "Enable HSUART0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSUART0."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1, "Enable HSUART1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSUART1."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSpi, "Enable SPI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SPI."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLan, "Enable LAN", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable LAN."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia, "Enable Azalia", &EN_DIS_AUTO,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable Azalia. Auto by default."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata, "Enable SATA", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable SATA."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe, "Enable LPE", &PCI_ACPI,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Choose LPE Mode"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdLpssSioEnablePciMode, "Enable PCI mode for LPSS SIO devices", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable PCI Mode for LPSS SIO devices. If disabled, LPSS SIO devices will run in ACPI mode."</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0, "Enable DMA0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable DMA0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1, "Enable DMA1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable DMA1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0, "Enable I2C0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1, "Enable I2C1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2, "Enable I2C2", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C2"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3, "Enable I2C3", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C3"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4, "Enable I2C4", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C4"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5, "Enable I2C5", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C5"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6, "Enable I2C6", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable I2C6"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm0, "Enable PWM0", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable PWM0"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnablePwm1, "Enable PWM1", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable PWM1"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsi, "Enable HSI", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable HSI"</span><br><span style="color: hsl(0, 100%, 40%);">- Combo $gPlatformFspPkgTokenSpaceGuid_ISPEnable, "Enable ISP", &EN_DIS,</span><br><span style="color: hsl(0, 100%, 40%);">- Help "Enable/disable ISP."</span><br><span style="color: hsl(0, 100%, 40%);">-EndPage</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/azalia.h b/src/vendorcode/intel/fsp1_0/baytrail/include/azalia.h</span><br><span>deleted file mode 100644</span><br><span>index c58cf4c..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/azalia.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,66 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**@file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _AZALIA_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _AZALIA_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <stdint.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t VendorDeviceId;</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t SubSystemId;</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t RevisionId; /// 0xFF applies to all steppings</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t FrontPanelSupport;</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t NumberOfRearJacks;</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t NumberOfFrontJacks;</span><br><span style="color: hsl(0, 100%, 40%);">-} PCH_AZALIA_VERB_TABLE_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- PCH_AZALIA_VERB_TABLE_HEADER VerbTableHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *VerbTableData;</span><br><span style="color: hsl(0, 100%, 40%);">-} PCH_AZALIA_VERB_TABLE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t Pme : 1; /// 0: Disable; 1: Enable</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t DS : 1; /// 0: Docking is not supported; 1:Docking is supported</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t DA : 1; /// 0: Docking is not attached; 1:Docking is attached</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t HdmiCodec : 1; /// 0: Disable; 1: Enable</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t AzaliaVCi : 1; /// 0: Disable; 1: Enable</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t Rsvdbits : 3;</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t AzaliaVerbTableNum; /// Number of verb tables provided by platform</span><br><span style="color: hsl(0, 100%, 40%);">- PCH_AZALIA_VERB_TABLE *AzaliaVerbTable; /// Pointer to the actual verb table(s)</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t ResetWaitTimer; /// The delay timer after Azalia reset, the value is number of microseconds</span><br><span style="color: hsl(0, 100%, 40%);">-} PCH_AZALIA_CONFIG;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fsp.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fsp.h</span><br><span>deleted file mode 100644</span><br><span>index f2e1d8f..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fsp.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,69 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/** \file fsp.h</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">-#include <stdint.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspfv.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspffs.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsphob.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspapi.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspplatform.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspinfoheader.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspvpd.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_FSP_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">-{ 0x69a79759, 0x1373, 0x4367, { 0xa6, 0xc4, 0xc7, 0xf5, 0x9e, 0xfd, 0x98, 0x6e } }</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_NON_VOLATILE_STORAGE_HOB_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">-{ 0x721acf02, 0x4d77, 0x4c2a, { 0xb3, 0xdc, 0x27, 0xb, 0x7b, 0xa9, 0xe4, 0xb0 } }</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_TSEG_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">-{ 0xd038747c, 0xd00c, 0x4980, { 0xb3, 0x19, 0x49, 0x01, 0x99, 0xa4, 0x7d, 0x55 } }</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_GRAPHICS_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">-{ 0x9c7c3aa7, 0x5332, 0x4917, { 0x82, 0xb9, 0x56, 0xa5, 0xf3, 0xe6, 0x2a, 0x07 } }</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_BOOTLOADER_TEMPORARY_MEMORY_HOB_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">-{ 0xbbcff46c, 0xc8d3, 0x4113, { 0x89, 0x85, 0xb9, 0xd4, 0xf3, 0xb3, 0xf6, 0x4e } }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// 0x21 - 0xf..f are reserved.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_FULL_CONFIGURATION 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_MINIMAL_CONFIGURATION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_DEFAULT_SETTINGS 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S4_RESUME 0x05</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S5_RESUME 0x06</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S2_RESUME 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S3_RESUME 0x11</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_FLASH_UPDATE 0x12</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_IN_RECOVERY_MODE 0x20</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspapi.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspapi.h</span><br><span>deleted file mode 100644</span><br><span>index 26afc0e..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspapi.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,65 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_API_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_API_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef VOID (* CONTINUATION_PROC)(EFI_STATUS Status, VOID *HobListPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *NvsBufferPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *RtBufferPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- CONTINUATION_PROC ContinuationFunc;</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_PARAMS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *StackTop;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 BootMode;</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *UpdDataRgnPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved[7];</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_RT_COMMON_BUFFER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef enum {</span><br><span style="color: hsl(0, 100%, 40%);">- EnumInitPhaseAfterPciEnumeration = 0x20,</span><br><span style="color: hsl(0, 100%, 40%);">- EnumInitPhaseReadyToBoot = 0x40</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_PHASE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- FSP_INIT_PHASE Phase;</span><br><span style="color: hsl(0, 100%, 40%);">-} NOTIFY_PHASE_PARAMS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef FSP_STATUS (FSPAPI *FSP_FSP_INIT) (FSP_INIT_PARAMS *FspInitParamPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-typedef FSP_STATUS (FSPAPI *FSP_NOTFY_PHASE) (NOTIFY_PHASE_PARAMS *NotifyPhaseParamPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspffs.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspffs.h</span><br><span>deleted file mode 100644</span><br><span>index f3b83b2..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspffs.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,506 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_FIRMWARE_FILE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_FIRMWARE_FILE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef union {</span><br><span style="color: hsl(0, 100%, 40%);">- struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file</span><br><span style="color: hsl(0, 100%, 40%);">- /// header. The State and IntegrityCheck.Checksum.File fields are assumed</span><br><span style="color: hsl(0, 100%, 40%);">- /// to be zero and the checksum is calculated such that the entire header sums to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes</span><br><span style="color: hsl(0, 100%, 40%);">- /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit</span><br><span style="color: hsl(0, 100%, 40%);">- /// checksum of the file data.</span><br><span style="color: hsl(0, 100%, 40%);">- /// If the FFS_ATTRIB_CHECKSUM bit of the Attributes field is cleared to zero,</span><br><span style="color: hsl(0, 100%, 40%);">- /// the IntegrityCheck.Checksum.File field must be initialized with a value of</span><br><span style="color: hsl(0, 100%, 40%);">- /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_FILE_DATA_VALID bit is set in the State field.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 File;</span><br><span style="color: hsl(0, 100%, 40%);">- } Checksum;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This is the full 16 bits of the IntegrityCheck field.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Checksum16;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_INTEGRITY_CHECK;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS_FIXED_CHECKSUM is the checksum value used when the</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS_ATTRIB_CHECKSUM attribute bit is clear.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FIXED_CHECKSUM 0xAA</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FV_FILETYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FFS_FILE_ATTRIBUTES;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FFS_FILE_STATE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// File Types Definitions</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_ALL 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_RAW 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FREEFORM 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SECURITY_CORE 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_PEI_CORE 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DXE_CORE 0x05</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_PEIM 0x06</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DRIVER 0x07</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER 0x08</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_APPLICATION 0x09</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SMM 0x0A</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE 0x0B</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_COMBINED_SMM_DXE 0x0C</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SMM_CORE 0x0D</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_OEM_MIN 0xc0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_OEM_MAX 0xdf</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DEBUG_MIN 0xe0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DEBUG_MAX 0xef</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_MIN 0xf0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_MAX 0xff</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_PAD 0xf0</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS File Attributes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_LARGE_FILE 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_FIXED 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_DATA_ALIGNMENT 0x38</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_CHECKSUM 0x40</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS File State Bits.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_CONSTRUCTION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_VALID 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_DATA_VALID 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_MARKED_FOR_UPDATE 0x08</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_DELETED 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_INVALID 0x20</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Each file begins with the header that describe the</span><br><span style="color: hsl(0, 100%, 40%);">-/// contents and state of the files.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is the file name. It is used to uniquely identify the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_INTEGRITY_CHECK IntegrityCheck;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the type of file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_FILETYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares various file attribute bits.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_ATTRIBUTES Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file in bytes, including the FFS header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to track the state of the file throughout the life of the file from creation to deletion.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_STATE State;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_FILE_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is the file name. It is used to uniquely identify the file. There may be only</span><br><span style="color: hsl(0, 100%, 40%);">- /// one instance of a file with the file name GUID of Name in any given firmware</span><br><span style="color: hsl(0, 100%, 40%);">- /// volume, except if the file type is EFI_FV_FILETYPE_FFS_PAD.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_INTEGRITY_CHECK IntegrityCheck;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the type of file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_FILETYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares various file attribute bits.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_ATTRIBUTES Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file in bytes, including the FFS header.</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file data is either (Size - sizeof(EFI_FFS_FILE_HEADER)). This calculation means a</span><br><span style="color: hsl(0, 100%, 40%);">- /// zero-length file has a Size of 24 bytes, which is sizeof(EFI_FFS_FILE_HEADER).</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size is not required to be a multiple of 8 bytes. Given a file F, the next file header is</span><br><span style="color: hsl(0, 100%, 40%);">- /// located at the next 8-byte aligned firmware volume offset following the last byte of the file F.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to track the state of the file throughout the life of the file from creation to deletion.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_STATE State;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If FFS_ATTRIB_LARGE_FILE is set in Attributes, then ExtendedSize exists and Size must be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- /// If FFS_ATTRIB_LARGE_FILE is not set then EFI_FFS_FILE_HEADER is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtendedSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_FILE_HEADER2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define IS_FFS_FILE2(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((((EFI_FFS_FILE_HEADER *) (UINTN) FfsFileHeaderPtr)->Attributes) & FFS_ATTRIB_LARGE_FILE) == FFS_ATTRIB_LARGE_FILE)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FILE_SIZE(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_FFS_FILE_HEADER *) (UINTN) FfsFileHeaderPtr)->Size) & 0x00ffffff))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FILE2_SIZE(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_FFS_FILE_HEADER2 *) (UINTN) FfsFileHeaderPtr)->ExtendedSize)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_SECTION_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Pseudo type. It is used as a wild card when retrieving sections.</span><br><span style="color: hsl(0, 100%, 40%);">-/// The section type EFI_SECTION_ALL matches all section types.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_ALL 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Encapsulation section Type values.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_COMPRESSION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_GUID_DEFINED 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_DISPOSABLE 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Leaf section Type values.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PE32 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PIC 0x11</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_TE 0x12</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_DXE_DEPEX 0x13</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_VERSION 0x14</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_USER_INTERFACE 0x15</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_COMPATIBILITY16 0x16</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_FIRMWARE_VOLUME_IMAGE 0x17</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_FREEFORM_SUBTYPE_GUID 0x18</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_RAW 0x19</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PEI_DEPEX 0x1B</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_SMM_DEPEX 0x1C</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Common section header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 24-bit unsigned integer that contains the total size of the section in bytes,</span><br><span style="color: hsl(0, 100%, 40%);">- /// including the EFI_COMMON_SECTION_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_SECTION_TYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares the section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMMON_SECTION_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 24-bit unsigned integer that contains the total size of the section in bytes,</span><br><span style="color: hsl(0, 100%, 40%);">- /// including the EFI_COMMON_SECTION_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_SECTION_TYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If Size is 0xFFFFFF, then ExtendedSize contains the size of the section. If</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size is not equal to 0xFFFFFF, then this field does not exist.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtendedSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMMON_SECTION_HEADER2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Leaf section type that contains an</span><br><span style="color: hsl(0, 100%, 40%);">-/// IA-32 16-bit executable image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_COMPATIBILITY16_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_COMPATIBILITY16_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// CompressionType of EFI_COMPRESSION_SECTION.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_NOT_COMPRESSED 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_STANDARD_COMPRESSION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// An encapsulation section type in which the</span><br><span style="color: hsl(0, 100%, 40%);">-/// section data is compressed.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Usual common section header. CommonHeader.Type = EFI_SECTION_COMPRESSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The UINT32 that indicates the size of the section data after decompression.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 UncompressedLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Indicates which compression algorithm is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CompressionType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMPRESSION_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Usual common section header. CommonHeader.Type = EFI_SECTION_COMPRESSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// UINT32 that indicates the size of the section data after decompression.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 UncompressedLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Indicates which compression algorithm is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CompressionType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMPRESSION_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// An encapsulation section type in which the section data is disposable.</span><br><span style="color: hsl(0, 100%, 40%);">-/// A disposable section is an encapsulation section in which the section data may be disposed of during</span><br><span style="color: hsl(0, 100%, 40%);">-/// the process of creating or updating a firmware image without significant impact on the usefulness of</span><br><span style="color: hsl(0, 100%, 40%);">-/// the file. The Type field in the section header is set to EFI_SECTION_DISPOSABLE. This</span><br><span style="color: hsl(0, 100%, 40%);">-/// allows optional or descriptive data to be included with the firmware file which can be removed in</span><br><span style="color: hsl(0, 100%, 40%);">-/// order to conserve space. The contents of this section are implementation specific, but might contain</span><br><span style="color: hsl(0, 100%, 40%);">-/// debug data or detailed integration instructions.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_DISPOSABLE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_DISPOSABLE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which could be used to determine the dispatch order of DXEs.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_DXE_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_DXE_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a PI FV.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_FIRMWARE_VOLUME_IMAGE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_FIRMWARE_VOLUME_IMAGE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a single GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Common section header. CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is defined by the creator of the file. It is a vendor-defined file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SubTypeGuid;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FREEFORM_SUBTYPE_GUID_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is defined by the creator of the file. It is a vendor-defined file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SubTypeGuid;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FREEFORM_SUBTYPE_GUID_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Attributes of EFI_GUID_DEFINED_SECTION.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_GUIDED_SECTION_PROCESSING_REQUIRED 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_GUIDED_SECTION_AUTH_STATUS_VALID 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which is encapsulation defined by specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_GUID_DEFINED.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The GUID that defines the format of the data that follows. It is a vendor-defined section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SectionDefinitionGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Contains the offset in bytes from the beginning of the common header to the first byte of the data.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 DataOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The bit field that declares some specific characteristics of the section contents.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID_DEFINED_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_GUID_DEFINED.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The GUID that defines the format of the data that follows. It is a vendor-defined section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SectionDefinitionGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Contains the offset in bytes from the beginning of the common header to the first byte of the data.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 DataOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The bit field that declares some specific characteristics of the section contents.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID_DEFINED_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains PE32+ image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PE32_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PE32_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section used to determine the dispatch order of PEIMs.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PEI_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PEI_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// A leaf section type that contains a position-independent-code (PIC) image.</span><br><span style="color: hsl(0, 100%, 40%);">-/// A PIC image section is a leaf section that contains a position-independent-code (PIC) image.</span><br><span style="color: hsl(0, 100%, 40%);">-/// In addition to normal PE32+ images that contain relocation information, PEIM executables may be</span><br><span style="color: hsl(0, 100%, 40%);">-/// PIC and are referred to as PIC images. A PIC image is the same as a PE32+ image except that all</span><br><span style="color: hsl(0, 100%, 40%);">-/// relocation information has been stripped from the image and the image can be moved and will</span><br><span style="color: hsl(0, 100%, 40%);">-/// execute correctly without performing any relocation or other fix-ups. EFI_PIC_SECTION2 must</span><br><span style="color: hsl(0, 100%, 40%);">-/// be used if the section is 16MB or larger.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PIC_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PIC_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which constains the position-independent-code image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_TE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_TE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains an array of zero or more bytes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_RAW_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_RAW_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The SMM dependency expression section is a leaf section that contains a dependency expression that</span><br><span style="color: hsl(0, 100%, 40%);">-/// is used to determine the dispatch order for SMM drivers. Before the SMRAM invocation of the</span><br><span style="color: hsl(0, 100%, 40%);">-/// SMM driver's entry point, this dependency expression must evaluate to TRUE. See the Platform</span><br><span style="color: hsl(0, 100%, 40%);">-/// Initialization Specification, Volume 2, for details regarding the format of the dependency expression.</span><br><span style="color: hsl(0, 100%, 40%);">-/// The dependency expression may refer to protocols installed in either the UEFI or the SMM protocol</span><br><span style="color: hsl(0, 100%, 40%);">-/// database. EFI_SMM_DEPEX_SECTION2 must be used if the section is 16MB or larger.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_SMM_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_SMM_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a unicode string that</span><br><span style="color: hsl(0, 100%, 40%);">-/// is human readable file name.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Array of unicode string.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 FileNameString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_USER_INTERFACE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 FileNameString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_USER_INTERFACE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a numeric build number and</span><br><span style="color: hsl(0, 100%, 40%);">-/// an optional unicode string that represents the file revision.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 BuildNumber;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Array of unicode string.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 VersionString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_VERSION_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A UINT16 that represents a particular build. Subsequent builds have monotonically</span><br><span style="color: hsl(0, 100%, 40%);">- /// increasing build numbers relative to earlier builds.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 BuildNumber;</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 VersionString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_VERSION_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define IS_SECTION2(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_COMMON_SECTION_HEADER *) (UINTN) SectionHeaderPtr)->Size) & 0x00ffffff) == 0x00ffffff)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define SECTION_SIZE(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_COMMON_SECTION_HEADER *) (UINTN) SectionHeaderPtr)->Size) & 0x00ffffff))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define SECTION2_SIZE(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_COMMON_SECTION_HEADER2 *) (UINTN) SectionHeaderPtr)->ExtendedSize)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspfv.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspfv.h</span><br><span>deleted file mode 100644</span><br><span>index 26c00f2..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspfv.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,247 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_FIRMWAREVOLUME_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_FIRMWAREVOLUME_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// EFI_FV_FILE_ATTRIBUTES</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_FV_FILE_ATTRIBUTES;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Value of EFI_FV_FILE_ATTRIBUTES.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_FIXED 0x00000100</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_MEMORY_MAPPED 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// type of EFI FVB attribute</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_FVB_ATTRIBUTES_2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Attributes bit definitions</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_DISABLED_CAP 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_ENABLED_CAP 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_STATUS 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_DISABLED_CAP 0x00000008</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_ENABLED_CAP 0x00000010</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_STATUS 0x00000020</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_LOCK_CAP 0x00000040</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_LOCK_STATUS 0x00000080</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_STICKY_WRITE 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_MEMORY_MAPPED 0x00000400</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ERASE_POLARITY 0x00000800</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_LOCK_CAP 0x00001000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_LOCK_STATUS 0x00002000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_LOCK_CAP 0x00004000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_LOCK_STATUS 0x00008000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT 0x001F0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1 0x00000000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2 0x00010000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4 0x00020000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8 0x00030000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16 0x00040000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32 0x00050000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64 0x00060000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128 0x00070000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256 0x00080000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512 0x00090000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1K 0x000A0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2K 0x000B0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4K 0x000C0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8K 0x000D0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16K 0x000E0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32K 0x000F0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64K 0x00100000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128K 0x00110000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256K 0x00120000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512K 0x00130000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1M 0x00140000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2M 0x00150000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4M 0x00160000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8M 0x00170000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16M 0x00180000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32M 0x00190000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64M 0x001A0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128M 0x001B0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256M 0x001C0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512M 0x001D0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1G 0x001E0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2G 0x001F0000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The number of sequential blocks which are of the same size.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NumBlocks;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The size of the blocks.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Length;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FV_BLOCK_MAP_ENTRY;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the features and layout of the firmware volume.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The first 16 bytes are reserved to allow for the reset vector of</span><br><span style="color: hsl(0, 100%, 40%);">- /// processors whose reset vector is at address 0.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ZeroVector[16];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares the file system with which the firmware volume is formatted.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FileSystemGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Length in bytes of the complete firmware volume, including the header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 FvLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Set to EFI_FVH_SIGNATURE</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Signature;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares capabilities and power-on defaults for the firmware volume.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FVB_ATTRIBUTES_2 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Length in bytes of the complete firmware volume header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HeaderLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 16-bit checksum of the firmware volume header. A valid header sums to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Checksum;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Offset, relative to the start of the header, of the extended header</span><br><span style="color: hsl(0, 100%, 40%);">- /// (EFI_FIRMWARE_VOLUME_EXT_HEADER) or zero if there is no extended header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtHeaderOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This field must always be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Set to 2. Future versions of this specification may define new header fields and will</span><br><span style="color: hsl(0, 100%, 40%);">- /// increment the Revision field accordingly.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Revision;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An array of run-length encoded FvBlockMapEntry structures. The array is</span><br><span style="color: hsl(0, 100%, 40%);">- /// terminated with an entry of {0,0}.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_BLOCK_MAP_ENTRY BlockMap[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVH_SIGNATURE SIGNATURE_32 ('_', 'F', 'V', 'H')</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Firmware Volume Header Revision definition</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVH_REVISION 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Extension header pointed by ExtHeaderOffset of volume header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Firmware volume name.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FvName;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size of the rest of the extension header, including this structure.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtHeaderSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Entry struture for describing FV extension header</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size of this header extension.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtEntrySize;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Type of the header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtEntryType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_EXT_TYPE_OEM_TYPE 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// This extension header provides a mapping between a GUID and an OEM file type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FIRMWARE_VOLUME_EXT_ENTRY Hdr;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A bit mask, one bit for each file type between 0xC0 (bit 0) and 0xDF (bit 31). If a bit</span><br><span style="color: hsl(0, 100%, 40%);">- /// is '1', then the GUID entry exists in Types. If a bit is '0' then no GUID entry exists in Types.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 TypeMask;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An array of GUIDs, each GUID representing an OEM file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_GUID Types[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_EXT_TYPE_GUID_TYPE 0x0002</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// This extension header EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE provides a vendor specific</span><br><span style="color: hsl(0, 100%, 40%);">-/// GUID FormatType type which includes a length and a successive series of data bytes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FIRMWARE_VOLUME_EXT_ENTRY Hdr;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Vendor-specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FormatType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An arry of bytes of length Length.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// UINT8 Data[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fsphob.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fsphob.h</span><br><span>deleted file mode 100644</span><br><span>index 04e2123..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fsphob.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,542 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_HOB_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_HOB_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// HobType of EFI_HOB_GENERIC_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_MEMORY_ALLOCATION 0x0002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_RESOURCE_DESCRIPTOR 0x0003</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_GUID_EXTENSION 0x0004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_UNUSED 0xFFFE</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_END_OF_HOB_LIST 0xFFFF</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the format and size of the data inside the HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-/// All HOBs must contain this generic HOB header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the HOB data structure type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HobType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length in bytes of the HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HobLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This field must always be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_GENERIC_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Enumeration of memory types introduced in UEFI.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef enum {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Not used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiReservedMemoryType,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded application.</span><br><span style="color: hsl(0, 100%, 40%);">- /// (Note that UEFI OS loaders are UEFI applications.)</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiLoaderCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded application and the default data allocation</span><br><span style="color: hsl(0, 100%, 40%);">- /// type used by an application to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiLoaderData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded Boot Services Driver.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiBootServicesCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded Boot Serves Driver, and the default data</span><br><span style="color: hsl(0, 100%, 40%);">- /// allocation type used by a Boot Services Driver to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiBootServicesData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded Runtime Services Driver.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiRuntimeServicesCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded Runtime Services Driver and the default</span><br><span style="color: hsl(0, 100%, 40%);">- /// data allocation type used by a Runtime Services Driver to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiRuntimeServicesData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Free (unallocated) memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiConventionalMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Memory in which errors have been detected.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiUnusableMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Memory that holds the ACPI tables.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiACPIReclaimMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Address space reserved for use by the firmware.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiACPIMemoryNVS,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used by system firmware to request that a memory-mapped IO region</span><br><span style="color: hsl(0, 100%, 40%);">- /// be mapped by the OS to a virtual address so it can be accessed by EFI runtime services.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMemoryMappedIO,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// System memory-mapped IO region that is used to translate memory</span><br><span style="color: hsl(0, 100%, 40%);">- /// cycles to IO cycles by the processor.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMemoryMappedIOPortSpace,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Address space reserved by the firmware for code that is part of the processor.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiPalCode,</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMaxMemoryType</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_MEMORY_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// EFI_HOB_MEMORY_ALLOCATION_HEADER describes the</span><br><span style="color: hsl(0, 100%, 40%);">-/// various attributes of the logical memory allocation. The type field will be used for</span><br><span style="color: hsl(0, 100%, 40%);">-/// subsequent inclusion in the UEFI memory map.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID that defines the memory allocation region's type and purpose, as well as</span><br><span style="color: hsl(0, 100%, 40%);">- /// other fields within the memory allocation HOB. This GUID is used to define the</span><br><span style="color: hsl(0, 100%, 40%);">- /// additional data within the HOB that may be present for the memory allocation HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- /// Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0</span><br><span style="color: hsl(0, 100%, 40%);">- /// specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The base address of memory allocated by this HOB. Type</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_PHYSICAL_ADDRESS is defined in AllocatePages() in the UEFI 2.0</span><br><span style="color: hsl(0, 100%, 40%);">- /// specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS MemoryBaseAddress;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length in bytes of memory allocated by this HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 MemoryLength;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Defines the type of memory allocated by this HOB. The memory type definition</span><br><span style="color: hsl(0, 100%, 40%);">- /// follows the EFI_MEMORY_TYPE definition. Type EFI_MEMORY_TYPE is defined</span><br><span style="color: hsl(0, 100%, 40%);">- /// in AllocatePages() in the UEFI 2.0 specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_MEMORY_TYPE MemoryType;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Padding for Itanium processor family</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved[4];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_MEMORY_ALLOCATION_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes all memory ranges used during the HOB producer</span><br><span style="color: hsl(0, 100%, 40%);">-/// phase that exist outside the HOB list. This HOB type</span><br><span style="color: hsl(0, 100%, 40%);">-/// describes how memory is used, not the physical attributes of memory.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the</span><br><span style="color: hsl(0, 100%, 40%);">- /// various attributes of the logical memory allocation.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Additional data pertaining to the "Name" Guid memory</span><br><span style="color: hsl(0, 100%, 40%);">- // may go here.</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_MEMORY_ALLOCATION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The resource type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_RESOURCE_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Value of ResourceType in EFI_HOB_RESOURCE_DESCRIPTOR.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_SYSTEM_MEMORY 0x00000000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_MAPPED_IO 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_IO 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_FIRMWARE_DEVICE 0x00000003</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_RESERVED 0x00000005</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_IO_RESERVED 0x00000006</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MAX_MEMORY_TYPE 0x00000007</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// A type of recount attribute type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// These types can be ORed together as needed.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// The first three enumerations describe settings</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_PRESENT 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_INITIALIZED 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_TESTED 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// The rest of the settings describe capabilities</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_SINGLE_BIT_ECC 0x00000008</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_MULTIPLE_BIT_ECC 0x00000010</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_1 0x00000020</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_2 0x00000040</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_READ_PROTECTED 0x00000080</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_PROTECTED 0x00000100</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTED 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE 0x00000400</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE 0x00000800</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE 0x00001000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE 0x00002000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_16_BIT_IO 0x00004000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_32_BIT_IO 0x00008000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_64_BIT_IO 0x00010000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_UNCACHED_EXPORTED 0x00020000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the resource properties of all fixed,</span><br><span style="color: hsl(0, 100%, 40%);">-/// nonrelocatable resource ranges found on the processor</span><br><span style="color: hsl(0, 100%, 40%);">-/// host bus during the HOB producer phase.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_RESOURCE_DESCRIPTOR.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID representing the owner of the resource. This GUID is used by HOB</span><br><span style="color: hsl(0, 100%, 40%);">- /// consumer phase components to correlate device ownership of a resource.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Owner;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The resource type enumeration as defined by EFI_RESOURCE_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_RESOURCE_TYPE ResourceType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Resource attributes as defined by EFI_RESOURCE_ATTRIBUTE_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The physical start address of the resource region.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS PhysicalStart;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The number of bytes of the resource region.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 ResourceLength;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_RESOURCE_DESCRIPTOR;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Allows writers of executable content in the HOB producer phase to</span><br><span style="color: hsl(0, 100%, 40%);">-/// maintain and manage HOBs with specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID that defines the contents of this HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Guid specific data goes here</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_GUID_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Union of all the possible HOB Types.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef union {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER *Header;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_MEMORY_ALLOCATION *MemoryAllocation;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_RESOURCE_DESCRIPTOR *ResourceDescriptor;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GUID_TYPE *Guid;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 *Raw;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_PEI_HOB_POINTERS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the type of a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the HobType field from the HOB header for the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return HobType.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_HOB_TYPE(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_HOB_GENERIC_HEADER *)(HobStart))->HobType)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the length, in bytes, of a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the HobLength field from the HOB header for the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return HobLength.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_HOB_LENGTH(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_HOB_GENERIC_HEADER *)(HobStart))->HobLength)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a pointer to the next HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a pointer to HOB that follows the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart in the HOB List.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A pointer to the next HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_NEXT_HOB(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (VOID *)((UINT8 *)(HobStart) + GET_HOB_LENGTH(HobStart))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Determines if a HOB is the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro determine if the HOB specified by HobStart is the</span><br><span style="color: hsl(0, 100%, 40%);">- last HOB in the HOB list. If HobStart is last HOB in the HOB list,</span><br><span style="color: hsl(0, 100%, 40%);">- then TRUE is returned. Otherwise, FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE The HOB specified by HobStart is the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE The HOB specified by HobStart is not the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define END_OF_HOB_LIST(HobStart) (GET_HOB_TYPE(HobStart) == (UINT16)EFI_HOB_TYPE_END_OF_HOB_LIST)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a pointer to data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a pointer to the data buffer in a HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">- HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param GuidHob A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A pointer to the data buffer in a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_GUID_HOB_DATA(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (VOID *)((UINT8 *)(HobStart) + sizeof(EFI_HOB_GUID_TYPE))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the size of the data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the size, in bytes, of the data buffer in a HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">- HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param GuidHob A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The size of the data buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_GUID_HOB_DATA_SIZE(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (UINT16)(GET_HOB_LENGTH(HobStart) - sizeof(EFI_HOB_GUID_TYPE))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the pointer to first HOB in the list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetHobList (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB type from the starting HOB pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB type from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer</span><br><span style="color: hsl(0, 100%, 40%);">- unconditionally: it returns HobStart back if HobStart itself meets the requirement;</span><br><span style="color: hsl(0, 100%, 40%);">- caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If HobStart is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Type The HOB type to return.</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart The starting HOB pointer to search from.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB type in the HOB list, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Type The HOB type to return.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB from the starting HOB pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- Such HOB should satisfy two conditions:</span><br><span style="color: hsl(0, 100%, 40%);">- its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()</span><br><span style="color: hsl(0, 100%, 40%);">- to extract the data section and its size info respectively.</span><br><span style="color: hsl(0, 100%, 40%);">- In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer</span><br><span style="color: hsl(0, 100%, 40%);">- unconditionally: it returns HobStart back if HobStart itself meets the requirement;</span><br><span style="color: hsl(0, 100%, 40%);">- caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If HobStart is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid The GUID to match with in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a Guid.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- Such HOB should satisfy two conditions:</span><br><span style="color: hsl(0, 100%, 40%);">- its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()</span><br><span style="color: hsl(0, 100%, 40%);">- to extract the data section and its size info respectively.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid The GUID to match with in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Compares two GUIDs.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">- If there are any bit differences in the two GUIDs, then FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid1 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid2 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid1 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid2 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE Guid1 and Guid2 are identical.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE Guid1 and Guid2 are not identical.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-BOOLEAN</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-CompareGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid1,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid2</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Reads a 64-bit value from memory that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the 64-bit value pointed to by Buffer. The function</span><br><span style="color: hsl(0, 100%, 40%);">- guarantees that the read operation does not produce an alignment fault.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the Buffer is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Buffer Pointer to a 64-bit value that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The 64-bit value read from Buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-ReadUnaligned64 (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST UINT64 *Buffer</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspinfoheader.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspinfoheader.h</span><br><span>deleted file mode 100644</span><br><span>index b277bcd5..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspinfoheader.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,62 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_INFO_HEADER_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_INFO_HEADER_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Signature; // Off 0x94</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 HeaderLength;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved1[3];</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 HeaderRevision;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageRevision;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR8 ImageId[8]; // Off 0xA4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageSize;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageBase;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageAttribute; // Off 0xB4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 CfgRegionOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 CfgRegionSize;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ApiEntryNum;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NemInitEntry; // Off 0xC4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 FspInitEntry;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NotifyPhaseEntry;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INFO_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspplatform.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspplatform.h</span><br><span>deleted file mode 100644</span><br><span>index 81f7b66..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspplatform.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,78 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_PLATFORM_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_PLATFORM_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspapi.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "azalia.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- FSP_INIT_RT_COMMON_BUFFER Common;</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_RT_BUFFER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Function prototypes for board_fsp.c</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemoryFromGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *FspMemoryBase,</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *FspMemoryLength,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FspReservedMemoryGuid</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspNVStorageMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- void **FspNVStorageHob,</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t *DataSize</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetTempRamStack (</span><br><span style="color: hsl(0, 100%, 40%);">- void **TempRamStackPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t *DataSize</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetHighMemorySize (</span><br><span style="color: hsl(0, 100%, 40%);">- uint64_t *HighMemoryLength</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetLowMemorySize (</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *LowMemoryLength</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fsptypes.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fsptypes.h</span><br><span>deleted file mode 100644</span><br><span>index 4a313ad..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fsptypes.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,116 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/** \file fsptypes.h</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSP_TYPES_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSP_TYPES_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 8-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned long long UINT64;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 8-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef long long INT64;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 4-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned int UINT32;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 4-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef int INT32;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned short UINT16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte Character. Unless otherwise specified all strings are stored in the</span><br><span style="color: hsl(0, 100%, 40%);">-/// UTF-16 encoding format as defined by Unicode 2.1 and ISO/IEC 10646 standards.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned short CHAR16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef short INT16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Logical Boolean. 1-byte value containing 0 for FALSE or a 1 for TRUE. Other</span><br><span style="color: hsl(0, 100%, 40%);">-/// values are undefined.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned char BOOLEAN;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned char UINT8;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte Character</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef char CHAR8;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte signed value</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef char INT8;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef void VOID;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT64 EFI_PHYSICAL_ADDRESS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Data1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Data2;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Data3;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Data4[8];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONST const</span><br><span style="color: hsl(0, 100%, 40%);">-#define STATIC static</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define TRUE ((BOOLEAN)(1==1))</span><br><span style="color: hsl(0, 100%, 40%);">-#define FALSE ((BOOLEAN)(0==1))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSPAPI __attribute__((cdecl))</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFIAPI __attribute__((cdecl))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define ASSERT(Expression) \</span><br><span style="color: hsl(0, 100%, 40%);">- do { \</span><br><span style="color: hsl(0, 100%, 40%);">- if (!(Expression)) { \</span><br><span style="color: hsl(0, 100%, 40%);">- for (;;); \</span><br><span style="color: hsl(0, 100%, 40%);">- } \</span><br><span style="color: hsl(0, 100%, 40%);">- } while (FALSE)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 FSP_STATUS;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_STATUS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/include/fspvpd.h b/src/vendorcode/intel/fsp1_0/baytrail/include/fspvpd.h</span><br><span>deleted file mode 100644</span><br><span>index 4bdcb79..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/include/fspvpd.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,126 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013-2015 Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSPVPD_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSPVPD_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 EnableMemoryDown;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DRAMSpeed; /* DRAM Speed */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DRAMType; /* DRAM Type */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMM0Enable; /* DIMM 0 Enable */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMM1Enable; /* DIMM 1 Enable */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMDWidth; /* DRAM device data width */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMDensity; /* DRAM device data density */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMBusWidth; /* DIMM Bus Width */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMSides; /* Ranks Per DIMM */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtCL; /* tCL */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtRPtRCD; /* tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc. */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtWR; /* tWR in DRAM clk */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtWTR; /* tWTR in DRAM clk */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtRRD; /* tRRD in DRAM clk */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtRTP; /* tRTP in DRAM clk */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DIMMtFAW; /* tFAW in DRAM clk */</span><br><span style="color: hsl(0, 100%, 40%);">-} MEMORY_DOWN_DATA;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct _UPD_DATA_REGION {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 Signature; /* Offset 0x0000 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 RESERVED1; /* Offset 0x0008 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Padding0[20]; /* Offset 0x000C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 PcdMrcInitTsegSize; /* Offset 0x0020 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 PcdMrcInitMmioSize; /* Offset 0x0022 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcInitSPDAddr1; /* Offset 0x0024 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcInitSPDAddr2; /* Offset 0x0025 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdeMMCBootMode; /* Offset 0x0026 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSdio; /* Offset 0x0027 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSdcard; /* Offset 0x0028 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableHsuart0; /* Offset 0x0029 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableHsuart1; /* Offset 0x002A */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSpi; /* Offset 0x002B */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ReservedUpdSpace1; /* Offset 0x002C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSata; /* Offset 0x002D */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSataMode; /* Offset 0x002E */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableAzalia; /* Offset 0x002F */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 AzaliaConfigPtr; /* Offset 0x0030 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableXhci; /* Offset 0x0034 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableLpe; /* Offset 0x0035 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdLpssSioEnablePciMode; /* Offset 0x0036 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableDma0; /* Offset 0x0037 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableDma1; /* Offset 0x0038 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C0; /* Offset 0x0039 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C1; /* Offset 0x003A */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C2; /* Offset 0x003B */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C3; /* Offset 0x003C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C4; /* Offset 0x003D */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C5; /* Offset 0x003E */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableI2C6; /* Offset 0x003F */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnablePwm0; /* Offset 0x0040 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnablePwm1; /* Offset 0x0041 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableHsi; /* Offset 0x0042 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdIgdDvmt50PreAlloc; /* Offset 0x0043 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdApertureSize; /* Offset 0x0044 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdGttSize; /* Offset 0x0045 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 SerialDebugPortAddress; /* Offset 0x0046 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SerialDebugPortType; /* Offset 0x004A */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcDebugMsg; /* Offset 0x004B */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ISPEnable; /* Offset 0x004C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSccEnablePciMode; /* Offset 0x004D */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 IgdRenderStandby; /* Offset 0x004E */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 TxeUmaEnable; /* Offset 0x004F */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdOsSelection; /* Offset 0x0050 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEMMC45DDR50Enabled; /* Offset 0x0051 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEMMC45HS200Enabled; /* Offset 0x0052 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEMMC45RetuneTimerValue; /* Offset 0x0053 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableIgd; /* Offset 0x0054 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 AutoSelfRefreshEnable; /* Offset 0x0055 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 APTaskTimeoutCnt; /* Offset 0x0056 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedUpdSpace1[152]; /* Offset 0x0058 */</span><br><span style="color: hsl(0, 100%, 40%);">- MEMORY_DOWN_DATA PcdMemoryParameters; /* Offset 0x00F0 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 PcdRegionTerminator; /* Offset 0x0100 */</span><br><span style="color: hsl(0, 100%, 40%);">-} UPD_DATA_REGION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct _VPD_DATA_REGION {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 PcdVpdRegionSign; /* Offset 0x0000 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdImageRevision; /* Offset 0x0008 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdUpdRegionOffset; /* Offset 0x000C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Padding0[16]; /* Offset 0x0010 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdFspReservedMemoryLength; /* Offset 0x0020 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPlatformType; /* Offset 0x0024 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSecureBoot; /* Offset 0x0025 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMemoryParameters[16]; /* Offset 0x0026 */</span><br><span style="color: hsl(0, 100%, 40%);">-} VPD_DATA_REGION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/srx/board_fsp.c b/src/vendorcode/intel/fsp1_0/baytrail/srx/board_fsp.c</span><br><span>deleted file mode 100644</span><br><span>index 85673ea..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/srx/board_fsp.c</span><br><span>+++ /dev/null</span><br><span>@@ -1,186 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/***********************************************************************</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * board_fsp.c</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * Parse HOB to get system data.</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- **********************************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsp.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetLowMemorySize (</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *LowMemoryLength</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- *LowMemoryLength = 0x100000;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GetHobList();</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) {</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Need memory above 1MB to be collected here</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->PhysicalStart >= 0x100000 &&</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.ResourceDescriptor->PhysicalStart < (EFI_PHYSICAL_ADDRESS) 0x100000000) {</span><br><span style="color: hsl(0, 100%, 40%);">- *LowMemoryLength += (uint32_t) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetHighMemorySize (</span><br><span style="color: hsl(0, 100%, 40%);">- uint64_t *HighMemoryLength</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- *HighMemoryLength = 0x0;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GetHobList();</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) {</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Need memory above 4GB to be collected here</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->PhysicalStart >= (EFI_PHYSICAL_ADDRESS) 0x100000000) {</span><br><span style="color: hsl(0, 100%, 40%);">- *HighMemoryLength += (uint64_t) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemoryFromGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *FspMemoryBase,</span><br><span style="color: hsl(0, 100%, 40%);">- uint32_t *FspMemoryLength,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FspReservedMemoryGuid</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GetHobList();</span><br><span style="color: hsl(0, 100%, 40%);">- *FspMemoryBase = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- *FspMemoryLength = 0;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_MEMORY_RESERVED) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (CompareGuid(&Hob.ResourceDescriptor->Owner, &FspReservedMemoryGuid)) {</span><br><span style="color: hsl(0, 100%, 40%);">- *FspMemoryBase = (uint32_t) (Hob.ResourceDescriptor->PhysicalStart);</span><br><span style="color: hsl(0, 100%, 40%);">- *FspMemoryLength = (uint32_t) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- break;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspNVStorageMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID **FspNVStorageHob,</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t *DataSize</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FspNVStorageHobGuid = FSP_NON_VOLATILE_STORAGE_HOB_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t *GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER *GuidHobHdr;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob = GetFirstGuidHob(&FspNVStorageHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">- if (!GuidHob) {</span><br><span style="color: hsl(0, 100%, 40%);">- *FspNVStorageHob = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- *DataSize = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- } else {</span><br><span style="color: hsl(0, 100%, 40%);">- *FspNVStorageHob = GET_GUID_HOB_DATA (GuidHob);</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHobHdr = (EFI_HOB_GENERIC_HEADER *)GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">- *DataSize = GET_GUID_HOB_DATA_SIZE (GuidHobHdr);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void</span><br><span style="color: hsl(0, 100%, 40%);">-GetTempRamStack (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID **TempRamStackPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- uint16_t *DataSize</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FspBootloaderTemporaryMemoryHobGuid = FSP_BOOTLOADER_TEMPORARY_MEMORY_HOB_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t *GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER *GuidHobHdr;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob = GetFirstGuidHob(&FspBootloaderTemporaryMemoryHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">- if (!GuidHob) {</span><br><span style="color: hsl(0, 100%, 40%);">- *TempRamStackPtr = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- *DataSize = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- } else {</span><br><span style="color: hsl(0, 100%, 40%);">- *TempRamStackPtr = GET_GUID_HOB_DATA (GuidHob);</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHobHdr = (EFI_HOB_GENERIC_HEADER *)GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">- *DataSize = GET_GUID_HOB_DATA_SIZE (GuidHobHdr);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c b/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c</span><br><span>deleted file mode 100644</span><br><span>index 018682e..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c</span><br><span>+++ /dev/null</span><br><span>@@ -1,198 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/***********************************************************************</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * fsphob.c</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * HOB infrastructure code.</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- **********************************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-#include <string.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsphob.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Pointer to the HOB should be initialized with the output of FSP INIT PARAMS</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-extern volatile void *FspHobListPtr;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Reads a 64-bit value from memory that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the 64-bit value pointed to by Buffer. The function</span><br><span style="color: hsl(0, 100%, 40%);">- guarantees that the read operation does not produce an alignment fault.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the Buffer is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Buffer Pointer to a 64-bit value that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The 64-bit value read from Buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-ReadUnaligned64 (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST UINT64 *Buffer</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (Buffer != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return *Buffer;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Compares two GUIDs.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">- If there are any bit differences in the two GUIDs, then FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid1 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid2 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid1 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid2 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE Guid1 and Guid2 are identical.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE Guid1 and Guid2 are not identical.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-BOOLEAN</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-CompareGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid1,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid2</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 LowPartOfGuid1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 LowPartOfGuid2;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 HighPartOfGuid1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 HighPartOfGuid2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- LowPartOfGuid1 = ReadUnaligned64 ((CONST UINT64*) Guid1);</span><br><span style="color: hsl(0, 100%, 40%);">- LowPartOfGuid2 = ReadUnaligned64 ((CONST UINT64*) Guid2);</span><br><span style="color: hsl(0, 100%, 40%);">- HighPartOfGuid1 = ReadUnaligned64 ((CONST UINT64*) Guid1 + 1);</span><br><span style="color: hsl(0, 100%, 40%);">- HighPartOfGuid2 = ReadUnaligned64 ((CONST UINT64*) Guid2 + 1);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return (BOOLEAN) (LowPartOfGuid1 == LowPartOfGuid2 && HighPartOfGuid1 == HighPartOfGuid2);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetHobList (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (FspHobListPtr != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">- return ((VOID *)FspHobListPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (HobStart != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = (UINT8 *) HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Parse the HOB list until end of list or matching type is found.</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == Type) {</span><br><span style="color: hsl(0, 100%, 40%);">- return Hob.Raw;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return NULL;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *HobList;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- HobList = GetHobList ();</span><br><span style="color: hsl(0, 100%, 40%);">- return GetNextHob (Type, HobList);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob.Raw = (UINT8 *) HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">- while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (CompareGuid (Guid, &GuidHob.Guid->Name)) {</span><br><span style="color: hsl(0, 100%, 40%);">- break;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob.Raw = GET_NEXT_HOB(GuidHob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return GuidHob.Raw;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *HobList;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- HobList = GetHobList ();</span><br><span style="color: hsl(0, 100%, 40%);">- return GetNextGuidHob (Guid, HobList);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspapi.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspapi.h</span><br><span>deleted file mode 100644</span><br><span>index 5009246..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspapi.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,67 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_API_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_API_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <fsptypes.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef VOID (* CONTINUATION_PROC)(EFI_STATUS Status, VOID *HobListPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *NvsBufferPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *RtBufferPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- CONTINUATION_PROC ContinuationFunc;</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_PARAMS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *StackTop;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 BootMode; /* Refer to boot mode defined in MdePkg\Include\Pi\PiBootMode.h */</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *UpdDataRgnPtr;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved[7];</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_RT_COMMON_BUFFER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef enum {</span><br><span style="color: hsl(0, 100%, 40%);">- EnumInitPhaseAfterPciEnumeration = 0x20,</span><br><span style="color: hsl(0, 100%, 40%);">- EnumInitPhaseReadyToBoot = 0x40</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_PHASE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- FSP_INIT_PHASE Phase;</span><br><span style="color: hsl(0, 100%, 40%);">-} NOTIFY_PHASE_PARAMS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef FSP_STATUS (FSPAPI *FSP_FSP_INIT) (FSP_INIT_PARAMS *FspInitParamPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-typedef FSP_STATUS (FSPAPI *FSP_NOTFY_PHASE) (NOTIFY_PHASE_PARAMS *NotifyPhaseParamPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif /* _FSP_API_H_ */</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspbootmode.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspbootmode.h</span><br><span>deleted file mode 100644</span><br><span>index 16cddf0..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspbootmode.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,54 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_BOOT_MODE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_BOOT_MODE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// EFI boot mode</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_BOOT_MODE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// 0x21 - 0xf..f are reserved.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_FULL_CONFIGURATION 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_MINIMAL_CONFIGURATION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_WITH_DEFAULT_SETTINGS 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S4_RESUME 0x05</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S5_RESUME 0x06</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S2_RESUME 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_S3_RESUME 0x11</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_ON_FLASH_UPDATE 0x12</span><br><span style="color: hsl(0, 100%, 40%);">-#define BOOT_IN_RECOVERY_MODE 0x20</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspffs.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspffs.h</span><br><span>deleted file mode 100644</span><br><span>index 9e8244d..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspffs.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,507 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_FIRMWARE_FILE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_FIRMWARE_FILE_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <fsptypes.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef union {</span><br><span style="color: hsl(0, 100%, 40%);">- struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file</span><br><span style="color: hsl(0, 100%, 40%);">- /// header. The State and IntegrityCheck.Checksum.File fields are assumed</span><br><span style="color: hsl(0, 100%, 40%);">- /// to be zero and the checksum is calculated such that the entire header sums to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes</span><br><span style="color: hsl(0, 100%, 40%);">- /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit</span><br><span style="color: hsl(0, 100%, 40%);">- /// checksum of the file data.</span><br><span style="color: hsl(0, 100%, 40%);">- /// If the FFS_ATTRIB_CHECKSUM bit of the Attributes field is cleared to zero,</span><br><span style="color: hsl(0, 100%, 40%);">- /// the IntegrityCheck.Checksum.File field must be initialized with a value of</span><br><span style="color: hsl(0, 100%, 40%);">- /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_FILE_DATA_VALID bit is set in the State field.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 File;</span><br><span style="color: hsl(0, 100%, 40%);">- } Checksum;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This is the full 16 bits of the IntegrityCheck field.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Checksum16;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_INTEGRITY_CHECK;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS_FIXED_CHECKSUM is the checksum value used when the</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS_ATTRIB_CHECKSUM attribute bit is clear.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FIXED_CHECKSUM 0xAA</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FV_FILETYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FFS_FILE_ATTRIBUTES;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_FFS_FILE_STATE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// File Types Definitions</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_ALL 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_RAW 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FREEFORM 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SECURITY_CORE 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_PEI_CORE 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DXE_CORE 0x05</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_PEIM 0x06</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DRIVER 0x07</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER 0x08</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_APPLICATION 0x09</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SMM 0x0A</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE 0x0B</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_COMBINED_SMM_DXE 0x0C</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_SMM_CORE 0x0D</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_OEM_MIN 0xc0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_OEM_MAX 0xdf</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DEBUG_MIN 0xe0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_DEBUG_MAX 0xef</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_MIN 0xf0</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_MAX 0xff</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILETYPE_FFS_PAD 0xf0</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS File Attributes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_LARGE_FILE 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_FIXED 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_DATA_ALIGNMENT 0x38</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_ATTRIB_CHECKSUM 0x40</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// FFS File State Bits.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_CONSTRUCTION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_VALID 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_DATA_VALID 0x04</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_MARKED_FOR_UPDATE 0x08</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_DELETED 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FILE_HEADER_INVALID 0x20</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Each file begins with the header that describe the</span><br><span style="color: hsl(0, 100%, 40%);">-/// contents and state of the files.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is the file name. It is used to uniquely identify the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_INTEGRITY_CHECK IntegrityCheck;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the type of file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_FILETYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares various file attribute bits.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_ATTRIBUTES Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file in bytes, including the FFS header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to track the state of the file throughout the life of the file from creation to deletion.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_STATE State;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_FILE_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is the file name. It is used to uniquely identify the file. There may be only</span><br><span style="color: hsl(0, 100%, 40%);">- /// one instance of a file with the file name GUID of Name in any given firmware</span><br><span style="color: hsl(0, 100%, 40%);">- /// volume, except if the file type is EFI_FV_FILETYPE_FFS_PAD.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to verify the integrity of the file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_INTEGRITY_CHECK IntegrityCheck;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the type of file.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_FILETYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares various file attribute bits.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_ATTRIBUTES Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file in bytes, including the FFS header.</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length of the file data is either (Size - sizeof(EFI_FFS_FILE_HEADER)). This calculation means a</span><br><span style="color: hsl(0, 100%, 40%);">- /// zero-length file has a Size of 24 bytes, which is sizeof(EFI_FFS_FILE_HEADER).</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size is not required to be a multiple of 8 bytes. Given a file F, the next file header is</span><br><span style="color: hsl(0, 100%, 40%);">- /// located at the next 8-byte aligned firmware volume offset following the last byte of the file F.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used to track the state of the file throughout the life of the file from creation to deletion.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FFS_FILE_STATE State;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If FFS_ATTRIB_LARGE_FILE is set in Attributes, then ExtendedSize exists and Size must be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- /// If FFS_ATTRIB_LARGE_FILE is not set then EFI_FFS_FILE_HEADER is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtendedSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FFS_FILE_HEADER2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define IS_FFS_FILE2(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((((EFI_FFS_FILE_HEADER *) (UINTN) FfsFileHeaderPtr)->Attributes) & FFS_ATTRIB_LARGE_FILE) == FFS_ATTRIB_LARGE_FILE)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FILE_SIZE(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_FFS_FILE_HEADER *) (UINTN) FfsFileHeaderPtr)->Size) & 0x00ffffff))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FFS_FILE2_SIZE(FfsFileHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_FFS_FILE_HEADER2 *) (UINTN) FfsFileHeaderPtr)->ExtendedSize)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT8 EFI_SECTION_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Pseudo type. It is used as a wild card when retrieving sections.</span><br><span style="color: hsl(0, 100%, 40%);">-/// The section type EFI_SECTION_ALL matches all section types.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_ALL 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Encapsulation section Type values.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_COMPRESSION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_GUID_DEFINED 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_DISPOSABLE 0x03</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Leaf section Type values.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PE32 0x10</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PIC 0x11</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_TE 0x12</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_DXE_DEPEX 0x13</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_VERSION 0x14</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_USER_INTERFACE 0x15</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_COMPATIBILITY16 0x16</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_FIRMWARE_VOLUME_IMAGE 0x17</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_FREEFORM_SUBTYPE_GUID 0x18</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_RAW 0x19</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_PEI_DEPEX 0x1B</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_SECTION_SMM_DEPEX 0x1C</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Common section header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 24-bit unsigned integer that contains the total size of the section in bytes,</span><br><span style="color: hsl(0, 100%, 40%);">- /// including the EFI_COMMON_SECTION_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_SECTION_TYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares the section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMMON_SECTION_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 24-bit unsigned integer that contains the total size of the section in bytes,</span><br><span style="color: hsl(0, 100%, 40%);">- /// including the EFI_COMMON_SECTION_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Size[3];</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_SECTION_TYPE Type;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// If Size is 0xFFFFFF, then ExtendedSize contains the size of the section. If</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size is not equal to 0xFFFFFF, then this field does not exist.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtendedSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMMON_SECTION_HEADER2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Leaf section type that contains an</span><br><span style="color: hsl(0, 100%, 40%);">-/// IA-32 16-bit executable image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_COMPATIBILITY16_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_COMPATIBILITY16_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// CompressionType of EFI_COMPRESSION_SECTION.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_NOT_COMPRESSED 0x00</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_STANDARD_COMPRESSION 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// An encapsulation section type in which the</span><br><span style="color: hsl(0, 100%, 40%);">-/// section data is compressed.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Usual common section header. CommonHeader.Type = EFI_SECTION_COMPRESSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The UINT32 that indicates the size of the section data after decompression.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 UncompressedLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Indicates which compression algorithm is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CompressionType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMPRESSION_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Usual common section header. CommonHeader.Type = EFI_SECTION_COMPRESSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// UINT32 that indicates the size of the section data after decompression.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 UncompressedLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Indicates which compression algorithm is used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CompressionType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_COMPRESSION_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// An encapsulation section type in which the section data is disposable.</span><br><span style="color: hsl(0, 100%, 40%);">-/// A disposable section is an encapsulation section in which the section data may be disposed of during</span><br><span style="color: hsl(0, 100%, 40%);">-/// the process of creating or updating a firmware image without significant impact on the usefulness of</span><br><span style="color: hsl(0, 100%, 40%);">-/// the file. The Type field in the section header is set to EFI_SECTION_DISPOSABLE. This</span><br><span style="color: hsl(0, 100%, 40%);">-/// allows optional or descriptive data to be included with the firmware file which can be removed in</span><br><span style="color: hsl(0, 100%, 40%);">-/// order to conserve space. The contents of this section are implementation specific, but might contain</span><br><span style="color: hsl(0, 100%, 40%);">-/// debug data or detailed integration instructions.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_DISPOSABLE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_DISPOSABLE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which could be used to determine the dispatch order of DXEs.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_DXE_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_DXE_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a PI FV.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_FIRMWARE_VOLUME_IMAGE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_FIRMWARE_VOLUME_IMAGE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a single GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Common section header. CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is defined by the creator of the file. It is a vendor-defined file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SubTypeGuid;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FREEFORM_SUBTYPE_GUID_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This GUID is defined by the creator of the file. It is a vendor-defined file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SubTypeGuid;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FREEFORM_SUBTYPE_GUID_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Attributes of EFI_GUID_DEFINED_SECTION.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_GUIDED_SECTION_PROCESSING_REQUIRED 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_GUIDED_SECTION_AUTH_STATUS_VALID 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which is encapsulation defined by specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_GUID_DEFINED.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The GUID that defines the format of the data that follows. It is a vendor-defined section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SectionDefinitionGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Contains the offset in bytes from the beginning of the common header to the first byte of the data.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 DataOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The bit field that declares some specific characteristics of the section contents.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID_DEFINED_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The common section header. CommonHeader.Type = EFI_SECTION_GUID_DEFINED.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The GUID that defines the format of the data that follows. It is a vendor-defined section type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID SectionDefinitionGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Contains the offset in bytes from the beginning of the common header to the first byte of the data.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 DataOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The bit field that declares some specific characteristics of the section contents.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID_DEFINED_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains PE32+ image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PE32_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PE32_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section used to determine the dispatch order of PEIMs.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PEI_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PEI_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// A leaf section type that contains a position-independent-code (PIC) image.</span><br><span style="color: hsl(0, 100%, 40%);">-/// A PIC image section is a leaf section that contains a position-independent-code (PIC) image.</span><br><span style="color: hsl(0, 100%, 40%);">-/// In addition to normal PE32+ images that contain relocation information, PEIM executables may be</span><br><span style="color: hsl(0, 100%, 40%);">-/// PIC and are referred to as PIC images. A PIC image is the same as a PE32+ image except that all</span><br><span style="color: hsl(0, 100%, 40%);">-/// relocation information has been stripped from the image and the image can be moved and will</span><br><span style="color: hsl(0, 100%, 40%);">-/// execute correctly without performing any relocation or other fix-ups. EFI_PIC_SECTION2 must</span><br><span style="color: hsl(0, 100%, 40%);">-/// be used if the section is 16MB or larger.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_PIC_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_PIC_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which constains the position-independent-code image.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_TE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_TE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains an array of zero or more bytes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_RAW_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_RAW_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The SMM dependency expression section is a leaf section that contains a dependency expression that</span><br><span style="color: hsl(0, 100%, 40%);">-/// is used to determine the dispatch order for SMM drivers. Before the SMRAM invocation of the</span><br><span style="color: hsl(0, 100%, 40%);">-/// SMM driver's entry point, this dependency expression must evaluate to TRUE. See the Platform</span><br><span style="color: hsl(0, 100%, 40%);">-/// Initialization Specification, Volume 2, for details regarding the format of the dependency expression.</span><br><span style="color: hsl(0, 100%, 40%);">-/// The dependency expression may refer to protocols installed in either the UEFI or the SMM protocol</span><br><span style="color: hsl(0, 100%, 40%);">-/// database. EFI_SMM_DEPEX_SECTION2 must be used if the section is 16MB or larger.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER EFI_SMM_DEPEX_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef EFI_COMMON_SECTION_HEADER2 EFI_SMM_DEPEX_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a unicode string that</span><br><span style="color: hsl(0, 100%, 40%);">-/// is human readable file name.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Array of unicode string.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 FileNameString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_USER_INTERFACE_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 FileNameString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_USER_INTERFACE_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The leaf section which contains a numeric build number and</span><br><span style="color: hsl(0, 100%, 40%);">-/// an optional unicode string that represents the file revision.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 BuildNumber;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Array of unicode string.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 VersionString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_VERSION_SECTION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_COMMON_SECTION_HEADER2 CommonHeader;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A UINT16 that represents a particular build. Subsequent builds have monotonically</span><br><span style="color: hsl(0, 100%, 40%);">- /// increasing build numbers relative to earlier builds.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 BuildNumber;</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR16 VersionString[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_VERSION_SECTION2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define IS_SECTION2(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_COMMON_SECTION_HEADER *) (UINTN) SectionHeaderPtr)->Size) & 0x00ffffff) == 0x00ffffff)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define SECTION_SIZE(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- ((UINT32) (*((UINT32 *) ((EFI_COMMON_SECTION_HEADER *) (UINTN) SectionHeaderPtr)->Size) & 0x00ffffff))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define SECTION2_SIZE(SectionHeaderPtr) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_COMMON_SECTION_HEADER2 *) (UINTN) SectionHeaderPtr)->ExtendedSize)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspfv.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspfv.h</span><br><span>deleted file mode 100644</span><br><span>index 9688cf4..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspfv.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,249 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_FIRMWAREVOLUME_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_FIRMWAREVOLUME_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <fsptypes.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// EFI_FV_FILE_ATTRIBUTES</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_FV_FILE_ATTRIBUTES;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Value of EFI_FV_FILE_ATTRIBUTES.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_FIXED 0x00000100</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_FILE_ATTRIB_MEMORY_MAPPED 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// type of EFI FVB attribute</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_FVB_ATTRIBUTES_2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Attributes bit definitions</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_DISABLED_CAP 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_ENABLED_CAP 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_STATUS 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_DISABLED_CAP 0x00000008</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_ENABLED_CAP 0x00000010</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_STATUS 0x00000020</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_LOCK_CAP 0x00000040</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_LOCK_STATUS 0x00000080</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_STICKY_WRITE 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_MEMORY_MAPPED 0x00000400</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ERASE_POLARITY 0x00000800</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_LOCK_CAP 0x00001000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_READ_LOCK_STATUS 0x00002000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_LOCK_CAP 0x00004000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_WRITE_LOCK_STATUS 0x00008000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT 0x001F0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1 0x00000000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2 0x00010000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4 0x00020000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8 0x00030000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16 0x00040000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32 0x00050000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64 0x00060000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128 0x00070000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256 0x00080000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512 0x00090000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1K 0x000A0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2K 0x000B0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4K 0x000C0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8K 0x000D0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16K 0x000E0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32K 0x000F0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64K 0x00100000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128K 0x00110000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256K 0x00120000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512K 0x00130000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1M 0x00140000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2M 0x00150000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_4M 0x00160000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_8M 0x00170000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_16M 0x00180000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_32M 0x00190000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_64M 0x001A0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_128M 0x001B0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_256M 0x001C0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_512M 0x001D0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_1G 0x001E0000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVB2_ALIGNMENT_2G 0x001F0000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The number of sequential blocks which are of the same size.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NumBlocks;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The size of the blocks.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Length;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FV_BLOCK_MAP_ENTRY;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the features and layout of the firmware volume.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The first 16 bytes are reserved to allow for the reset vector of</span><br><span style="color: hsl(0, 100%, 40%);">- /// processors whose reset vector is at address 0.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ZeroVector[16];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares the file system with which the firmware volume is formatted.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FileSystemGuid;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Length in bytes of the complete firmware volume, including the header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 FvLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Set to EFI_FVH_SIGNATURE</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Signature;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Declares capabilities and power-on defaults for the firmware volume.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FVB_ATTRIBUTES_2 Attributes;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Length in bytes of the complete firmware volume header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HeaderLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A 16-bit checksum of the firmware volume header. A valid header sums to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Checksum;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Offset, relative to the start of the header, of the extended header</span><br><span style="color: hsl(0, 100%, 40%);">- /// (EFI_FIRMWARE_VOLUME_EXT_HEADER) or zero if there is no extended header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtHeaderOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This field must always be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Set to 2. Future versions of this specification may define new header fields and will</span><br><span style="color: hsl(0, 100%, 40%);">- /// increment the Revision field accordingly.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Revision;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An array of run-length encoded FvBlockMapEntry structures. The array is</span><br><span style="color: hsl(0, 100%, 40%);">- /// terminated with an entry of {0,0}.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FV_BLOCK_MAP_ENTRY BlockMap[1];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVH_SIGNATURE SIGNATURE_32 ('_', 'F', 'V', 'H')</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Firmware Volume Header Revision definition</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FVH_REVISION 0x02</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Extension header pointed by ExtHeaderOffset of volume header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Firmware volume name.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FvName;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size of the rest of the extension header, including this structure.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ExtHeaderSize;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Entry struture for describing FV extension header</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Size of this header extension.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtEntrySize;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Type of the header.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 ExtEntryType;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_EXT_TYPE_OEM_TYPE 0x01</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// This extension header provides a mapping between a GUID and an OEM file type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FIRMWARE_VOLUME_EXT_ENTRY Hdr;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A bit mask, one bit for each file type between 0xC0 (bit 0) and 0xDF (bit 31). If a bit</span><br><span style="color: hsl(0, 100%, 40%);">- /// is '1', then the GUID entry exists in Types. If a bit is '0' then no GUID entry exists in Types.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 TypeMask;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An array of GUIDs, each GUID representing an OEM file type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_GUID Types[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_FV_EXT_TYPE_GUID_TYPE 0x0002</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// This extension header EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE provides a vendor specific</span><br><span style="color: hsl(0, 100%, 40%);">-/// GUID FormatType type which includes a length and a successive series of data bytes.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_FIRMWARE_VOLUME_EXT_ENTRY Hdr;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Vendor-specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID FormatType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An arry of bytes of length Length.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// UINT8 Data[1];</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspguid.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspguid.h</span><br><span>deleted file mode 100644</span><br><span>index b9a6183..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspguid.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,69 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2014, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSP_GUID_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSP_GUID_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- FSP specific GUID HOB definitions</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- **/</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_INFO_HEADER_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0x912740BE, 0x2284, 0x4734, {0xB9, 0x71, 0x84, 0xB0, 0x27, 0x35, 0x3F, 0x0C} \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_NON_VOLATILE_STORAGE_HOB_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0x721acf02, 0x4d77, 0x4c2a, { 0xb3, 0xdc, 0x27, 0xb, 0x7b, 0xa9, 0xe4, 0xb0 } \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_BOOTLOADER_TEMPORARY_MEMORY_HOB_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0xbbcff46c, 0xc8d3, 0x4113, { 0x89, 0x85, 0xb9, 0xd4, 0xf3, 0xb3, 0xf6, 0x4e } \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_FSP_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0x69a79759, 0x1373, 0x4367, { 0xa6, 0xc4, 0xc7, 0xf5, 0x9e, 0xfd, 0x98, 0x6e } \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_TSEG_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0xd038747c, 0xd00c, 0x4980, { 0xb3, 0x19, 0x49, 0x01, 0x99, 0xa4, 0x7d, 0x55 } \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_HOB_RESOURCE_OWNER_GRAPHICS_GUID \</span><br><span style="color: hsl(0, 100%, 40%);">- { \</span><br><span style="color: hsl(0, 100%, 40%);">- 0x9c7c3aa7, 0x5332, 0x4917, { 0x82, 0xb9, 0x56, 0xa5, 0xf3, 0xe6, 0x2a, 0x07 } \</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fsphob.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fsphob.h</span><br><span>deleted file mode 100644</span><br><span>index a4200c5..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fsphob.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,544 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PI_HOB_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __PI_HOB_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <fsptypes.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// HobType of EFI_HOB_GENERIC_HEADER.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_MEMORY_ALLOCATION 0x0002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_RESOURCE_DESCRIPTOR 0x0003</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_GUID_EXTENSION 0x0004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_UNUSED 0xFFFE</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_HOB_TYPE_END_OF_HOB_LIST 0xFFFF</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the format and size of the data inside the HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-/// All HOBs must contain this generic HOB header.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Identifies the HOB data structure type.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HobType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length in bytes of the HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 HobLength;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// This field must always be set to zero.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_GENERIC_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Enumeration of memory types introduced in UEFI.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef enum {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Not used.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiReservedMemoryType,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded application.</span><br><span style="color: hsl(0, 100%, 40%);">- /// (Note that UEFI OS loaders are UEFI applications.)</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiLoaderCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded application and the default data allocation</span><br><span style="color: hsl(0, 100%, 40%);">- /// type used by an application to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiLoaderData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded Boot Services Driver.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiBootServicesCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded Boot Serves Driver, and the default data</span><br><span style="color: hsl(0, 100%, 40%);">- /// allocation type used by a Boot Services Driver to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiBootServicesData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The code portions of a loaded Runtime Services Driver.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiRuntimeServicesCode,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The data portions of a loaded Runtime Services Driver and the default</span><br><span style="color: hsl(0, 100%, 40%);">- /// data allocation type used by a Runtime Services Driver to allocate pool memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiRuntimeServicesData,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Free (unallocated) memory.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiConventionalMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Memory in which errors have been detected.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiUnusableMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Memory that holds the ACPI tables.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiACPIReclaimMemory,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Address space reserved for use by the firmware.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiACPIMemoryNVS,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Used by system firmware to request that a memory-mapped IO region</span><br><span style="color: hsl(0, 100%, 40%);">- /// be mapped by the OS to a virtual address so it can be accessed by EFI runtime services.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMemoryMappedIO,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// System memory-mapped IO region that is used to translate memory</span><br><span style="color: hsl(0, 100%, 40%);">- /// cycles to IO cycles by the processor.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMemoryMappedIOPortSpace,</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Address space reserved by the firmware for code that is part of the processor.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EfiPalCode,</span><br><span style="color: hsl(0, 100%, 40%);">- EfiMaxMemoryType</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_MEMORY_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// EFI_HOB_MEMORY_ALLOCATION_HEADER describes the</span><br><span style="color: hsl(0, 100%, 40%);">-/// various attributes of the logical memory allocation. The type field will be used for</span><br><span style="color: hsl(0, 100%, 40%);">-/// subsequent inclusion in the UEFI memory map.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID that defines the memory allocation region's type and purpose, as well as</span><br><span style="color: hsl(0, 100%, 40%);">- /// other fields within the memory allocation HOB. This GUID is used to define the</span><br><span style="color: hsl(0, 100%, 40%);">- /// additional data within the HOB that may be present for the memory allocation HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- /// Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0</span><br><span style="color: hsl(0, 100%, 40%);">- /// specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The base address of memory allocated by this HOB. Type</span><br><span style="color: hsl(0, 100%, 40%);">- /// EFI_PHYSICAL_ADDRESS is defined in AllocatePages() in the UEFI 2.0</span><br><span style="color: hsl(0, 100%, 40%);">- /// specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS MemoryBaseAddress;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The length in bytes of memory allocated by this HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 MemoryLength;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Defines the type of memory allocated by this HOB. The memory type definition</span><br><span style="color: hsl(0, 100%, 40%);">- /// follows the EFI_MEMORY_TYPE definition. Type EFI_MEMORY_TYPE is defined</span><br><span style="color: hsl(0, 100%, 40%);">- /// in AllocatePages() in the UEFI 2.0 specification.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_MEMORY_TYPE MemoryType;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Padding for Itanium processor family</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved[4];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_MEMORY_ALLOCATION_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes all memory ranges used during the HOB producer</span><br><span style="color: hsl(0, 100%, 40%);">-/// phase that exist outside the HOB list. This HOB type</span><br><span style="color: hsl(0, 100%, 40%);">-/// describes how memory is used, not the physical attributes of memory.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the</span><br><span style="color: hsl(0, 100%, 40%);">- /// various attributes of the logical memory allocation.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Additional data pertaining to the "Name" Guid memory</span><br><span style="color: hsl(0, 100%, 40%);">- // may go here.</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_MEMORY_ALLOCATION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// The resource type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_RESOURCE_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Value of ResourceType in EFI_HOB_RESOURCE_DESCRIPTOR.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_SYSTEM_MEMORY 0x00000000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_MAPPED_IO 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_IO 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_FIRMWARE_DEVICE 0x00000003</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MEMORY_RESERVED 0x00000005</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_IO_RESERVED 0x00000006</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_MAX_MEMORY_TYPE 0x00000007</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// A type of recount attribute type.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// These types can be ORed together as needed.</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// The first three enumerations describe settings</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_PRESENT 0x00000001</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_INITIALIZED 0x00000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_TESTED 0x00000004</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// The rest of the settings describe capabilities</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_SINGLE_BIT_ECC 0x00000008</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_MULTIPLE_BIT_ECC 0x00000010</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_1 0x00000020</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_2 0x00000040</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_READ_PROTECTED 0x00000080</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_PROTECTED 0x00000100</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTED 0x00000200</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE 0x00000400</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE 0x00000800</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE 0x00001000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE 0x00002000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_16_BIT_IO 0x00004000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_32_BIT_IO 0x00008000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_64_BIT_IO 0x00010000</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFI_RESOURCE_ATTRIBUTE_UNCACHED_EXPORTED 0x00020000</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Describes the resource properties of all fixed,</span><br><span style="color: hsl(0, 100%, 40%);">-/// nonrelocatable resource ranges found on the processor</span><br><span style="color: hsl(0, 100%, 40%);">-/// host bus during the HOB producer phase.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_RESOURCE_DESCRIPTOR.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID representing the owner of the resource. This GUID is used by HOB</span><br><span style="color: hsl(0, 100%, 40%);">- /// consumer phase components to correlate device ownership of a resource.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Owner;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The resource type enumeration as defined by EFI_RESOURCE_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_RESOURCE_TYPE ResourceType;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// Resource attributes as defined by EFI_RESOURCE_ATTRIBUTE_TYPE.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The physical start address of the resource region.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS PhysicalStart;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The number of bytes of the resource region.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 ResourceLength;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_RESOURCE_DESCRIPTOR;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Allows writers of executable content in the HOB producer phase to</span><br><span style="color: hsl(0, 100%, 40%);">-/// maintain and manage HOBs with specific GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER Header;</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- /// A GUID that defines the contents of this HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- ///</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID Name;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Guid specific data goes here</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_HOB_GUID_TYPE;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Union of all the possible HOB Types.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef union {</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GENERIC_HEADER *Header;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_MEMORY_ALLOCATION *MemoryAllocation;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_RESOURCE_DESCRIPTOR *ResourceDescriptor;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_HOB_GUID_TYPE *Guid;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 *Raw;</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_PEI_HOB_POINTERS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the type of a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the HobType field from the HOB header for the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return HobType.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_HOB_TYPE(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_HOB_GENERIC_HEADER *)(HobStart))->HobType)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the length, in bytes, of a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the HobLength field from the HOB header for the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return HobLength.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_HOB_LENGTH(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (((EFI_HOB_GENERIC_HEADER *)(HobStart))->HobLength)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a pointer to the next HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a pointer to HOB that follows the</span><br><span style="color: hsl(0, 100%, 40%);">- HOB specified by HobStart in the HOB List.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A pointer to the next HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_NEXT_HOB(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (VOID *)((UINT8 *)(HobStart) + GET_HOB_LENGTH(HobStart))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Determines if a HOB is the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro determine if the HOB specified by HobStart is the</span><br><span style="color: hsl(0, 100%, 40%);">- last HOB in the HOB list. If HobStart is last HOB in the HOB list,</span><br><span style="color: hsl(0, 100%, 40%);">- then TRUE is returned. Otherwise, FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE The HOB specified by HobStart is the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE The HOB specified by HobStart is not the last HOB in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define END_OF_HOB_LIST(HobStart) (GET_HOB_TYPE(HobStart) == (UINT16)EFI_HOB_TYPE_END_OF_HOB_LIST)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a pointer to data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a pointer to the data buffer in a HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">- HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param GuidHob A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A pointer to the data buffer in a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_GUID_HOB_DATA(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (VOID *)((UINT8 *)(HobStart) + sizeof(EFI_HOB_GUID_TYPE))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the size of the data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns the size, in bytes, of the data buffer in a HOB specified by HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">- HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param GuidHob A pointer to a HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The size of the data buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define GET_GUID_HOB_DATA_SIZE(HobStart) \</span><br><span style="color: hsl(0, 100%, 40%);">- (UINT16)(GET_HOB_LENGTH(HobStart) - sizeof(EFI_HOB_GUID_TYPE))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the pointer to first HOB in the list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetHobList (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB type from the starting HOB pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB type from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer</span><br><span style="color: hsl(0, 100%, 40%);">- unconditionally: it returns HobStart back if HobStart itself meets the requirement;</span><br><span style="color: hsl(0, 100%, 40%);">- caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If HobStart is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Type The HOB type to return.</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart The starting HOB pointer to search from.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB type in the HOB list, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Type The HOB type to return.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB from the starting HOB pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- Such HOB should satisfy two conditions:</span><br><span style="color: hsl(0, 100%, 40%);">- its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()</span><br><span style="color: hsl(0, 100%, 40%);">- to extract the data section and its size info respectively.</span><br><span style="color: hsl(0, 100%, 40%);">- In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer</span><br><span style="color: hsl(0, 100%, 40%);">- unconditionally: it returns HobStart back if HobStart itself meets the requirement;</span><br><span style="color: hsl(0, 100%, 40%);">- caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If HobStart is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid The GUID to match with in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobStart A pointer to a Guid.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function searches the first instance of a HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">- Such HOB should satisfy two conditions:</span><br><span style="color: hsl(0, 100%, 40%);">- its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.</span><br><span style="color: hsl(0, 100%, 40%);">- If there does not exist such HOB from the starting HOB pointer, it will return NULL.</span><br><span style="color: hsl(0, 100%, 40%);">- Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()</span><br><span style="color: hsl(0, 100%, 40%);">- to extract the data section and its size info respectively.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the pointer to the HOB list is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid The GUID to match with in the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Compares two GUIDs.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">- If there are any bit differences in the two GUIDs, then FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid1 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid2 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid1 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid2 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE Guid1 and Guid2 are identical.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE Guid1 and Guid2 are not identical.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-BOOLEAN</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-CompareGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid1,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid2</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Reads a 64-bit value from memory that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the 64-bit value pointed to by Buffer. The function</span><br><span style="color: hsl(0, 100%, 40%);">- guarantees that the read operation does not produce an alignment fault.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the Buffer is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Buffer Pointer to a 64-bit value that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The 64-bit value read from Buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-ReadUnaligned64 (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST UINT64 *Buffer</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspinfoheader.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspinfoheader.h</span><br><span>deleted file mode 100644</span><br><span>index 28382cf..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspinfoheader.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,62 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/*++</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_INFO_HEADER_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_INFO_HEADER_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Signature; // Off 0x94</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 HeaderLength;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Reserved1[3];</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 HeaderRevision;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageRevision;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- CHAR8 ImageId[8]; // Off 0xA4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageSize;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageBase;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ImageAttribute; // Off 0xB4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 CfgRegionOffset;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 CfgRegionSize;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 ApiEntryNum;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NemInitEntry; // Off 0xC4</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 FspInitEntry;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 NotifyPhaseEntry;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Reserved2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INFO_HEADER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspplatform.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspplatform.h</span><br><span>deleted file mode 100644</span><br><span>index c35dca0..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspplatform.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,114 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013 - 2015, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _FSP_PLATFORM_H_</span><br><span style="color: hsl(0, 100%, 40%);">-#define _FSP_PLATFORM_H_</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspapi.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Maximum number of SDRAM channels supported by each CPU</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define MAX_CHANNELS 2</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Maximum number of DIMM sockets supported by each channel</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#define MAX_DIMMS 2</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// SPD DDR3 structure</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DRAMDeviceType; // 2 DRAM Device Type</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleType; // 3 Module Type</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SDRAMDensityAndBanks; // 4 SDRAM Density and Banks</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SDRAMAddressing; // 5 SDRAM Addressing</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 VDD; // 6 Module Nominal Voltage</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleOrganization; // 7 Module Organization</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleMemoryBusWidth; // 8 Module Memory Bus Width</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 TimebaseDividend; // 10 Medium Timebase (MTB) Dividend</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 TimebaseDivisor; // 11 Medium Timebase (MTB) Divisor</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SDRAMMinimumCycleTime; // 12 SDRAM Minimum Cycle Time (tCKmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CASLatenciesLSB; // 14 CAS Latencies Supported, Least Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 CASLatenciesMSB; // 15 CAS Latencies Supported, Most Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MinimumCASLatencyTime; // 16 Minimum CAS Latency Time (tAAmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MinimumWriteRecoveryTime; // 17 Minimum Write Recovery Time (tWRmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MinimumRASToCASDelayTime; // 18 Minimum RAS# to CAS# Delay Time (tRCDmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MinimumRowToRowDelayTime; // 19 Minimum Row Active to Row Active Delay Time (tRRDmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MinimumRowPrechargeDelayTime; // 20 Minimum Row Precharge Delay Time (tRPmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UpperNibblesFortRASAndtRC; // 21 Upper Nibbles for tRAS and tRC</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tRASmin; // 22 Minimum Active to Precharge Delay Time (tRASmin), Least Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tRCmin; // 23 Minimum Active to Active/Refresh Delay Time (tRCmin), Least Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tRFCminLeastSignificantByte; // 24 Minimum Refresh Recovery Delay Time (tRFCmin), Least Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tRFCminMostSignificantByte; // 25 Minimum Refresh Recovery Delay Time (tRFCmin), Most Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tWTRmin; // 26 Minimum Internal Write to Read Command Delay Time (tWTRmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tRTPmin; // 27 Minimum Internal Read to Precharge Command Delay Time (tRTPmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UpperNibbleFortFAW; // 28 Upper Nibble for tFAW</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tFAWmin; // 29 Minimum Four Activate Window Delay Time (tFAWmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SdramThermalRefreshOption; // 31 SdramThermalRefreshOption</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleThermalSensor; // 32 ModuleThermalSensor</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 SDRAMDeviceType; // 33 SDRAM Device Type</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tCKminFine; // 34 Fine Offset for SDRAM Minimum Cycle Time (tCKmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 tAAminFine; // 35 Fine Offset for Minimum CAS Latency Time (tAAmin)</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 MACCount; // 41 Maximum Activate Count</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ReferenceRawCardUsed; // 62 Reference Raw Card Used</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 AddressMappingEdgeConnector; // 63 Address Mapping from Edge Connector to DRAM</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleManufacturerIdCodeLsb; // 117 Module Manufacturer ID Code, Least Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleManufacturerIdCodeMsb; // 118 Module Manufacturer ID Code, Most Significant Byte</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleManufacturingLocation; // 119 Module Manufacturing Location</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleManufacturingDateYear; // 120 Module Manufacturing Date Year</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleManufacturingDateWW; // 121 Module Manufacturing Date creation work week</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleSerialNumberA; // 122 Module Serial Number A</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleSerialNumberB; // 123 Module Serial Number B</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleSerialNumberC; // 124 Module Serial Number C</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 ModuleSerialNumberD; // 125 Module Serial Number D</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DramManufacturerIdLsb; // 148 DRAM Manufacturer ID Code, LSB</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 DramManufacturerIdMsb; // 149 DRAM Manufacturer ID Code, MSB</span><br><span style="color: hsl(0, 100%, 40%);">-} MEM_DOWN_DIMM_SPD_DATA;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 MemoryDownDimmPopulation; // 0 - Empty, 1 - DIMM populated</span><br><span style="color: hsl(0, 100%, 40%);">- MEM_DOWN_DIMM_SPD_DATA MemoryDownDimmSpdData;</span><br><span style="color: hsl(0, 100%, 40%);">-} MEM_DOWN_DIMM_CONFIG;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- CONST MEM_DOWN_DIMM_CONFIG *MemDownDimmConfig[MAX_CHANNELS][MAX_DIMMS];</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_RT_PLATFORM_BUFFER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- FSP_INIT_RT_COMMON_BUFFER Common;</span><br><span style="color: hsl(0, 100%, 40%);">- FSP_INIT_RT_PLATFORM_BUFFER Platform;</span><br><span style="color: hsl(0, 100%, 40%);">-} FSP_INIT_RT_BUFFER;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>\ No newline at end of file</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspsupport.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspsupport.h</span><br><span>deleted file mode 100644</span><br><span>index dbbbf77..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspsupport.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,95 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013 - 2014, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSP_SUPPORT_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSP_SUPPORT_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspfv.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspffs.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspapi.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsphob.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspguid.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspplatform.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspinfoheader.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspbootmode.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspvpd.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetUsableLowMemTop (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-GetUsableHighMemTop (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-GetGuidHobDataBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-VOID</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemoryFromGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS *FspMemoryBase,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 *FspMemoryLength,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID *FspReservedMemoryGuid</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetTsegReservedMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-VOID*</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspNvsDataBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-GetBootloaderTempMemoryBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">- );</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h</span><br><span>deleted file mode 100644</span><br><span>index da19250..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,183 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/******************************************************************************</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- *****************************************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/** \file fsptypes.h</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSP_TYPES_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSP_TYPES_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 8-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned long long UINT64;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 8-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef long long INT64;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 4-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned int UINT32;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 4-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef int INT32;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned short UINT16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte Character. Unless otherwise specified all strings are stored in the</span><br><span style="color: hsl(0, 100%, 40%);">-/// UTF-16 encoding format as defined by Unicode 2.1 and ISO/IEC 10646 standards.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned short CHAR16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 2-byte signed value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef short INT16;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Logical Boolean. 1-byte value containing 0 for FALSE or a 1 for TRUE. Other</span><br><span style="color: hsl(0, 100%, 40%);">-/// values are undefined.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned char BOOLEAN;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte unsigned value.</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef unsigned char UINT8;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte Character</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef char CHAR8;</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// 1-byte signed value</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-typedef char INT8;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef void VOID;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT64 EFI_PHYSICAL_ADDRESS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 Data1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Data2;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Data3;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 Data4[8];</span><br><span style="color: hsl(0, 100%, 40%);">-} EFI_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONST const</span><br><span style="color: hsl(0, 100%, 40%);">-#define STATIC static</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define TRUE ((BOOLEAN)(1==1))</span><br><span style="color: hsl(0, 100%, 40%);">-#define FALSE ((BOOLEAN)(0==1))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-static inline void DebugDeadLoop(void) {</span><br><span style="color: hsl(0, 100%, 40%);">- for (;;);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSPAPI __attribute__((cdecl))</span><br><span style="color: hsl(0, 100%, 40%);">-#define EFIAPI __attribute__((cdecl))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define _ASSERT(Expression) DebugDeadLoop()</span><br><span style="color: hsl(0, 100%, 40%);">-#define ASSERT(Expression) \</span><br><span style="color: hsl(0, 100%, 40%);">- do { \</span><br><span style="color: hsl(0, 100%, 40%);">- if (!(Expression)) { \</span><br><span style="color: hsl(0, 100%, 40%);">- _ASSERT (Expression); \</span><br><span style="color: hsl(0, 100%, 40%);">- } \</span><br><span style="color: hsl(0, 100%, 40%);">- } while (FALSE)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 FSP_STATUS;</span><br><span style="color: hsl(0, 100%, 40%);">-typedef UINT32 EFI_STATUS;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-///</span><br><span style="color: hsl(0, 100%, 40%);">-/// Compatiable with EFI_STATUS defined in PI Spec.</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_SUCCESS 0</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_INVALID_PARAMETER 0x80000002</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_UNSUPPORTED 0x80000003</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_DEVICE_ERROR 0x80000007</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_NOT_FOUND 0x8000000E</span><br><span style="color: hsl(0, 100%, 40%);">-#define FSP_ALREADY_STARTED 0x80000014</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a 16-bit signature built from 2 ASCII characters.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a 16-bit value built from the two ASCII characters specified</span><br><span style="color: hsl(0, 100%, 40%);">- by A and B.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param A The first ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param B The second ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A 16-bit value built from the two ASCII characters specified by A and B.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define SIGNATURE_16(A, B) ((A) | (B << 8))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a 32-bit signature built from 4 ASCII characters.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a 32-bit value built from the four ASCII characters specified</span><br><span style="color: hsl(0, 100%, 40%);">- by A, B, C, and D.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param A The first ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param B The second ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param C The third ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param D The fourth ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A 32-bit value built from the two ASCII characters specified by A, B,</span><br><span style="color: hsl(0, 100%, 40%);">- C and D.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define SIGNATURE_32(A, B, C, D) (SIGNATURE_16 (A, B) | (SIGNATURE_16 (C, D) << 16))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns a 64-bit signature built from 8 ASCII characters.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This macro returns a 64-bit value built from the eight ASCII characters specified</span><br><span style="color: hsl(0, 100%, 40%);">- by A, B, C, D, E, F, G,and H.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param A The first ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param B The second ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param C The third ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param D The fourth ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param E The fifth ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param F The sixth ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param G The seventh ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">- @param H The eighth ASCII character.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return A 64-bit value built from the two ASCII characters specified by A, B,</span><br><span style="color: hsl(0, 100%, 40%);">- C, D, E, F, G and H.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-#define SIGNATURE_64(A, B, C, D, E, F, G, H) \</span><br><span style="color: hsl(0, 100%, 40%);">- (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fspvpd.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fspvpd.h</span><br><span>deleted file mode 100644</span><br><span>index 4ba1a28..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fspvpd.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,89 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2015, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This file is automatically generated. Please do NOT modify !!!</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __FSP_VPD_H__</span><br><span style="color: hsl(0, 100%, 40%);">-#define __FSP_VPD_H__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack(1)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct _UPD_DATA_REGION {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 Signature; /* Offset 0x0000 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 Reserved; /* Offset 0x0008 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedUpdSpace0[16]; /* Offset 0x0010 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcInitTsegSize; /* Offset 0x0020 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMemoryDown; /* Offset 0x0021 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcRmtSupport; /* Offset 0x0022 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcRmtCpgcExpLoopCntValue; /* Offset 0x0023 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdMrcRmtCpgcNumBursts; /* Offset 0x0024 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSpdBaseAddress_0_0; /* Offset 0x0025 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSpdBaseAddress_0_1; /* Offset 0x0026 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSpdBaseAddress_1_0; /* Offset 0x0027 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSpdBaseAddress_1_1; /* Offset 0x0028 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdExtendedTemperatureEnable; /* Offset 0x0029 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedUpdSpace1[6]; /* Offset 0x002A */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableLan; /* Offset 0x0030 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSata2; /* Offset 0x0031 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableSata3; /* Offset 0x0032 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableIQAT; /* Offset 0x0033 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEnableUsb20; /* Offset 0x0034 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdBifurcation; /* Offset 0x0035 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPcieRootPort1DeEmphasis; /* Offset 0x0036 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPcieRootPort2DeEmphasis; /* Offset 0x0037 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPcieRootPort3DeEmphasis; /* Offset 0x0038 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPcieRootPort4DeEmphasis; /* Offset 0x0039 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedUpdSpace2[6]; /* Offset 0x003A */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdPrintDebugMessages; /* Offset 0x0040 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdFastboot; /* Offset 0x0041 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdEccSupport; /* Offset 0x0042 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSerialPortBaudRate; /* Offset 0x0043 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdCustomerRevision[32]; /* Offset 0x0044 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedUpdSpace3[12]; /* Offset 0x0064 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 PcdRegionTerminator; /* Offset 0x0070 */</span><br><span style="color: hsl(0, 100%, 40%);">-} UPD_DATA_REGION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define VPD_IMAGE_ID 0x562D474E524E5641 /* 'AVNRNG-V' */</span><br><span style="color: hsl(0, 100%, 40%);">-#define VPD_IMAGE_REV 0x00000140</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-typedef struct _VPD_DATA_REGION {</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 PcdVpdRegionSign; /* Offset 0x0000 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdImageRevision; /* Offset 0x0008 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdUpdRegionOffset; /* Offset 0x000C */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 UnusedVpdSpace0[16]; /* Offset 0x0010 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 PcdFspReservedMemoryLength; /* Offset 0x0020 */</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 PcdSpdWriteProtect; /* Offset 0x0024 */</span><br><span style="color: hsl(0, 100%, 40%);">-} VPD_DATA_REGION;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#pragma pack()</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/srx/fsp_support.c b/src/vendorcode/intel/fsp1_0/rangeley/srx/fsp_support.c</span><br><span>deleted file mode 100644</span><br><span>index 68e6fa0..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/srx/fsp_support.c</span><br><span>+++ /dev/null</span><br><span>@@ -1,288 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/** @file</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013 - 2014, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <types.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include <string.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include "fspsupport.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves the top of usable low memory.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval Usable low memory top.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetUsableLowMemTop (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 MemLen;</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = (VOID *)HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- MemLen = 0x100000;</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) {</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Need memory above 1MB to be collected here</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->PhysicalStart >= 0x100000 &&</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.ResourceDescriptor->PhysicalStart < (EFI_PHYSICAL_ADDRESS) 0x100000000) {</span><br><span style="color: hsl(0, 100%, 40%);">- MemLen += (UINT32) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return MemLen;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves the top of usable high memory.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval Usable high memory top.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-GetUsableHighMemTop (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 MemTop;</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = (VOID *)HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- MemTop = 0x100000000;</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) {</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Need memory above 1MB to be collected here</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->PhysicalStart >= (EFI_PHYSICAL_ADDRESS) 0x100000000) {</span><br><span style="color: hsl(0, 100%, 40%);">- MemTop += (UINT32) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return MemTop;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves a special reserved memory region.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the GUID HOB data buffer length. If the GUID HOB is</span><br><span style="color: hsl(0, 100%, 40%);">- located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @param OwnerGuid A pointer to the owner guild.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval Reserved region start address. 0 if this region does not exist.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemoryFromGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS *Base,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 *Length,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID *OwnerGuid</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Get the HOB list for processing</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = (VOID *)HobListPtr;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- /*</span><br><span style="color: hsl(0, 100%, 40%);">- * Collect memory ranges</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_MEMORY_RESERVED) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (CompareGuid(&Hob.ResourceDescriptor->Owner, OwnerGuid)) {</span><br><span style="color: hsl(0, 100%, 40%);">- *Base = (EFI_PHYSICAL_ADDRESS) (Hob.ResourceDescriptor->PhysicalStart);</span><br><span style="color: hsl(0, 100%, 40%);">- *Length = (UINT64) (Hob.ResourceDescriptor->ResourceLength);</span><br><span style="color: hsl(0, 100%, 40%);">- break;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves the TSEG reserved normal memory.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the TSEG reserved memory length buffer. If the GUID HOB is</span><br><span style="color: hsl(0, 100%, 40%);">- located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid A pointer to owner HOB GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval NULL Failed to find the TSEG reserved memory.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval others TSEG reserved memory base.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetTsegReservedMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- const EFI_GUID TsegOwnerHobGuid = FSP_HOB_RESOURCE_OWNER_TSEG_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 Length64 = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS Base = 0;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GetFspReservedMemoryFromGuid (HobListPtr, &Base, &Length64, (EFI_GUID *)&TsegOwnerHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">- if ((Length != NULL) && (Base != 0)) {</span><br><span style="color: hsl(0, 100%, 40%);">- *Length = (UINT32)Length64;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return (UINT32)Base;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves the FSP reserved normal memory.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the FSP reserved memory length buffer. If the GUID HOB is</span><br><span style="color: hsl(0, 100%, 40%);">- located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid A pointer to owner HOB GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval NULL Failed to find the FSP reserved memory.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval others FSP reserved memory base.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT32</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspReservedMemory (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- const EFI_GUID FspOwnerHobGuid = FSP_HOB_RESOURCE_OWNER_FSP_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 Length64 = 0;</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PHYSICAL_ADDRESS Base = 0;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GetFspReservedMemoryFromGuid (HobListPtr, &Base, &Length64, (EFI_GUID *)&FspOwnerHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">- if ((Length != NULL) && (Base != 0)) {</span><br><span style="color: hsl(0, 100%, 40%);">- *Length = (UINT32)Length64;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return (UINT32)Base;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves a GUIDed HOB data buffer and size.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the GUID HOB data buffer length. If the</span><br><span style="color: hsl(0, 100%, 40%);">- GUID HOB is located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid A pointer to HOB GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval NULL Failed to find the GUID HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval others GUID HOB data buffer pointer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-GetGuidHobDataBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length,</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- UINT8 *GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- /* FSP NVS DATA HOB */</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob = GetNextGuidHob(Guid, HobListPtr);</span><br><span style="color: hsl(0, 100%, 40%);">- if (GuidHob == NULL) {</span><br><span style="color: hsl(0, 100%, 40%);">- return NULL;</span><br><span style="color: hsl(0, 100%, 40%);">- } else {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Length) {</span><br><span style="color: hsl(0, 100%, 40%);">- *Length = GET_GUID_HOB_DATA_SIZE (GuidHob);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return GET_GUID_HOB_DATA (GuidHob);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves FSP Non-volatile Storage HOB buffer and size.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the NVS data buffer length. If the FSP NVS</span><br><span style="color: hsl(0, 100%, 40%);">- HOB is located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval NULL Failed to find the NVS HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval others FSP NVS data buffer pointer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-GetFspNvsDataBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- const EFI_GUID FspNvsHobGuid = FSP_NON_VOLATILE_STORAGE_HOB_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- return GetGuidHobDataBuffer (HobListPtr, Length, (EFI_GUID *)&FspNvsHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- This function retrieves Bootloader temporary stack buffer and size.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param HobListPtr A HOB list pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Length A pointer to the Bootloader temporary stack length.</span><br><span style="color: hsl(0, 100%, 40%);">- If the HOB is located, the length will be updated.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval NULL Failed to find the Bootloader temporary stack HOB.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval others Bootloader temporary stackbuffer pointer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-GetBootloaderTempMemoryBuffer (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobListPtr,</span><br><span style="color: hsl(0, 100%, 40%);">- UINT32 *Length</span><br><span style="color: hsl(0, 100%, 40%);">-)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- const EFI_GUID FspBootloaderTemporaryMemoryHobGuid = FSP_BOOTLOADER_TEMPORARY_MEMORY_HOB_GUID;</span><br><span style="color: hsl(0, 100%, 40%);">- return GetGuidHobDataBuffer (HobListPtr, Length, (EFI_GUID *)&FspBootloaderTemporaryMemoryHobGuid);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span>diff --git a/src/vendorcode/intel/fsp1_0/rangeley/srx/fsphob.c b/src/vendorcode/intel/fsp1_0/rangeley/srx/fsphob.c</span><br><span>deleted file mode 100644</span><br><span>index ba56543..0000000</span><br><span>--- a/src/vendorcode/intel/fsp1_0/rangeley/srx/fsphob.c</span><br><span>+++ /dev/null</span><br><span>@@ -1,204 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-/******************************************************************************</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Copyright (C) 2013, Intel Corporation</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-Redistribution and use in source and binary forms, with or without modification,</span><br><span style="color: hsl(0, 100%, 40%);">-are permitted provided that the following conditions are met:</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions of source code must retain the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer.</span><br><span style="color: hsl(0, 100%, 40%);">-* Redistributions in binary form must reproduce the above copyright notice, this</span><br><span style="color: hsl(0, 100%, 40%);">- list of conditions and the following disclaimer in the documentation and/or</span><br><span style="color: hsl(0, 100%, 40%);">- other materials provided with the distribution.</span><br><span style="color: hsl(0, 100%, 40%);">-* Neither the name of Intel Corporation nor the names of its contributors may</span><br><span style="color: hsl(0, 100%, 40%);">- be used to endorse or promote products derived from this software without</span><br><span style="color: hsl(0, 100%, 40%);">- specific prior written permission.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span><br><span style="color: hsl(0, 100%, 40%);">- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span><br><span style="color: hsl(0, 100%, 40%);">- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span><br><span style="color: hsl(0, 100%, 40%);">- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span><br><span style="color: hsl(0, 100%, 40%);">- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span><br><span style="color: hsl(0, 100%, 40%);">- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span><br><span style="color: hsl(0, 100%, 40%);">- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span><br><span style="color: hsl(0, 100%, 40%);">- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span><br><span style="color: hsl(0, 100%, 40%);">- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span><br><span style="color: hsl(0, 100%, 40%);">- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF</span><br><span style="color: hsl(0, 100%, 40%);">- THE POSSIBILITY OF SUCH DAMAGE.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ******************************************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/***********************************************************************</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * fsphob.c</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * HOB infrastructure code.</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- **********************************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-#include <string.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsptypes.h"</span><br><span style="color: hsl(0, 100%, 40%);">-#include "fsphob.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-// Pointer to the HOB should be initialized with the output of FSP INIT PARAMS</span><br><span style="color: hsl(0, 100%, 40%);">-//</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PRE_RAM__</span><br><span style="color: hsl(0, 100%, 40%);">-extern volatile void *FspHobListPtr;</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Reads a 64-bit value from memory that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function returns the 64-bit value pointed to by Buffer. The function</span><br><span style="color: hsl(0, 100%, 40%);">- guarantees that the read operation does not produce an alignment fault.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If the Buffer is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Buffer Pointer to a 64-bit value that may be unaligned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @return The 64-bit value read from Buffer.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-UINT64</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-ReadUnaligned64 (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST UINT64 *Buffer</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (Buffer != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return *Buffer;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Compares two GUIDs.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">- If there are any bit differences in the two GUIDs, then FALSE is returned.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid1 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">- If Guid2 is NULL, then ASSERT().</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid1 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">- @param Guid2 A pointer to a 128 bit GUID.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- @retval TRUE Guid1 and Guid2 are identical.</span><br><span style="color: hsl(0, 100%, 40%);">- @retval FALSE Guid1 and Guid2 are not identical.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-BOOLEAN</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-CompareGuid (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid1,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid2</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 LowPartOfGuid1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 LowPartOfGuid2;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 HighPartOfGuid1;</span><br><span style="color: hsl(0, 100%, 40%);">- UINT64 HighPartOfGuid2;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- LowPartOfGuid1 = ReadUnaligned64 ((CONST UINT64*) Guid1);</span><br><span style="color: hsl(0, 100%, 40%);">- LowPartOfGuid2 = ReadUnaligned64 ((CONST UINT64*) Guid2);</span><br><span style="color: hsl(0, 100%, 40%);">- HighPartOfGuid1 = ReadUnaligned64 ((CONST UINT64*) Guid1 + 1);</span><br><span style="color: hsl(0, 100%, 40%);">- HighPartOfGuid2 = ReadUnaligned64 ((CONST UINT64*) Guid2 + 1);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- return (BOOLEAN) (LowPartOfGuid1 == LowPartOfGuid2 && HighPartOfGuid1 == HighPartOfGuid2);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the pointer to the HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetHobList (</span><br><span style="color: hsl(0, 100%, 40%);">- VOID</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __PRE_RAM__</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (FspHobListPtr != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">- return ((VOID *)FspHobListPtr);</span><br><span style="color: hsl(0, 100%, 40%);">-#else</span><br><span style="color: hsl(0, 100%, 40%);">- return ((VOID *)NULL);</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of a HOB type from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS Hob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ASSERT (HobStart != NULL);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = (UINT8 *) HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- // Parse the HOB list until end of list or matching type is found.</span><br><span style="color: hsl(0, 100%, 40%);">- //</span><br><span style="color: hsl(0, 100%, 40%);">- while (!END_OF_HOB_LIST(Hob.Raw)) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (Hob.Header->HobType == Type) {</span><br><span style="color: hsl(0, 100%, 40%);">- return Hob.Raw;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- Hob.Raw = GET_NEXT_HOB(Hob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return NULL;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of a HOB type among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstHob (</span><br><span style="color: hsl(0, 100%, 40%);">- UINT16 Type</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *HobList;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- HobList = GetHobList ();</span><br><span style="color: hsl(0, 100%, 40%);">- return GetNextHob (Type, HobList);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the next instance of the matched GUID HOB from the starting HOB.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetNextGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid,</span><br><span style="color: hsl(0, 100%, 40%);">- CONST VOID *HobStart</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- EFI_PEI_HOB_POINTERS GuidHob;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob.Raw = (UINT8 *) HobStart;</span><br><span style="color: hsl(0, 100%, 40%);">- while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (CompareGuid (Guid, &GuidHob.Guid->Name)) {</span><br><span style="color: hsl(0, 100%, 40%);">- break;</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- GuidHob.Raw = GET_NEXT_HOB(GuidHob.Raw);</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">- return GuidHob.Raw;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/**</span><br><span style="color: hsl(0, 100%, 40%);">- Returns the first instance of the matched GUID HOB among the whole HOB list.</span><br><span style="color: hsl(0, 100%, 40%);">-**/</span><br><span style="color: hsl(0, 100%, 40%);">-VOID *</span><br><span style="color: hsl(0, 100%, 40%);">-EFIAPI</span><br><span style="color: hsl(0, 100%, 40%);">-GetFirstGuidHob (</span><br><span style="color: hsl(0, 100%, 40%);">- CONST EFI_GUID *Guid</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">- VOID *HobList;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- HobList = GetHobList ();</span><br><span style="color: hsl(0, 100%, 40%);">- return GetNextGuidHob (Guid, HobList);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/29517">change 29517</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/29517"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I17d9a4c1ffea86ca1a87e5eef5c15f510624d5a9 </div>
<div style="display:none"> Gerrit-Change-Number: 29517 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>