ARM Packages: Removed trailing spaces
Trailing spaces create issue/warning when generating/applying patches. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15833 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
62d441fb17
commit
3402aac7d9
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
The entry of the embedded BDS. This BDS does not follow the Boot Manager requirements
|
||||
of the UEFI specification as it is designed to implement an embedded systmes
|
||||
The entry of the embedded BDS. This BDS does not follow the Boot Manager requirements
|
||||
of the UEFI specification as it is designed to implement an embedded systmes
|
||||
propriatary boot scheme.
|
||||
|
||||
This template assume a DXE driver produces a SerialIo protocol not using the EFI
|
||||
This template assume a DXE driver produces a SerialIo protocol not using the EFI
|
||||
driver module and it will attempt to connect a console on top of this.
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
|
||||
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -42,14 +42,14 @@ FindApplicationMatchingUiSection (
|
||||
UINTN UiStringLen;
|
||||
CHAR16 *UiSection;
|
||||
UINT32 Authentication;
|
||||
|
||||
|
||||
|
||||
|
||||
UiStringLen = 0;
|
||||
if (UiString != NULL) {
|
||||
DEBUG ((DEBUG_ERROR, "UiString %s\n", UiString));
|
||||
UiStringLen = StrLen (UiString);
|
||||
}
|
||||
|
||||
|
||||
Status = gBS->LocateHandleBuffer (ByProtocol, &gEfiFirmwareVolume2ProtocolGuid, NULL, &NoHandles, &Buffer);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
for (Index = 0; Index < NoHandles; Index++) {
|
||||
@@ -58,9 +58,9 @@ FindApplicationMatchingUiSection (
|
||||
Key = AllocatePool (Fv->KeySize);
|
||||
ASSERT (Key != NULL);
|
||||
ZeroMem (Key, Fv->KeySize);
|
||||
|
||||
|
||||
FileType = EFI_FV_FILETYPE_APPLICATION;
|
||||
|
||||
|
||||
do {
|
||||
NextStatus = Fv->GetNextFile (Fv, Key, &FileType, NameGuid, &Attributes, &Size);
|
||||
if (!EFI_ERROR (NextStatus)) {
|
||||
@@ -72,12 +72,12 @@ FindApplicationMatchingUiSection (
|
||||
FreePool (Key);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
UiSection = NULL;
|
||||
Status = Fv->ReadSection (
|
||||
Fv,
|
||||
NameGuid,
|
||||
EFI_SECTION_USER_INTERFACE,
|
||||
Fv,
|
||||
NameGuid,
|
||||
EFI_SECTION_USER_INTERFACE,
|
||||
0,
|
||||
(VOID **)&UiSection,
|
||||
&Size,
|
||||
@@ -86,7 +86,7 @@ FindApplicationMatchingUiSection (
|
||||
if (!EFI_ERROR (Status)) {
|
||||
if (StrnCmp (UiString, UiSection, UiStringLen) == 0) {
|
||||
//
|
||||
// We found a UiString match.
|
||||
// We found a UiString match.
|
||||
//
|
||||
*FvHandle = Buffer[Index];
|
||||
FreePool (Key);
|
||||
@@ -97,11 +97,11 @@ FindApplicationMatchingUiSection (
|
||||
}
|
||||
}
|
||||
} while (!EFI_ERROR (NextStatus));
|
||||
|
||||
|
||||
FreePool (Key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
FreePool (Buffer);
|
||||
}
|
||||
|
||||
@@ -114,14 +114,14 @@ FvFileDevicePath (
|
||||
IN EFI_HANDLE FvHandle,
|
||||
IN EFI_GUID *NameGuid
|
||||
)
|
||||
{
|
||||
{
|
||||
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
||||
MEDIA_FW_VOL_FILEPATH_DEVICE_PATH NewNode;
|
||||
|
||||
DevicePath = DevicePathFromHandle (FvHandle);
|
||||
|
||||
EfiInitializeFwVolDevicepathNode (&NewNode, NameGuid);
|
||||
|
||||
|
||||
return AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&NewNode);
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ FvFileDevicePath (
|
||||
|
||||
EFI_STATUS
|
||||
LoadPeCoffSectionFromFv (
|
||||
IN EFI_HANDLE FvHandle,
|
||||
IN EFI_HANDLE FvHandle,
|
||||
IN EFI_GUID *NameGuid
|
||||
)
|
||||
{
|
||||
@@ -138,13 +138,13 @@ LoadPeCoffSectionFromFv (
|
||||
EFI_HANDLE ImageHandle;
|
||||
|
||||
DevicePath = FvFileDevicePath (FvHandle, NameGuid);
|
||||
|
||||
|
||||
Status = gBS->LoadImage (TRUE, gImageHandle, DevicePath, NULL, 0, &ImageHandle);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
PERF_END (NULL, "BDS", NULL, 0);
|
||||
Status = gBS->StartImage (ImageHandle, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user