{\r
EFI_INPUT_KEY Enter;\r
EFI_INPUT_KEY F2;\r
+ EFI_INPUT_KEY Down;\r
EFI_BOOT_MANAGER_LOAD_OPTION BootOption;\r
\r
PlatformConsoleInit ();\r
EfiBootManagerGetBootManagerMenu (&BootOption);\r
EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL);\r
\r
+ //\r
+ // Also add Down key to Boot Manager Menu since some serial terminals don't support F2 key.\r
+ //\r
+ Down.ScanCode = SCAN_DOWN;\r
+ Down.UnicodeChar = CHAR_NULL;\r
+ EfiBootManagerGetBootManagerMenu (&BootOption);\r
+ EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &Down, NULL);\r
+\r
//\r
// Install ready to lock.\r
// This needs to be done before option rom dispatched.\r
\r
Print (\r
L"\n"\r
- L"F2 to enter Boot Manager Menu.\n"\r
- L"ENTER to boot directly.\n"\r
+ L"F2 or Down to enter Boot Manager Menu.\n"\r
+ L"ENTER to boot directly.\n"\r
L"\n"\r
);\r
\r