summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-13 03:11:47 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-13 03:11:47 +0000
commit6874dbd0e24535c3c4a89dddfdac98ad25b0617b (patch)
treee3071114a459c2fce296316806ae09034e624cbf /EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
parentbc022470e469566d807cf39b9e03cccc3b7e8685 (diff)
downloadedk2-6874dbd0e24535c3c4a89dddfdac98ad25b0617b.zip
edk2-6874dbd0e24535c3c4a89dddfdac98ad25b0617b.tar.gz
edk2-6874dbd0e24535c3c4a89dddfdac98ad25b0617b.tar.bz2
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h')
-rw-r--r--EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h36
1 files changed, 33 insertions, 3 deletions
diff --git a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
index 1e89445..f8e8837 100644
--- a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
+++ b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
@@ -15,9 +15,9 @@ Module Name:
Abstract:
- PCI Bus Driver Lib header file
- It abstracts some functions that can be different
- between light PCI bus driver and full PCI bus driver
+ PCI Bus Driver Lib header file.
+ Please use PCD feature flag PcdPciBusHotplugDeviceSupport to enable
+ support hot plug.
Revision History
@@ -155,6 +155,18 @@ Returns:
;
EFI_STATUS
+PciHostBridgeResourceAllocator_WithoutHotPlugDeviceSupport (
+ IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
+ )
+;
+
+EFI_STATUS
+PciHostBridgeResourceAllocator_WithHotPlugDeviceSupport (
+ IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
+ )
+;
+
+EFI_STATUS
PciScanBus (
IN PCI_IO_DEVICE *Bridge,
IN UINT8 StartBusNumber,
@@ -182,6 +194,24 @@ Returns:
;
EFI_STATUS
+PciScanBus_WithHotPlugDeviceSupport (
+ IN PCI_IO_DEVICE *Bridge,
+ IN UINT8 StartBusNumber,
+ OUT UINT8 *SubBusNumber,
+ OUT UINT8 *PaddedBusRange
+ )
+;
+
+EFI_STATUS
+PciScanBus_WithoutHotPlugDeviceSupport (
+ IN PCI_IO_DEVICE *Bridge,
+ IN UINT8 StartBusNumber,
+ OUT UINT8 *SubBusNumber,
+ OUT UINT8 *PaddedBusRange
+ )
+;
+
+EFI_STATUS
PciRootBridgeP2CProcess (
IN PCI_IO_DEVICE *Bridge
)