FragmentBuffer = AllocatePool (RX_FRAGMENT_SIZE);\r
ASSERT (FragmentBuffer != NULL);\r
if (FragmentBuffer == NULL) {\r
- DEBUG ((EFI_D_ERROR, "TCP Fastboot out of resources"));\r
+ DEBUG ((DEBUG_ERROR, "TCP Fastboot out of resources"));\r
return EFI_OUT_OF_RESOURCES;\r
}\r
\r
\r
Status = mTcpConnection->Receive (mTcpConnection, &mReceiveToken[mNextSubmitIndex]);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Receive: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Receive: %r\n", Status));\r
FreePool (FragmentBuffer);\r
}\r
\r
\r
Status = mTcpListener->Accept (mTcpListener, &mAcceptToken);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Accept: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Accept: %r\n", Status));\r
}\r
}\r
\r
\r
NewEntry = AllocatePool (sizeof (FASTBOOT_TCP_PACKET_LIST));\r
if (NewEntry == NULL) {\r
- DEBUG ((EFI_D_ERROR, "TCP Fastboot: Out of resources\n"));\r
+ DEBUG ((DEBUG_ERROR, "TCP Fastboot: Out of resources\n"));\r
return;\r
}\r
\r
NewEntry->Buffer = NULL;\r
NewEntry->BufferSize = 0;\r
\r
- DEBUG ((EFI_D_ERROR, "\nTCP Fastboot Receive error: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "\nTCP Fastboot Receive error: %r\n", Status));\r
}\r
\r
InsertTailList (&mPacketListHead, &NewEntry->Link);\r
Status = AcceptToken->CompletionToken.Status;\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Fastboot: Connection Error: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Fastboot: Connection Error: %r\n", Status));\r
return;\r
}\r
- DEBUG ((EFI_D_ERROR, "TCP Fastboot: Connection Received.\n"));\r
+ DEBUG ((DEBUG_ERROR, "TCP Fastboot: Connection Received.\n"));\r
\r
//\r
// Accepting a new TCP connection creates a new instance of the TCP protocol.\r
EFI_OPEN_PROTOCOL_GET_PROTOCOL\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Open TCP Connection: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Open TCP Connection: %r\n", Status));\r
return;\r
}\r
\r
&HandleBuffer\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Find TCP Service Binding: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Find TCP Service Binding: %r\n", Status));\r
return Status;\r
}\r
\r
EFI_OPEN_PROTOCOL_GET_PROTOCOL\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Open TCP Service Binding: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Open TCP Service Binding: %r\n", Status));\r
return Status;\r
}\r
\r
Status = mTcpServiceBinding->CreateChild (mTcpServiceBinding, &mTcpHandle);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP ServiceBinding Create: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP ServiceBinding Create: %r\n", Status));\r
return Status;\r
}\r
\r
EFI_OPEN_PROTOCOL_GET_PROTOCOL\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Open TCP Protocol: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Open TCP Protocol: %r\n", Status));\r
}\r
\r
//\r
} while (!Ip4ModeData.IsConfigured);\r
Status = mTcpListener->Configure (mTcpListener, &TcpConfigData);\r
} else if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Configure: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Configure: %r\n", Status));\r
return Status;\r
}\r
\r
\r
Status = mTcpListener->Accept (mTcpListener, &mAcceptToken);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Accept: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Accept: %r\n", Status));\r
return Status;\r
}\r
\r
\r
Status = mTransmitToken.CompletionToken.Status;\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Fastboot transmit result: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Fastboot transmit result: %r\n", Status));\r
gBS->SignalEvent (*(EFI_EVENT *) Context);\r
}\r
\r
\r
Status = mTcpConnection->Transmit (mTcpConnection, &mTransmitToken);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "TCP Transmit: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "TCP Transmit: %r\n", Status));\r
return Status;\r
}\r
\r
(VOID **) &mTextOut\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Fastboot: Open Text Output Protocol: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Fastboot: Open Text Output Protocol: %r\n", Status));\r
return Status;\r
}\r
\r
&mTransportProtocol\r
);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Fastboot: Install transport Protocol: %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Fastboot: Install transport Protocol: %r\n", Status));\r
}\r
\r
return Status;\r