diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-03-26 13:45:17 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-03-26 13:45:17 +0000 |
commit | 76e00374d29b8902f00a6d1ecc65a2eff9ddd78b (patch) | |
tree | b558c03cc0739527a33571bca43c4e0ccf99f12c /stand/efi/loader | |
parent | b93a1086cf7083483d84d85c744214a2eb222cd0 (diff) | |
download | src-76e00374d29b8902f00a6d1ecc65a2eff9ddd78b.tar.gz src-76e00374d29b8902f00a6d1ecc65a2eff9ddd78b.zip |
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.
Notes
Notes:
svn path=/head/; revision=331547
Diffstat (limited to 'stand/efi/loader')
-rw-r--r-- | stand/efi/loader/framebuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c index 1118345b2625..c6b187d04596 100644 --- a/stand/efi/loader/framebuffer.c +++ b/stand/efi/loader/framebuffer.c @@ -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); |