summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:37:28 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:37:28 +0000
commited66e1bc0d2be0a185fc47adab4930c3b7e2767f (patch)
tree5709b407529f37f5a069d36ec5a0d3b04db9c3ba /IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
parent1f3a753ee68ac1c7a620e8064fdda718cf413761 (diff)
downloadedk2-platforms-ed66e1bc0d2be0a185fc47adab4930c3b7e2767f.tar.xz
clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h72
1 files changed, 24 insertions, 48 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
index 029e16eb26..e1f2a22b30 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
@@ -29,8 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
PciEnumerator (
IN EFI_HANDLE Controller
- )
-;
+ );
/**
Enumerate PCI root bridge
@@ -46,8 +45,7 @@ EFI_STATUS
PciRootBridgeEnumerator (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
IN PCI_IO_DEVICE *RootBridgeDev
- )
-;
+ );
/**
This routine is used to process option rom on a certain root bridge
@@ -63,8 +61,7 @@ ProcessOptionRom (
IN PCI_IO_DEVICE *Bridge,
IN UINT64 RomBase,
IN UINT64 MaxLength
- )
-;
+ );
/**
This routine is used to assign bus number to the given PCI bus system
@@ -80,8 +77,7 @@ PciAssignBusNumber (
IN PCI_IO_DEVICE *Bridge,
IN UINT8 StartBusNumber,
OUT UINT8 *SubBusNumber
- )
-;
+ );
/**
This routine is used to determine the root bridge attribute by interfacing
@@ -97,8 +93,7 @@ EFI_STATUS
DetermineRootBridgeAttributes (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
IN PCI_IO_DEVICE *RootBridgeDev
- )
-;
+ );
/**
Get Max Option Rom size on this bridge
@@ -109,8 +104,7 @@ DetermineRootBridgeAttributes (
UINT64
GetMaxOptionRomSize (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Process attributes of devices on this host bridge
@@ -124,8 +118,7 @@ GetMaxOptionRomSize (
EFI_STATUS
PciHostBridgeDeviceAttribute (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
Get resource allocation status from the ACPI pointer
@@ -147,8 +140,7 @@ GetResourceAllocationStatus (
OUT UINT64 *PMem32ResStatus,
OUT UINT64 *Mem64ResStatus,
OUT UINT64 *PMem64ResStatus
- )
-;
+ );
/**
Remove a PCI device from device pool and mark its bar
@@ -161,8 +153,7 @@ GetResourceAllocationStatus (
EFI_STATUS
RejectPciDevice (
IN PCI_IO_DEVICE *PciDevice
- )
-;
+ );
/**
Determine whethter a PCI device can be rejected
@@ -174,8 +165,7 @@ RejectPciDevice (
BOOLEAN
IsRejectiveDevice (
IN PCI_RESOURCE_NODE *PciResNode
- )
-;
+ );
/**
Compare two resource node and get the larger resource consumer
@@ -189,8 +179,7 @@ PCI_RESOURCE_NODE *
GetLargerConsumerDevice (
IN PCI_RESOURCE_NODE *PciResNode1,
IN PCI_RESOURCE_NODE *PciResNode2
- )
-;
+ );
/**
Get the max resource consumer in the host resource pool
@@ -202,8 +191,7 @@ GetLargerConsumerDevice (
PCI_RESOURCE_NODE *
GetMaxResourceConsumerDevice (
IN PCI_RESOURCE_NODE *ResPool
- )
-;
+ );
/**
Adjust host bridge allocation so as to reduce resource requirement
@@ -231,8 +219,7 @@ PciHostBridgeAdjustAllocation (
IN UINT64 PMem32ResStatus,
IN UINT64 Mem64ResStatus,
IN UINT64 PMem64ResStatus
- )
-;
+ );
/**
Summary requests for all resource type, and contruct ACPI resource
@@ -255,8 +242,7 @@ ConstructAcpiResourceRequestor (
IN PCI_RESOURCE_NODE *Mem64Node,
IN PCI_RESOURCE_NODE *PMem64Node,
OUT VOID **pConfig
- )
-;
+ );
/**
Get resource base from a acpi configuration descriptor.
@@ -278,8 +264,7 @@ GetResourceBase (
OUT UINT64 *PMem32Base,
OUT UINT64 *Mem64Base,
OUT UINT64 *PMem64Base
- )
-;
+ );
/**
Enumerate pci bridge, allocate resource and determine attribute
@@ -293,8 +278,7 @@ GetResourceBase (
EFI_STATUS
PciBridgeEnumerator (
IN PCI_IO_DEVICE *BridgeDev
- )
-;
+ );
/**
Allocate all kinds of resource for bridge
@@ -307,8 +291,7 @@ PciBridgeEnumerator (
EFI_STATUS
PciBridgeResourceAllocator (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Get resource base address for a pci bridge device
@@ -330,8 +313,7 @@ GetResourceBaseFromBridge (
OUT UINT64 *PMem32Base,
OUT UINT64 *Mem64Base,
OUT UINT64 *PMem64Base
- )
-;
+ );
/**
Process Option Rom on this host bridge
@@ -344,8 +326,7 @@ GetResourceBaseFromBridge (
EFI_STATUS
PciHostBridgeP2CProcess (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
These are the notifications from the PCI bus driver that it is about to enter a certain
@@ -413,8 +394,7 @@ EFI_STATUS
NotifyPhase (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase
- )
-;
+ );
/**
Provides the hooks from the PCI bus driver to every PCI controller (device/function) at various
@@ -450,8 +430,7 @@ PreprocessController (
IN UINT8 Device,
IN UINT8 Func,
IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase
- )
-;
+ );
/**
Hot plug request notify.
@@ -475,8 +454,7 @@ PciHotPlugRequestNotify (
IN EFI_DEVICE_PATH_PROTOCOL * RemainingDevicePath OPTIONAL,
IN OUT UINT8 *NumberOfChildren,
IN OUT EFI_HANDLE * ChildHandleBuffer
- )
-;
+ );
/**
Search hostbridge according to given handle
@@ -486,8 +464,7 @@ PciHotPlugRequestNotify (
BOOLEAN
SearchHostBridgeHandle (
IN EFI_HANDLE RootBridgeHandle
- )
-;
+ );
/**
Add host bridge handle to global variable for enumating.
@@ -497,7 +474,6 @@ SearchHostBridgeHandle (
EFI_STATUS
AddHostBridgeEnumerator (
IN EFI_HANDLE HostBridgeHandle
- )
-;
+ );
#endif