]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_loadfile.c
Change functional static variable to Global variable. No STATIC modifier is recommend...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / PxeBcDxe / Pxe_loadfile.c
index e2b56097d0030e39c6132ddcca39ad8fb7a2c32a..a15b873bc4c2280e29f14fddbad31b3481d5d245 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation\r
+Copyright (c) 2004 - 2008, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -39,7 +39,7 @@ typedef union {
   UINT8                     *BytePtr;\r
 } UNION_PTR;\r
 \r
-\r
+UINTN  mPropeller;\r
 \r
 /**\r
   PxeBc callback routine for status updates and aborts.\r
@@ -68,13 +68,11 @@ bc_callback (
   IN EFI_PXE_BASE_CODE_PACKET             * PacketPtr OPTIONAL\r
   )\r
 {\r
-  STATIC UINTN  Propeller;\r
-\r
   EFI_INPUT_KEY Key;\r
   UINTN         Row;\r
   UINTN         Col;\r
 \r
-  Propeller = 0;\r
+  mPropeller = 0;\r
   //\r
   // Resolve Warning 4 unreferenced parameter problem\r
   //\r
@@ -139,10 +137,10 @@ bc_callback (
     Row = gST->ConOut->Mode->CursorRow;\r
     Col = gST->ConOut->Mode->CursorColumn;\r
 \r
-    AsciiPrint ("%c", "/-\\|"[Propeller]);\r
+    AsciiPrint ("%c", "/-\\|"[mPropeller]);\r
     gST->ConOut->SetCursorPosition (gST->ConOut, Col, Row);\r
 \r
-    Propeller = (Propeller + 1) & 3;\r
+    mPropeller = (mPropeller + 1) & 3;\r
   }\r
 \r
   return EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE;\r