]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
Global variables have been moved backward ahead of functions.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UndiRuntimeDxe / Init.c
index 78b141409e33aeaf48150ec73443853289cc2f12..2ebd50c29fd705967a5297a6e6d4e4b3ce27b4a0 100644 (file)
@@ -21,6 +21,18 @@ PXE_SW_UNDI             *pxe_31 = NULL;  // 3.1 entry
 UNDI32_DEV              *UNDI32DeviceList[MAX_NIC_INTERFACES];\r
 NII_TABLE               *UndiDataPointer = NULL;\r
 \r
+//\r
+// UNDI Class Driver Global Variables\r
+//\r
+EFI_DRIVER_BINDING_PROTOCOL  gUndiDriverBinding = {\r
+  UndiDriverSupported,\r
+  UndiDriverStart,\r
+  UndiDriverStop,\r
+  0xa,\r
+  NULL,\r
+  NULL\r
+};\r
+\r
 \r
 /**\r
   When address mapping changes to virtual this should make the appropriate\r
@@ -31,7 +43,6 @@ NII_TABLE               *UndiDataPointer = NULL;
   @return None\r
 \r
 **/\r
-// TODO:    Context - add argument and description to function comment\r
 VOID\r
 EFIAPI\r
 UndiNotifyVirtual (\r
@@ -86,7 +97,6 @@ UndiNotifyVirtual (
   @return None\r
 \r
 **/\r
-// TODO:    Context - add argument and description to function comment\r
 VOID\r
 EFIAPI\r
 UndiNotifyExitBs (\r
@@ -96,18 +106,6 @@ UndiNotifyExitBs (
 {\r
   InstallConfigTable ();\r
 }\r
-//\r
-// UNDI Class Driver Global Variables\r
-//\r
-EFI_DRIVER_BINDING_PROTOCOL  gUndiDriverBinding = {\r
-  UndiDriverSupported,\r
-  UndiDriverStart,\r
-  UndiDriverStop,\r
-  0xa,\r
-  NULL,\r
-  NULL\r
-};\r
-\r
 \r
 \r
 /**\r