]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/Efi/EfiSocketLib.h
MdeModulePkg: Fix a typo to resolve legacy boot failure.
[mirror_edk2.git] / StdLib / Include / Efi / EfiSocketLib.h
index f71653fa164efb8e254da176f8b1677fb4d6ebd7..efd6a61b1c6c8ae69a481963b481f340170ce2db 100644 (file)
@@ -24,6 +24,8 @@
 #include <Library/UefiLib.h>\r
 \r
 #include <Protocol/EfiSocket.h>\r
+#include <Protocol/Ip4Config.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