mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
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.
This commit is contained in:
parent
b93a1086cf
commit
76e00374d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331547
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user