This patch add the efitextmode command which is used for showing all
available text output modes and setting a specific mode. Its basically the
equivalent of the EFI Shell's "mode" command and its output looks similar.
The main difference is that its shows the mode number in the listing and
takes a mode number when setting the mode. As a convenience it can take
arguments "min" or "max" to set to the minimum or maximum mode.

Glenn

Glenn Washburn (2):
  efi: Add efitextmode command for getting/setting the text mode
    resolution
  docs: Add documentation for the efitextmode command

 docs/grub.texi                       |  23 ++++++
 grub-core/Makefile.core.def          |   6 ++
 grub-core/commands/efi/efitextmode.c | 118 +++++++++++++++++++++++++++
 3 files changed, 147 insertions(+)
 create mode 100644 grub-core/commands/efi/efitextmode.c

-- 
2.34.1


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to