ArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'

Otherwise, the next line of the boot menu was on the same line as the 'escaped' one.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12168 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-08-18 11:29:26 +00:00
parent e1808603dc
commit 326d1df919
1 changed files with 6 additions and 0 deletions

View File

@ -317,6 +317,9 @@ FREE_DEVICE_PATH:
FreePool (DevicePath);
EXIT:
if (Status == EFI_ABORTED) {
Print(L"\n");
}
return Status;
}
@ -352,6 +355,9 @@ BootMenuManager (
Print(L"Choice: ");
Status = GetHIInputInteger (&OptionSelected);
if (EFI_ERROR(Status) || (OptionSelected == (BootManagerEntryCount+1))) {
if (EFI_ERROR(Status)) {
Print(L"\n");
}
return EFI_SUCCESS;
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);