]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h
Use siaddr in DHCP packet, if zero, use option 54 instead.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / PxeBcSupport.h
index 1458fde2bb195354cd93dec9011e39fd072bd0dc..b006e38042cc05d794ac84c025dddcfde6de89f9 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
   Support routines for PxeBc.\r
-Copyright (c) 2007 - 2008, Intel Corporation.<BR>                                                         \r
+Copyright (c) 2007 - 2009, Intel Corporation.<BR>                                                         \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
@@ -38,15 +38,13 @@ GetSmbiosSystemGuidAndSerialNumber (
   @param  Event     The event signaled.\r
   @param  Context   The context.\r
 \r
-  @return None\r
-\r
 **/\r
 VOID\r
+EFIAPI\r
 PxeBcCommonNotify (\r
   IN EFI_EVENT           Event,\r
   IN VOID                *Context\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -86,11 +84,9 @@ PxeBcConfigureUdpWriteInstance (
   Convert number to ASCII value.\r
 \r
   @param  Number              Numeric value to convert to decimal ASCII value.\r
-  @param  Buffer              Buffer to place ASCII version of the Number\r
+  @param  Buffer              Buffer to place ASCII version of the Number.\r
   @param  Length              Length of Buffer.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 CvtNum (\r
@@ -103,8 +99,8 @@ CvtNum (
 /**\r
   Convert unsigned int number to decimal number.\r
 \r
-  @param  Number      The unsigned int number will be converted.\r
-  @param  Buffer      Pointer to the buffer to store the decimal number after transform.\r
+  @param  Number   The unsigned int number will be converted.\r
+  @param  Buffer   Pointer to the buffer to store the decimal number after transform.\r
 \r
   @return the length of the number after transform.\r
 \r
@@ -113,23 +109,21 @@ UINTN
 UtoA10 (\r
   IN UINTN Number,\r
   IN CHAR8 *Buffer\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
   Convert ASCII numeric string to a UINTN value.\r
 \r
   @param  Buffer  Pointer to the 8-byte unsigned int value.\r
-  \r
+\r
   @return UINTN value of the ASCII string.\r
 \r
 **/\r
 UINT64\r
 AtoU64 (\r
   IN UINT8 *Buffer\r
-  )\r
-;\r
+  );\r
 \r
 \r
 #endif\r