/*++\r
\r
-Copyright (c) 2006, 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
PxeDhcp4InitSelect.c\r
- \r
+\r
Abstract:\r
\r
--*/\r
\r
#include "PxeDhcp4.h"\r
\r
-#define DebugPrint(x)\r
-//\r
-// #define DebugPrint(x) Aprint x\r
-//\r
-/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */\r
STATIC\r
INTN\r
offer_verify (\r
return EFI_NOT_READY;\r
}\r
\r
-#if 0\r
- if (!is_good_discover (&This->Data->Discover)) {\r
- //\r
- // %%TBD - check discover packet fields\r
- //\r
- }\r
-#endif\r
//\r
// Get pointer to our instance data.\r
//\r
Private->offer_list = NULL;\r
Private->callback = NULL;\r
\r
- DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus));\r
+ DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus));\r
return EfiStatus;\r
}\r
\r
return EFI_DEVICE_ERROR;\r
}\r
\r
-#if 0\r
- if (!is_good_discover (&This->Data->Discover)) {\r
- //\r
- // %%TBD - check discover packet fields\r
- //\r
- }\r
-#endif\r
//\r
// Setup useful variables...\r
//\r
EfiStatus = add_opt (&request, srvid);\r
\r
if (EFI_ERROR (EfiStatus)) {\r
- DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus));\r
+ DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus));\r
Private->callback = NULL;\r
return EfiStatus;\r
}\r
EfiStatus = add_opt (&request, op);\r
\r
if (EFI_ERROR (EfiStatus)) {\r
- DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus));\r
+ DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus));\r
Private->callback = NULL;\r
return EfiStatus;\r
}\r
);\r
\r
if (EFI_ERROR (EfiStatus)) {\r
- DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus));\r
+ DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus));\r
Private->callback = NULL;\r
return EfiStatus;\r
}\r