public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* 2nd OVMF question about why InitRootBridge does not set ResourceAssigned?
@ 2020-07-03 17:22 Andrew Fish
  2020-07-07 19:59 ` [edk2-devel] " Laszlo Ersek
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Fish @ 2020-07-03 17:22 UTC (permalink / raw)
  To: edk2-devel-groups-io

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-07 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03 17:22 2nd OVMF question about why InitRootBridge does not set ResourceAssigned? Andrew Fish
2020-07-07 19:59 ` [edk2-devel] " Laszlo Ersek
2020-07-07 20:21   ` Laszlo Ersek
2020-07-07 23:08     ` Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox