Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102655405
D43714.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
973 B
Referenced Files
None
Subscribers
None
D43714.diff
View Options
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -722,7 +722,10 @@
* Parse ConOut (the list of consoles active) and see if we can find a
* serial port and/or a video port. It would be nice to also walk the
* ACPI name space to map the UID for the serial port to a port. The
- * latter is especially hard.
+ * latter is especially hard. Also check for ConIn as well. This will
+ * be enough to determine if we have serial, and if we don't, we default
+ * to video. If there's a dual-console situation with ConIn, this will
+ * currently fail.
*/
int
parse_uefi_con_out(void)
@@ -741,6 +744,8 @@
rv = efi_global_getenv("ConOut", buf, &sz);
if (rv != EFI_SUCCESS)
rv = efi_global_getenv("ConOutDev", buf, &sz);
+ if (rv != EFI_SUCCESS)
+ rv = efi_global_getenv("ConIn", buf, &sz);
if (rv != EFI_SUCCESS) {
/*
* If we don't have any ConOut default to both. If we have GOP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 10:18 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14657192
Default Alt Text
D43714.diff (973 B)
Attached To
Mode
D43714: loader: For EFI, if we don't have ConOut, try ConIn
Attached
Detach File
Event Timeline
Log In to Comment