diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2018-03-12 17:14:58 +0100 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2018-03-12 18:00:41 -0400 |
| commit | 1ff4a36a23ac5c17144275ccb3e1e1061750a137 (patch) | |
| tree | 05d9b0f1c43d42e123a79e40ad55f59fbf4add0b /include | |
| parent | 42b1d8832f8a764f9a1cbea5e8b916dbb4665f30 (diff) | |
| download | efi-boot-shim-1ff4a36a23ac5c17144275ccb3e1e1061750a137.tar.gz efi-boot-shim-1ff4a36a23ac5c17144275ccb3e1e1061750a137.zip | |
console: Do not set EFI console to textmode until something is printed
Remove the setup_console(1) calls from shim and instead make lib/console.c
make that call when necessary. This avoids shim forcing the EFI console to
switch to text-mode if nothing is printed.
This commit also modifies MokManager to work the same way for consistency,
even though MokManager will always print something.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/console.h b/include/console.h index 62e8d6ec..517065cc 100644 --- a/include/console.h +++ b/include/console.h @@ -73,7 +73,7 @@ struct _EFI_CONSOLE_CONTROL_PROTOCOL { EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN LockStdIn; }; -extern VOID setup_console (int text); +extern VOID console_fini(VOID); extern VOID setup_verbosity(VOID); extern UINT8 verbose; #define dprint(fmt, ...) ({ \ |
