summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/EblExternCmd
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2014-08-19 13:29:52 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-19 13:29:52 +0000
commit3402aac7d985bf8a9f9d3c639f3fe93609380513 (patch)
tree67b11334dc45181581aaaac236243fe72c7f614c /EmbeddedPkg/EblExternCmd
parent62d441fb17d59958bf00c4a1f3b52bf6a0b40b24 (diff)
downloadedk2-3402aac7d985bf8a9f9d3c639f3fe93609380513.tar.gz
edk2-3402aac7d985bf8a9f9d3c639f3fe93609380513.tar.bz2
edk2-3402aac7d985bf8a9f9d3c639f3fe93609380513.zip
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
Diffstat (limited to 'EmbeddedPkg/EblExternCmd')
-rw-r--r--EmbeddedPkg/EblExternCmd/EntryPointGlue.c14
-rw-r--r--EmbeddedPkg/EblExternCmd/Main.c8
2 files changed, 11 insertions, 11 deletions
diff --git a/EmbeddedPkg/EblExternCmd/EntryPointGlue.c b/EmbeddedPkg/EblExternCmd/EntryPointGlue.c
index 87757dfd47..d0e549bdc1 100644
--- a/EmbeddedPkg/EblExternCmd/EntryPointGlue.c
+++ b/EmbeddedPkg/EblExternCmd/EntryPointGlue.c
@@ -1,5 +1,5 @@
/** @file
- Glue code that contains the EFI entry point and converts it to an EBL
+ Glue code that contains the EFI entry point and converts it to an EBL
ASCII Argc, Argv sytle entry point
@@ -88,7 +88,7 @@ ParseArguments (
} else if (*Char != ' ') {
Argv[Arg++] = Char;
LookingForArg = FALSE;
- }
+ }
} else {
// Looking for the terminator of an Argv[] entry
if ((InQuote && (*Char == '"')) || (!InQuote && (*Char == ' '))) {
@@ -112,12 +112,12 @@ ParseArguments (
return;
}
-
+
/**
- Embedded Boot Loader (EBL) - A simple EFI command line application for embedded
+ Embedded Boot Loader (EBL) - A simple EFI command line application for embedded
devices. PcdEmbeddedAutomaticBootCommand is a complied in command line that
gets executed automatically. The ; separator allows multiple commands
for each command line.
@@ -133,7 +133,7 @@ EFIAPI
EdkExternCmdEntry (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
+ )
{
EFI_STATUS Status;
EFI_LOADED_IMAGE_PROTOCOL *ImageInfo;
@@ -144,10 +144,10 @@ EdkExternCmdEntry (
if (EFI_ERROR (Status)) {
Argc = 0;
} else {
- // Looks like valid commands were passed in.
+ // Looks like valid commands were passed in.
ParseArguments (ImageInfo->LoadOptions, ImageInfo->LoadOptionsSize, &Argc, Argv);
}
-
+
return EblMain (Argc, Argv);
}
diff --git a/EmbeddedPkg/EblExternCmd/Main.c b/EmbeddedPkg/EblExternCmd/Main.c
index 9e75c909cc..dbfe336899 100644
--- a/EmbeddedPkg/EblExternCmd/Main.c
+++ b/EmbeddedPkg/EblExternCmd/Main.c
@@ -1,10 +1,10 @@
/** @file
- Example of an external EBL command. It's loaded via EBL start command.
+ Example of an external EBL command. It's loaded via EBL start command.
Argc and Argv are passed in via "" of the EBL command line.
Start fs0:\EdkExternCmd.efi "Argv[0] Argv[1] 2"
- will launch this command with
+ will launch this command with
Argv[0] = "Argv[0]"
Argv[1] = "Argv[2]"
Argv[2] = "3"
@@ -29,7 +29,7 @@
Entry point with Argc, Argv. Put your code here.
@param Argc Number of command arguments in Argv
- @param Argv Array of strings that represent the parsed command line.
+ @param Argv Array of strings that represent the parsed command line.
Argv[0] is the command name
@return EFI_SUCCESS
@@ -47,7 +47,7 @@ EblMain (
for (Index = 0; Index < Argc; Index++) {
AsciiPrint ("Argv[%d] = %a\n", Index, Argv[Index]);
}
-
+
return EFI_SUCCESS;
}