From 91c38d4e94c1461f5824b83d3722fe46626aa0d3 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 26 Aug 2014 10:14:17 +0000 Subject: ARM Packages: Replace tabs by spaces for indentation Replace tabs by spaces for indentation to comply to EDK2 coding standards. Done in files with extension ".S", ".c", ".h", ".asm", ".dsc", ".inc", "*.inf", "*.dec" or ".fdf" and located in ArmPkg, ArmPlatformPkg, EmbeddedPkg, BeagleBoardPkg or Omap35xxPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15901 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.h | 6 +++--- EmbeddedPkg/Ebl/Command.c | 6 +++--- EmbeddedPkg/Ebl/Network.c | 2 +- EmbeddedPkg/GdbStub/Arm/Processor.c | 4 ++-- EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +- EmbeddedPkg/GdbStub/Ia32/Processor.c | 4 ++-- EmbeddedPkg/GdbStub/X64/Processor.c | 2 +- EmbeddedPkg/Include/Library/PrePiLib.h | 23 +++++++++++----------- .../Include/Protocol/EmbeddedExternalDevice.h | 2 +- EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +- EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 4 ++-- EmbeddedPkg/Library/GdbDebugAgent/X64/Processor.c | 2 +- EmbeddedPkg/Library/PrePiLib/FwVol.c | 16 +++++++-------- 13 files changed, 37 insertions(+), 38 deletions(-) (limited to 'EmbeddedPkg') diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.h b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.h index 7d83b4f62e..cc883e8079 100644 --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.h +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.h @@ -89,12 +89,12 @@ typedef struct { * * Parameters: * - * @param pobj: A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance. + * @param pobj: A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance. * * Description: * - * This function starts a network interface. If the network interface successfully starts, then - * EFI_SUCCESS will be returned. + * This function starts a network interface. If the network interface successfully starts, then + * EFI_SUCCESS will be returned. */ EFI_STATUS EFIAPI diff --git a/EmbeddedPkg/Ebl/Command.c b/EmbeddedPkg/Ebl/Command.c index 7c00bcae85..04ea79464f 100644 --- a/EmbeddedPkg/Ebl/Command.c +++ b/EmbeddedPkg/Ebl/Command.c @@ -644,9 +644,9 @@ OutputData ( TextLine[Line++] = ConvertToTextLine(*Address++); break; - default: - AsciiPrint ("Width must be 1, 2, or 4!\n"); - return EFI_INVALID_PARAMETER; + default: + AsciiPrint ("Width must be 1, 2, or 4!\n"); + return EFI_INVALID_PARAMETER; } } diff --git a/EmbeddedPkg/Ebl/Network.c b/EmbeddedPkg/Ebl/Network.c index d02c9988e1..c0055d5bb7 100644 --- a/EmbeddedPkg/Ebl/Network.c +++ b/EmbeddedPkg/Ebl/Network.c @@ -61,7 +61,7 @@ EblIpCmd ( goto Exit; } - AsciiPrint("IP Address: %d.%d.%d.%d\n", Ip.v4.Addr[0], Ip.v4.Addr[1],Ip.v4.Addr[2], Ip.v4.Addr[3]); + AsciiPrint("IP Address: %d.%d.%d.%d\n", Ip.v4.Addr[0], Ip.v4.Addr[1],Ip.v4.Addr[2], Ip.v4.Addr[3]); } else if ((Argv[1][0] == 'r') && (Argc == 2)) { // Get new address via dhcp diff --git a/EmbeddedPkg/GdbStub/Arm/Processor.c b/EmbeddedPkg/GdbStub/Arm/Processor.c index 80803b2d91..96b4f570c4 100644 --- a/EmbeddedPkg/GdbStub/Arm/Processor.c +++ b/EmbeddedPkg/GdbStub/Arm/Processor.c @@ -398,7 +398,7 @@ LIST_ENTRY BreakpointList; /** Insert Single Step in the SystemContext - @param SystemContext Register content at time of the exception + @param SystemContext Register content at time of the exception **/ VOID AddSingleStep ( @@ -429,7 +429,7 @@ AddSingleStep ( /** Remove Single Step in the SystemContext - @param SystemContext Register content at time of the exception + @param SystemContext Register content at time of the exception **/ VOID RemoveSingleStep ( diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h index 659be6b38f..521c3442e0 100644 --- a/EmbeddedPkg/GdbStub/GdbStubInternal.h +++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h @@ -272,7 +272,7 @@ CheckIsa ( VOID GdbSendTSignal ( IN EFI_SYSTEM_CONTEXT SystemContext, - IN UINT8 GdbExceptionType + IN UINT8 GdbExceptionType ); diff --git a/EmbeddedPkg/GdbStub/Ia32/Processor.c b/EmbeddedPkg/GdbStub/Ia32/Processor.c index a4c4ded0c0..bd94b31109 100644 --- a/EmbeddedPkg/GdbStub/Ia32/Processor.c +++ b/EmbeddedPkg/GdbStub/Ia32/Processor.c @@ -316,7 +316,7 @@ WriteNthRegister ( // check if this is a valid Register Number if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { - SendError (GDB_EINVALIDREGNUM); + SendError (GDB_EINVALIDREGNUM); return; } InBufPtr++; // skips the '=' character @@ -344,7 +344,7 @@ WriteGeneralRegisters ( // check to see if the buffer is the right size which is // 1 (for 'G') + 16 (for 16 registers) * 8 ( for 8 hex chars each) = 129 if (AsciiStrLen(InBuffer) != 129) { // 16 regs, 8 hex chars each, and the end '\0' (escape seq) - //Bad message. Message is not the right length + //Bad message. Message is not the right length SendError (GDB_EBADBUFSIZE); return; } diff --git a/EmbeddedPkg/GdbStub/X64/Processor.c b/EmbeddedPkg/GdbStub/X64/Processor.c index 8a39c4828f..cbe50d78ec 100644 --- a/EmbeddedPkg/GdbStub/X64/Processor.c +++ b/EmbeddedPkg/GdbStub/X64/Processor.c @@ -285,7 +285,7 @@ WriteNthRegister ( // check if this is a valid Register Number if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { - SendError (GDB_EINVALIDREGNUM); + SendError (GDB_EINVALIDREGNUM); return; } InBufPtr++; // skips the '=' character diff --git a/EmbeddedPkg/Include/Library/PrePiLib.h b/EmbeddedPkg/Include/Library/PrePiLib.h index 9ac7f38a1f..cf70fca3b6 100644 --- a/EmbeddedPkg/Include/Library/PrePiLib.h +++ b/EmbeddedPkg/Include/Library/PrePiLib.h @@ -160,11 +160,10 @@ FfsGetVolumeInfo ( /** Get Fv image from the FV type file, then add FV & FV2 Hob. - @param FileHandle File handle of a Fv type file. + @param FileHandle File handle of a Fv type file. - - @retval EFI_NOT_FOUND FV image can't be found. - @retval EFI_SUCCESS Successfully to process it. + @retval EFI_NOT_FOUND FV image can't be found. + @retval EFI_SUCCESS Successfully to process it. **/ EFI_STATUS @@ -177,12 +176,12 @@ FfsProcessFvFile ( /** Search through every FV until you find a file of type FileType - @param FileType File handle of a Fv type file. - @param Volumehandle On succes Volume Handle of the match - @param FileHandle On success File Handle of the match + @param FileType File handle of a Fv type file. + @param Volumehandle On succes Volume Handle of the match + @param FileHandle On success File Handle of the match - @retval EFI_NOT_FOUND FV image can't be found. - @retval EFI_SUCCESS Successfully found FileType + @retval EFI_NOT_FOUND FV image can't be found. + @retval EFI_SUCCESS Successfully found FileType **/ EFI_STATUS @@ -197,11 +196,11 @@ FfsAnyFvFindFirstFile ( /** Get Fv image from the FV type file, then add FV & FV2 Hob. - @param FileHandle File handle of a Fv type file. + @param FileHandle File handle of a Fv type file. - @retval EFI_NOT_FOUND FV image can't be found. - @retval EFI_SUCCESS Successfully to process it. + @retval EFI_NOT_FOUND FV image can't be found. + @retval EFI_SUCCESS Successfully to process it. **/ EFI_STATUS diff --git a/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h b/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h index 5fe06eb8ce..06d2f034d0 100644 --- a/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h +++ b/EmbeddedPkg/Include/Protocol/EmbeddedExternalDevice.h @@ -91,4 +91,4 @@ struct _EMBEDDED_EXTERNAL_DEVICE { extern EFI_GUID gEmbeddedExternalDeviceProtocolGuid; -#endif // __EMBEDDED_EXTERNAL_DEVICE_H__ +#endif // __EMBEDDED_EXTERNAL_DEVICE_H__ diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h index 85328486d3..dfdc016d9d 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h @@ -218,7 +218,7 @@ CheckIsa ( VOID GdbSendTSignal ( IN EFI_SYSTEM_CONTEXT SystemContext, - IN UINT8 GdbExceptionType + IN UINT8 GdbExceptionType ); diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c index c5a421c69e..d465b21183 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c @@ -302,7 +302,7 @@ WriteNthRegister ( // check if this is a valid Register Number if ((RegNumber < 0) || (RegNumber >= sizeof (gRegisterOffsets)/sizeof (UINTN))) { - SendError (GDB_EINVALIDREGNUM); + SendError (GDB_EINVALIDREGNUM); return; } InBufPtr++; // skips the '=' character @@ -330,7 +330,7 @@ WriteGeneralRegisters ( // check to see if the buffer is the right size which is // 1 (for 'G') + 16 (for 16 registers) * 8 ( for 8 hex chars each) = 129 if (AsciiStrLen(InBuffer) != 129) { // 16 regs, 8 hex chars each, and the end '\0' (escape seq) - //Bad message. Message is not the right length + //Bad message. Message is not the right length SendError (GDB_EBADBUFSIZE); return; } diff --git a/EmbeddedPkg/Library/GdbDebugAgent/X64/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/X64/Processor.c index 8a39c4828f..cbe50d78ec 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/X64/Processor.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/X64/Processor.c @@ -285,7 +285,7 @@ WriteNthRegister ( // check if this is a valid Register Number if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { - SendError (GDB_EINVALIDREGNUM); + SendError (GDB_EINVALIDREGNUM); return; } InBufPtr++; // skips the '=' character diff --git a/EmbeddedPkg/Library/PrePiLib/FwVol.c b/EmbeddedPkg/Library/PrePiLib/FwVol.c index 34ae0f59ac..f73f1c0da4 100644 --- a/EmbeddedPkg/Library/PrePiLib/FwVol.c +++ b/EmbeddedPkg/Library/PrePiLib/FwVol.c @@ -695,12 +695,12 @@ FfsGetVolumeInfo ( /** Search through every FV until you find a file of type FileType - @param FileType File handle of a Fv type file. - @param Volumehandle On succes Volume Handle of the match - @param FileHandle On success File Handle of the match + @param FileType File handle of a Fv type file. + @param Volumehandle On succes Volume Handle of the match + @param FileHandle On success File Handle of the match - @retval EFI_NOT_FOUND FV image can't be found. - @retval EFI_SUCCESS Successfully found FileType + @retval EFI_NOT_FOUND FV image can't be found. + @retval EFI_SUCCESS Successfully found FileType **/ EFI_STATUS @@ -743,11 +743,11 @@ FfsAnyFvFindFirstFile ( /** Get Fv image from the FV type file, then add FV & FV2 Hob. - @param FileHandle File handle of a Fv type file. + @param FileHandle File handle of a Fv type file. - @retval EFI_NOT_FOUND FV image can't be found. - @retval EFI_SUCCESS Successfully to process it. + @retval EFI_NOT_FOUND FV image can't be found. + @retval EFI_SUCCESS Successfully to process it. **/ EFI_STATUS -- cgit v1.2.3