]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/Efi/EfiSocketLib.h
StdLib: Remove EfiSocketLib and Ip4Config Protocol dependency.
[mirror_edk2.git] / StdLib / Include / Efi / EfiSocketLib.h
index f71653fa164efb8e254da176f8b1677fb4d6ebd7..7618d02801ac1ca84a9befe938abf6eadf8e73ef 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Definitions for the EFI Socket layer library.\r
 \r
-  Copyright (c) 2011, Intel Corporation\r
+  Copyright (c) 2011 - 2015, 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
@@ -24,6 +24,8 @@
 #include <Library/UefiLib.h>\r
 \r
 #include <Protocol/EfiSocket.h>\r
+#include <Protocol/Ip4Config2.h>\r
+#include <Protocol/Ip6Config.h>\r
 #include <Protocol/ServiceBinding.h>\r
 #include <Protocol/Tcp4.h>\r
 #include <Protocol/Tcp6.h>\r
 **/\r
 #define RAISE_TPL(PreviousTpl, tpl)     \\r
   VERIFY_TPL ( tpl );                   \\r
-  PreviousTpl = gBS->RaiseTPL ( tpl );  \\r
-  DEBUG (( DEBUG_TPL | DEBUG_TPL,       \\r
-          "%d: TPL\r\n",                \\r
-          tpl ))\r
+  PreviousTpl = gBS->RaiseTPL ( tpl );\r
 \r
 /**\r
   Restore the TPL to the previous value\r
 **/\r
 #define RESTORE_TPL(tpl)            \\r
-  DEBUG (( DEBUG_TPL | DEBUG_TPL,   \\r
-          "%d: TPL\r\n",            \\r
-          tpl ));                   \\r
   gBS->RestoreTPL ( tpl )\r
 \r
 //------------------------------------------------------------------------------\r