X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FEblAddExternalCommandLib%2FEblAddExternalCommandLib.c;fp=EmbeddedPkg%2FLibrary%2FEblAddExternalCommandLib%2FEblAddExternalCommandLib.c;h=3b9f1846d3cf569cf8f5e353bcc1a7db68264e27;hp=90ae8d44d5ef720fe6ad43646bd307e380e13160;hb=3402aac7d985bf8a9f9d3c639f3fe93609380513;hpb=62d441fb17d59958bf00c4a1f3b52bf6a0b40b24 diff --git a/EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.c b/EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.c index 90ae8d44d5..3b9f1846d3 100644 --- a/EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.c +++ b/EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.c @@ -36,7 +36,7 @@ EBL_ADD_COMMAND_PROTOCOL *gEblExternalCommand = NULL; @param Key EFI Key information returned @param TimeoutInSec Number of seconds to wait to timeout - @param CallBack Callback called every second during the timeout wait + @param CallBack Callback called every second during the timeout wait @return EFI_SUCCESS Key was returned @return EFI_TIMEOUT If the TimoutInSec expired @@ -64,7 +64,7 @@ EblGetCharKey ( If the use hits Q to quit return TRUE else for any other key return FALSE. PrefixNewline is used to figure out if a newline is needed before the prompt string. This depends on the last print done before calling this function. - CurrentRow is updated by one on a call or set back to zero if a prompt is + CurrentRow is updated by one on a call or set back to zero if a prompt is needed. @param CurrentRow Used to figure out if its the end of the page and updated @@ -118,12 +118,12 @@ EblAddCommandNotificationEvent ( /** The user Entry Point for the driver. The user code starts with this function - as the real entry point for the image goes into a library that calls this + as the real entry point for the image goes into a library that calls this function. - @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] ImageHandle The firmware allocated handle for the EFI image. @param[in] SystemTable A pointer to the EFI System Table. - + @retval EFI_SUCCESS The entry point is executed successfully. @retval other Some error occurs when executing this entry point. @@ -141,7 +141,7 @@ EblAddExternalCommands ( mAddExternalCmdLibTemplate = EntryArray; mAddExternalCmdLibTemplateSize = ArrayCount; - + EfiCreateProtocolNotifyEvent ( &gEfiEblAddCommandProtocolGuid, TPL_CALLBACK, @@ -149,7 +149,7 @@ EblAddExternalCommands ( NULL, &mEblCommandRegistration ); - + return EFI_SUCCESS; }