aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/loader
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-07-14 01:46:19 +0000
committerWarner Losh <imp@FreeBSD.org>2018-07-14 01:46:19 +0000
commita44c75739d0309e7d11c4e80c986a871980d9714 (patch)
tree51da5bd6b95734e819d6209a957dabc893c409ee /stand/efi/loader
parent3fecfbebe94b17b0573acfb4e6554b294ec4d48b (diff)
downloadsrc-a44c75739d0309e7d11c4e80c986a871980d9714.tar.gz
src-a44c75739d0309e7d11c4e80c986a871980d9714.zip
Add reporting of whether or not a keyboard is detected. In addition,
note that r336270's commit message was slightly incorrect. It changed the default setting of the console to honor the ConOut variable. Overrides via the command line are still possible, and we use the devices in ConOut to set the proper console. If, for example, serial cosnole is specified, we'll set console to "efi" if ConOut has a serial port list and to either "efi comconsole" or "comconsole efi" if not depending on whether -D or -D -h was specified. RelNotes: Yes Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=336271
Diffstat (limited to 'stand/efi/loader')
-rw-r--r--stand/efi/loader/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index f004c47f5043..d1c5169c5c6f 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -622,6 +622,8 @@ main(int argc, CHAR16 *argv[])
*/
boot_howto_to_env(howto);
+ printf(" Keyboard: %s", has_kbd ? "yes" : "no");
+
if (efi_copy_init()) {
printf("failed to allocate staging area\n");
return (EFI_BUFFER_TOO_SMALL);