audk/MdeModulePkg/Include/Library
Ruiyu Ni c5be19f378 MdeModulePkg/PciHostBridgeLib: Add ResourceAssigned field
Some platform doesn't require PciBus driver to assign resource
to PCI devices which causes PciRootBridgeIo.Configuration() cannot
return correct resource information to caller.

When resource assignment by PciBus is not mandatory, only light
version of PCI bus enumeration is performed, which only collects
the device resource consumption and publishes the PciIo instance.
The corresponding logic is in PciEnumeratorLight() in PciBus driver.

But PciEnumeratorLight() still depends on
PciRootBridgeIo.Configuration() returns the starting bus number in
order to search down to find all PCI devices under the root bridge.

When ResourceAssigned in PCI_ROOT_BRIDGE returned by
PciHostBridgeGetRootBridges() is TRUE, PciHostBridge driver treats
the Bus/Io/Mem/MemAbove4G/PMem/PMemAbove4G as the resource that are
*actually assigned* to the root bridge, instead of the resource that
*can be assigned* to the root bridge.
So that PciRootBridgeIo.Configuration() can return the correct
information.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2016-05-11 08:53:36 +08:00
..
AuthVariableLib.h
BootLogoLib.h MdeModulePkg: Change BootLogoEnableLogo use INTN for minus value 2015-11-18 05:05:22 +00:00
CapsuleLib.h
CpuExceptionHandlerLib.h
CustomizedDisplayLib.h
DebugAgentLib.h
DpcLib.h
FileExplorerLib.h MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs 2016-03-24 09:00:53 +08:00
HiiLib.h MdeModulePkg:Add new API HiiGetFormSetFromHiiHandle into UefiHiiLib 2015-10-27 10:19:29 +00:00
HttpLib.h MdeModulePkg:DxeHttpLib: Update to DxeHttpLib API 2016-04-27 10:43:08 +08:00
ImageDecoderLib.h MdeModulePkg: Add ImageDecoderLib to provide image decoding service. 2015-11-12 05:21:38 +00:00
IpIoLib.h
IpmiLib.h MdeModulePkg: Add IpmiLib and Ppi/Protocol header file. 2015-12-23 08:16:20 +00:00
LockBoxLib.h
NetLib.h MdeModulePkg: Add new macros and refine codes 2016-04-11 08:25:33 +08:00
OemHookStatusCodeLib.h
PciHostBridgeLib.h MdeModulePkg/PciHostBridgeLib: Add ResourceAssigned field 2016-05-11 08:53:36 +08:00
PlatformBootManagerLib.h
PlatformHookLib.h
PlatformVarCleanupLib.h MdeModulePkg: Add PlatformVarCleanupLib library 2015-08-25 03:11:06 +00:00
RecoveryLib.h
ResetSystemLib.h
S3Lib.h
SecurityManagementLib.h
SmmCorePlatformHookLib.h
SortLib.h
TcpIoLib.h
TpmMeasurementLib.h
UdpIoLib.h
UefiBootManagerLib.h MdeModulePkg/UefiBootManagerLib: Expose *GetLoadOptionBuffer() API 2016-05-04 08:47:34 +08:00
UefiHiiServicesLib.h
VarCheckLib.h