From 4e111bf1afaff2e89e51574c61631cd4375d4fdd Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Wed, 23 May 2018 16:58:31 +0800 Subject: 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 --- include/console.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/console.h') 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); -- cgit v1.2.3