mirror of https://github.com/acidanthera/audk.git
f674fa9cde
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 The entrypoint of DxeAcpiTimerLib checks HostBridgeDevId by reading PcdOvmfHostBridgePciDevId. If the DevId is not set, ASSERT is triggered. Normally this DevId is set in PlatformPei which is executed in PEI phase. This patch-set is introducing PEI-less boot which means PEI phase is skipped. So there is no chance to set this DevId. Instead HostBridgeDevId is set in PlatformInfoHob. So we can check if PlatformInfoHob exists and if HostBridgeDevId is set in this Hob. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> |
||
---|---|---|
.. | ||
AcpiTimerLib.c | ||
AcpiTimerLib.h | ||
BaseAcpiTimerLib.c | ||
BaseAcpiTimerLib.inf | ||
BaseAcpiTimerLibBhyve.c | ||
BaseAcpiTimerLibBhyve.inf | ||
BaseRomAcpiTimerLib.c | ||
BaseRomAcpiTimerLib.inf | ||
DxeAcpiTimerLib.c | ||
DxeAcpiTimerLib.inf |