diff options
| author | Ivan Hu <ivan.hu@canonical.com> | 2019-05-10 17:50:12 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-07-23 20:53:24 -0400 |
| commit | 55163bc82c5179adb109c3d8b982c2689d68b4c9 (patch) | |
| tree | dad40850e3844145bc51c7a54ff6eb59ffe56852 /include | |
| parent | 9f80be9f16a854e3946568fa92edebe26eb79e78 (diff) | |
| download | efi-boot-shim-55163bc82c5179adb109c3d8b982c2689d68b4c9.tar.gz efi-boot-shim-55163bc82c5179adb109c3d8b982c2689d68b4c9.zip | |
MokManager: console mode modification for hi-dpi screen devices
There are lots of hi-dpi laptops nowadays, as doing mok enrollment, the font
is too small to see.
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1822043
This patch checks if the resolution is larger than Full HD (1920x1080) and
current console output columns and rows is in a good mode. Then swith the
console output to a better mode.
Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
Upstream-commit-id: cf05af6d899
Diffstat (limited to 'include')
| -rw-r--r-- | include/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index deb4fa3d..9f259c71 100644 --- a/include/console.h +++ b/include/console.h @@ -34,6 +34,8 @@ void console_notify(CHAR16 *string); void console_reset(void); +void +console_mode_handle(void); #define NOSEL 0x7fffffff typedef struct _EFI_CONSOLE_CONTROL_PROTOCOL EFI_CONSOLE_CONTROL_PROTOCOL; |
