[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [edk2] [PATCH] MdeModulePkg: mark completion of PCI enumeration in PciEnumeratorLight
On Thu, Feb 12, 2015 at 01:23:26AM +0000, Ni, Ruiyu wrote: > Wei, > No you cannot install gEfiPciEnumerationCompleteProtocolGuid in > PciEnumeratorLight(). > > For a real platform, PCI BUS is fully enumerated in PciEnumerator() > and later if reconnect happens, it's light enumerated in > PciEnumeratorLight(). The protocol should only be installed once in > PeiEnumerator(). Your fix will cause this protocol installed every > time a reconnect happens. > Makes sense. > The protocol 's meaning is that the PCI BUS is fully enumerated. If > the PCI BUS is fully enumerated before starting PciBus driver, light > PCI enumeration is used. > > For your OVMF/QEMU case, an alternative fix is to install this > protocol in a platform driver when it detects that the PCI BUS is > fully enumerated. > Cool, thanks for the pointer. Then I shall fix it inside OVMF. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |