When tacking down the EFI_MEMORY_UC issue I noticed that InitRootBridg() [1] 
does not set RootBus-> ResourceAssigned = TRUE. If it was TRUE then the entire 
PCI aptitude would end up in the GCD map. Given it is not set (set by ZeroMem) 
the EFI_MEMORY_UC only ends up for the actual allocations as far as I can tell. 
I’m wondering why it was done this way?

I did notice if I set RootBus-> ResourceAssigned to TRUE the serial console did 
not come up and I did not get a chance to debug that? Maybe there was a 
resource conflict with the ISA bus driver or some such? 

[1] 
https://github.com/tianocore/edk2/blob/master/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c#L112

Thanks,

Andrew Fish
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#62052): https://edk2.groups.io/g/devel/message/62052
Mute This Topic: https://groups.io/mt/75284186/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to