]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_arp.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Universal / Network / PxeBc / Dxe / pxe_bc_arp.c
index b7edbe69a87a6fdcd6f5f0c03273958d72132e04..747d243f1f0d7e36d7b67f6cdf52b7ad16099e28 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006 - 2007, 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2007, 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
   pxe_bc_arp.c\r
@@ -405,7 +405,7 @@ Returns:
 // not how it would be done in a full system\r
 //\r
 #define ARP_REQUEST_TIMEOUT_MS  500 // try for half a second\r
-  \r
+\r
   ////////////////////////////////////////////////////////////\r
 //\r
 //  BC Arp Routine\r
@@ -543,8 +543,8 @@ Returns:
   //\r
   //\r
   StatCode = gBS->CreateEvent (\r
-                    EFI_EVENT_TIMER,\r
-                    EFI_TPL_CALLBACK,\r
+                    EVT_TIMER,\r
+                    TPL_CALLBACK,\r
                     NULL,\r
                     NULL,\r
                     &TimeoutEvent\r