]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
Terminate the Capability List traversal if the Capability Pointer is less than 0x40...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciIo.c
index f92a5beeca42a749085f948595ac2f932ba7d086..79755053282a75712789c61681e8c2cb54bdb09f 100644 (file)
@@ -18,22 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Internal use only\r
 //\r
-/**\r
-  report a error Status code of PCI bus driver controller.\r
-  \r
-  @param PciIoDevice Pci device instance.\r
-  @param Code        status code.\r
-**/\r
-EFI_STATUS\r
-ReportErrorStatusCode (\r
-  IN PCI_IO_DEVICE               *PciIoDevice,\r
-  IN EFI_STATUS_CODE_VALUE       Code\r
-  );\r
 \r
-//\r
-// PCI I/O Support Function Prototypes\r
-//\r
-//\r
 //\r
 // Pci Io Protocol Interface\r
 //\r
@@ -66,6 +51,23 @@ EFI_PCI_IO_PROTOCOL  PciIoInterface = {
   NULL\r
 };\r
 \r
+/**\r
+  report a error Status code of PCI bus driver controller.\r
+  \r
+  @param PciIoDevice Pci device instance.\r
+  @param Code        status code.\r
+**/\r
+EFI_STATUS\r
+ReportErrorStatusCode (\r
+  IN PCI_IO_DEVICE               *PciIoDevice,\r
+  IN EFI_STATUS_CODE_VALUE       Code\r
+  );\r
+\r
+//\r
+// PCI I/O Support Function Prototypes\r
+//\r
+//\r
+\r
 /**\r
   report a error Status code of PCI bus driver controller.\r
   \r