]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h
clean up the un-suitable ';' location when declaring the functions.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciEnumeratorSupport.h
index 19adc047548870ed3e8d0e279c77a779de8fb56f..ab46b5ac8a48f7a74d7714561e8938659547c4ca 100644 (file)
@@ -34,8 +34,7 @@ PciDevicePresent (
   UINT8                               Bus,\r
   UINT8                               Device,\r
   UINT8                               Func\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Collect all the resource information under this root bridge\r
@@ -49,8 +48,7 @@ EFI_STATUS
 PciPciDeviceInfoCollector (\r
   IN PCI_IO_DEVICE                      *Bridge,\r
   UINT8                                 StartBusNumber\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Seach required device and get PCI device info block\r
@@ -70,8 +68,7 @@ PciSearchDevice (
   UINT8                                 Device,\r
   UINT8                                 Func,\r
   PCI_IO_DEVICE                         **PciDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Create PCI private data for PCI device\r
@@ -91,8 +88,7 @@ GatherDeviceInfo (
   UINT8                               Bus,\r
   UINT8                               Device,\r
   UINT8                               Func\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Create private data for bridge device's PPB.\r
@@ -112,8 +108,7 @@ GatherPpbInfo (
   UINT8                               Bus,\r
   UINT8                               Device,\r
   UINT8                               Func\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Create private data for hotplug bridge device\r
@@ -133,8 +128,7 @@ GatherP2CInfo (
   UINT8                               Bus,\r
   UINT8                               Device,\r
   UINT8                               Func\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Create device path for pci deivce\r
@@ -148,8 +142,7 @@ EFI_DEVICE_PATH_PROTOCOL  *
 CreatePciDevicePath (\r
   IN  EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,\r
   IN  PCI_IO_DEVICE            *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Check the bar is existed or not.\r
@@ -169,8 +162,7 @@ BarExisted (
   IN UINTN         Offset,\r
   OUT UINT32       *BarLengthValue,\r
   OUT UINT32       *OriginalBarValue\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Test whether the device can support attributes \r
@@ -190,8 +182,7 @@ PciTestSupportedAttribute (
   IN UINT16                             *BridgeControl,\r
   IN UINT16                             *OldCommand,\r
   IN UINT16                             *OldBridgeControl\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Set the supported or current attributes of a PCI device\r
@@ -208,8 +199,7 @@ PciSetDeviceAttribute (
   IN UINT16                             Command,\r
   IN UINT16                             BridgeControl,\r
   IN UINTN                              Option\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Determine if the device can support Fast Back to Back attribute\r
@@ -221,8 +211,7 @@ EFI_STATUS
 GetFastBackToBackSupport (\r
   IN PCI_IO_DEVICE                      *PciIoDevice,\r
   IN UINT8                              StatusIndex\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
  Determine the related attributes of all devices under a Root Bridge\r
@@ -233,8 +222,7 @@ GetFastBackToBackSupport (
 EFI_STATUS\r
 DetermineDeviceAttribute (\r
   IN PCI_IO_DEVICE                      *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   This routine is used to update the bar information for those incompatible PCI device\r
@@ -245,8 +233,7 @@ DetermineDeviceAttribute (
 EFI_STATUS\r
 UpdatePciInfo (\r
   IN PCI_IO_DEVICE  *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   This routine will update the alignment with the new alignment\r
@@ -259,8 +246,7 @@ VOID
 SetNewAlign (\r
   IN UINT64 *Alignment,\r
   IN UINT64 NewAlignment\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Parse PCI bar bit.\r
@@ -276,8 +262,7 @@ PciParseBar (
   IN PCI_IO_DEVICE  *PciIoDevice,\r
   IN UINTN          Offset,\r
   IN UINTN          BarIndex\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   This routine is used to initialize the bar of a PCI device\r
@@ -288,8 +273,7 @@ PciParseBar (
 EFI_STATUS\r
 InitializePciDevice (\r
   IN PCI_IO_DEVICE *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Init PPB for bridge device\r
@@ -299,8 +283,7 @@ InitializePciDevice (
 EFI_STATUS\r
 InitializePpb (\r
   IN PCI_IO_DEVICE *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Init private data for Hotplug bridge device\r
@@ -310,8 +293,7 @@ InitializePpb (
 EFI_STATUS\r
 InitializeP2C (\r
   IN PCI_IO_DEVICE *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Create and initiliaze general PCI I/O device instance for\r
@@ -332,8 +314,7 @@ CreatePciIoDevice (
   UINT8                               Bus,\r
   UINT8                               Device,\r
   UINT8                               Func\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   This routine is used to enumerate entire pci bus system\r
@@ -347,8 +328,7 @@ CreatePciIoDevice (
 EFI_STATUS\r
 PciEnumeratorLight (\r
   IN EFI_HANDLE                    Controller\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Get bus range.\r
@@ -367,14 +347,12 @@ PciGetBusRange (
   OUT    UINT16                             *MinBus,\r
   OUT    UINT16                             *MaxBus,\r
   OUT    UINT16                             *BusRange\r
-  )\r
-;\r
+  );\r
 \r
 EFI_STATUS\r
 StartManagingRootBridge (\r
   IN PCI_IO_DEVICE *RootBridgeDev\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   This routine can be used to check whether a PCI device should be rejected when light enumeration\r
@@ -388,7 +366,6 @@ StartManagingRootBridge (
 BOOLEAN\r
 IsPciDeviceRejected (\r
   IN PCI_IO_DEVICE *PciIoDevice\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r