diff options
Diffstat (limited to 'ArmPlatformPkg/Bds/BootMenu.c')
-rw-r--r-- | ArmPlatformPkg/Bds/BootMenu.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ArmPlatformPkg/Bds/BootMenu.c b/ArmPlatformPkg/Bds/BootMenu.c index e00d06e394..419488228d 100644 --- a/ArmPlatformPkg/Bds/BootMenu.c +++ b/ArmPlatformPkg/Bds/BootMenu.c @@ -679,8 +679,9 @@ BootMenuMain ( UINTN BootOptionSelected;
UINTN Index;
UINTN BootMainEntryCount;
+ BOOLEAN IsUnicode;
- BootOption = NULL;
+ BootOption = NULL;
BootMainEntryCount = sizeof(BootMainEntries) / sizeof(struct BOOT_MAIN_ENTRY);
while (TRUE) {
@@ -746,6 +747,14 @@ BootMenuMain ( default:
Print(L"\t- LoaderType: Not recognized (%d)\n", LoaderType);
}
+ } else if (BootOption->OptionalData != NULL) {
+ if (IsPrintableString (BootOption->OptionalData, &IsUnicode)) {
+ if (IsUnicode) {
+ Print (L"\t- Arguments: %s\n", BootOption->OptionalData);
+ } else {
+ AsciiPrint ("\t- Arguments: %a\n", BootOption->OptionalData);
+ }
+ }
}
FreePool(DevicePathTxt);
DEBUG_CODE_END();
|