]> git.ipfire.org Git - thirdparty/grub.git/commit
efi: Add efitextmode command for getting/setting the text mode resolution
authorGlenn Washburn <development@efficientek.com>
Fri, 22 Jul 2022 07:16:33 +0000 (02:16 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 10 Aug 2022 12:22:16 +0000 (14:22 +0200)
commit294c0501e918c4bdea2f9fba02564865b1714655
treec5dd300bbed4e48a1451d7f96be97b1664bced08
parente43f3d93b28cce852c110c7a8e40d8311bcd8bb1
efi: Add efitextmode command for getting/setting the text mode resolution

This command is meant to behave similarly to the "mode" command of the EFI
Shell application. In addition to allowing mode selection by giving the
number of columns and rows as arguments, the command allows specifying the
mode number to select the mode. Also supported are the arguments "min" and
"max", which set the mode to the minimum and maximum mode respectively as
calculated by the columns * rows of that mode.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/Makefile.core.def
grub-core/commands/efi/efitextmode.c [new file with mode: 0644]
include/grub/efi/api.h
include/grub/err.h