diff options
| author | Gary Lin <glin@suse.com> | 2018-05-23 16:58:31 +0800 |
|---|---|---|
| committer | Javier Martinez Canillas <javier@dowhile0.org> | 2021-02-16 09:12:48 +0100 |
| commit | 4e111bf1afaff2e89e51574c61631cd4375d4fdd (patch) | |
| tree | b9099e3ed31027d28f0b383bcab90c65298fcdf4 /include/console.h | |
| parent | 19a147061c45e7beeb3c533ef59857cac859ab15 (diff) | |
| download | efi-boot-shim-4e111bf1afaff2e89e51574c61631cd4375d4fdd.tar.gz efi-boot-shim-4e111bf1afaff2e89e51574c61631cd4375d4fdd.zip | |
console: Move the countdown function to console.c
Move the countdown function from MokManager to console.c to make the
function public
Also make console_save_and_set_mode() and console_restore_mode() public
Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'include/console.h')
| -rw-r--r-- | include/console.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index 65005f83..63461c96 100644 --- a/include/console.h +++ b/include/console.h @@ -35,6 +35,12 @@ console_alertbox(CHAR16 **title); void console_notify(CHAR16 *string); void +console_save_and_set_mode(SIMPLE_TEXT_OUTPUT_MODE * SavedMode); +void +console_restore_mode(SIMPLE_TEXT_OUTPUT_MODE * SavedMode); +int +console_countdown(CHAR16* title, const CHAR16* message, int timeout); +void console_reset(void); void console_mode_handle(void); |
