MdeModulePkg: Clean up source files

1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Liming Gao
2018-06-27 21:08:52 +08:00
parent ca79bab7af
commit d1102dba72
1010 changed files with 13588 additions and 13588 deletions

View File

@ -1,6 +1,6 @@
/** @file
Routines to process Wrq (upload).
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@ -124,9 +124,9 @@ Mtftp4WrqSendBlock (
/**
Function to handle received ACK packet.
If the ACK number matches the expected block number, and there are more
Function to handle received ACK packet.
If the ACK number matches the expected block number, and there are more
data pending, send the next block. Otherwise tell the caller that we are done.
@param Instance The MTFTP upload session
@ -150,7 +150,7 @@ Mtftp4WrqHandleAck (
UINT16 AckNum;
INTN Expected;
UINT64 TotalBlock;
*Completed = FALSE;
AckNum = NTOHS (Packet->Ack.Block[0]);
Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);
@ -175,7 +175,7 @@ Mtftp4WrqHandleAck (
Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);
if (Expected < 0) {
//
// The block range is empty. It may either because the the last
// block has been ACKed, or the sequence number just looped back,
@ -202,8 +202,8 @@ Mtftp4WrqHandleAck (
/**
Check whether the received OACK is valid.
Check whether the received OACK is valid.
The OACK is valid only if:
1. It only include options requested by us
2. It can only include a smaller block size
@ -244,8 +244,8 @@ Mtftp4WrqOackValid (
/**
Function to handle the MTFTP OACK packet.
Function to handle the MTFTP OACK packet.
It parses the packet's options, and update the internal states of the session.
@param Instance The MTFTP session
@ -458,7 +458,7 @@ Mtftp4WrqInput (
case EFI_MTFTP4_OPCODE_ERROR:
Status = EFI_TFTP_ERROR;
break;
default:
break;
}
@ -492,8 +492,8 @@ ON_EXIT:
/**
Start the MTFTP session for upload.
It will first init some states, then send the WRQ request packet,
It will first init some states, then send the WRQ request packet,
and start receiving the packet.
@param Instance The MTFTP session