audk/UefiPayloadPkg
Lean Sheng Tan bfefdc2c49 UefiPayloadPkg: Fix PciHostBridgeLib
Don't assume a 64bit register always holds an address greater than 4GB.
Check the value in the register and decide which Aperature it should be
assigned to.

Fixes assertion
"ASSERT [PciHostBridgeDxe] Bridge->MemAbove4G.Base >= 0x0000000100000000ULL".

Tested with coreboot as bootloader on platforms that have PCI resource
above 4GiB and on platforms that don't have resource above 4GiB.

Cc: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Guo Dong <guo.dong@intel.com>
2022-04-10 17:46:10 +00:00
..
BlSupportDxe UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BlSupportSmm BlSupportSmm: fix definition of SetSmrr() 2022-03-07 22:48:49 +00:00
FvbRuntimeDxe UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
GraphicsOutputDxe UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Include UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance 2022-04-03 08:33:56 +00:00
Library UefiPayloadPkg: Fix PciHostBridgeLib 2022-04-10 17:46:10 +00:00
PayloadLoaderPeim UefiPayloadPkg/PayloadLoaderPeim: Use INT64 as input parameter 2022-03-01 02:45:28 +00:00
PchSmiDispatchSmm UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmAccessDxe UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmControlRuntimeDxe UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiPayloadEntry UefiPayloadPkg: Add build option for Above 4G Memory 2022-03-04 22:17:49 +00:00
BuildAndIntegrationInstructions.txt UefiPayloadPkg: Fix architecture in the build instruction 2022-03-29 05:18:43 +00:00
UefiPayloadPkg.ci.yaml UefiPayloadPkg/UefiPayloadPkg.ci.yaml: Remove duplicated entry 2022-03-29 04:22:16 +00:00
UefiPayloadPkg.dec UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance 2022-04-03 08:33:56 +00:00
UefiPayloadPkg.dsc UefiPayloadPkg: Consume the new added DebugPrintErrorLevelLib instance 2022-04-03 08:33:56 +00:00
UefiPayloadPkg.fdf UefiPayloadPkg: Change the user interface name of the Uiapp 2022-01-17 18:29:57 +00:00
UniversalPayloadBuild.py UefiPayloadPkg: Add ".upld_info" in universal payload 2021-09-29 05:39:09 +00:00