On 02/19/15 09:37, Jordan Justen wrote:
> On 2015-02-18 13:08:07, Laszlo Ersek wrote:
>> diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c 
>> b/ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c
>> index 751864d..a25fc34 100644
>> --- a/ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c
>> +++ b/ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c
>> +  PcdSetBool (PcdOvmfPciEnabled, TRUE);
> 
> OVMF sets PcdPciDisableBusEnumeration in PlatformPei. Is there
> something to ensure this happens before AcpiPlatformDxe runs?

Yes: please see the APRIORI DXE in
ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.fdf. If that
weren't the case (ie. if VirtFdtDxe weren't dispatched right after the
PCD driver in DXE), *everything* would break; many DXE drivers depend on
PCDs that VirtFdtDxe parses from the DTB.

So this dispatch order restriction is not introduced by this patch.

Thanks!
Laszlo

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to