svn commit: r331547 - head/stand/efi/loader
Kyle Evans
kevans at FreeBSD.org
Mon Mar 26 13:45:18 UTC 2018
Author: kevans
Date: Mon Mar 26 13:45:17 2018
New Revision: 331547
URL: https://svnweb.freebsd.org/changeset/base/331547
Log:
loader efifb: implement uga_autoresize as a call to text_autoresize
UGA does not have the same kind of mode enumeration that GOP does. Implement
it instead as a call to text_autoresize so that firmwares with only UGA
present still get some kind of autoresizing behavior.
While here, rename a typo'd "gop" to "uga", although it will remain unused
for the time being.
Modified:
head/stand/efi/loader/framebuffer.c
Modified: head/stand/efi/loader/framebuffer.c
==============================================================================
--- head/stand/efi/loader/framebuffer.c Mon Mar 26 09:36:22 2018 (r331546)
+++ head/stand/efi/loader/framebuffer.c Mon Mar 26 13:45:17 2018 (r331547)
@@ -611,10 +611,10 @@ text_autoresize()
}
static int
-uga_autoresize(EFI_UGA_DRAW_PROTOCOL *gop)
+uga_autoresize(EFI_UGA_DRAW_PROTOCOL *uga)
{
- return (CMD_OK);
+ return (text_autoresize());
}
COMMAND_SET(efi_autoresize, "efi-autoresizecons", "EFI Auto-resize Console", command_autoresize);
More information about the svn-src-head
mailing list