Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170486648
D52477.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
650 B
Referenced Files
None
Subscribers
None
D52477.diff
View Options
diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c
--- a/stand/efi/loader/framebuffer.c
+++ b/stand/efi/loader/framebuffer.c
@@ -894,14 +894,14 @@
* "blt off" does block gop->Blt() to be used and use
* software rendering instead.
*/
- if (argc != 3)
+ if (argc < 2 || argc > 3)
goto usage;
if (strcmp(argv[2], "on") == 0)
ignore_gop_blt = false;
else if (strcmp(argv[2], "off") == 0)
ignore_gop_blt = true;
else
- goto usage;
+ printf("blt is %s\n", ignore_gop_blt? "off" : "on");
} else if (strcmp(argv[1], "off") == 0) {
/*
* Tell console to use SimpleTextOutput protocol.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 6, 1:32 AM (13 h, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38284916
Default Alt Text
D52477.diff (650 B)
Attached To
Mode
D52477: loader.efi: "gop blt" should print the blt status
Attached
Detach File
Event Timeline
Log In to Comment