diff options
-rw-r--r-- | NetworkPkg/ArpDxe/ArpImpl.c | 8 | ||||
-rw-r--r-- | NetworkPkg/MnpDxe/MnpConfig.c | 4 | ||||
-rw-r--r-- | NetworkPkg/MnpDxe/MnpIo.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/NetworkPkg/ArpDxe/ArpImpl.c b/NetworkPkg/ArpDxe/ArpImpl.c index fe92a98..ad5cb3c 100644 --- a/NetworkPkg/ArpDxe/ArpImpl.c +++ b/NetworkPkg/ArpDxe/ArpImpl.c @@ -304,12 +304,12 @@ RESTART_RECEIVE: //
Status = ArpService->Mnp->Receive (ArpService->Mnp, RxToken);
- DEBUG_CODE (
+ DEBUG_CODE_BEGIN ();
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "ArpOnFrameRcvd: ArpService->Mnp->Receive "
"failed, %r\n.", Status));
}
- );
+ DEBUG_CODE_END ();
}
/**
@@ -358,11 +358,11 @@ ArpOnFrameSentDpc ( TxToken = (EFI_MANAGED_NETWORK_COMPLETION_TOKEN *)Context;
TxData = TxToken->Packet.TxData;
- DEBUG_CODE (
+ DEBUG_CODE_BEGIN ();
if (EFI_ERROR (TxToken->Status)) {
DEBUG ((DEBUG_ERROR, "ArpOnFrameSent: TxToken->Status, %r.\n", TxToken->Status));
}
- );
+ DEBUG_CODE_END ();
//
// Free the allocated memory and close the event.
diff --git a/NetworkPkg/MnpDxe/MnpConfig.c b/NetworkPkg/MnpDxe/MnpConfig.c index b27bc2e..1e9b390 100644 --- a/NetworkPkg/MnpDxe/MnpConfig.c +++ b/NetworkPkg/MnpDxe/MnpConfig.c @@ -1669,7 +1669,7 @@ MnpConfigReceiveFilters ( MCastFilterCnt,
MCastFilter
);
- DEBUG_CODE (
+ DEBUG_CODE_BEGIN ();
if (EFI_ERROR (Status)) {
DEBUG (
(DEBUG_ERROR,
@@ -1677,7 +1677,7 @@ MnpConfigReceiveFilters ( Status)
);
}
- );
+ DEBUG_CODE_END ();
if (MCastFilter != NULL) {
//
diff --git a/NetworkPkg/MnpDxe/MnpIo.c b/NetworkPkg/MnpDxe/MnpIo.c index 1f8d2e2..d5707ae 100644 --- a/NetworkPkg/MnpDxe/MnpIo.c +++ b/NetworkPkg/MnpDxe/MnpIo.c @@ -898,11 +898,11 @@ MnpReceivePacket ( //
Status = Snp->Receive (Snp, &HeaderSize, &BufLen, BufPtr, NULL, NULL, NULL);
if (EFI_ERROR (Status)) {
- DEBUG_CODE (
+ DEBUG_CODE_BEGIN ();
if (Status != EFI_NOT_READY) {
DEBUG ((DEBUG_WARN, "MnpReceivePacket: Snp->Receive() = %r.\n", Status));
}
- );
+ DEBUG_CODE_END ();
return Status;
}
|