From c449ba91eed64e2862cb1c1ac0627a4d5a7b511f Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sat, 27 Nov 2021 12:15:39 +0300 Subject: tbi/screen: make screen_clear() --- Library/UefiShellUfmCommandLib/tbi/screen.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library/UefiShellUfmCommandLib/tbi/screen.c') diff --git a/Library/UefiShellUfmCommandLib/tbi/screen.c b/Library/UefiShellUfmCommandLib/tbi/screen.c index ae4f2be..daca9c9 100644 --- a/Library/UefiShellUfmCommandLib/tbi/screen.c +++ b/Library/UefiShellUfmCommandLib/tbi/screen.c @@ -34,3 +34,10 @@ VOID forget_screen(struct screen *scr) FreePool(scr); } + +VOID screen_clear(struct screen *scr) +{ + ASSERT(scr != NULL); + + scr->stdout->ClearScreen(scr->stdout); +} -- cgit v1.2.3-18-g5258