aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/tbi/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'Library/UefiShellUfmCommandLib/tbi/screen.c')
-rw-r--r--Library/UefiShellUfmCommandLib/tbi/screen.c7
1 files changed, 7 insertions, 0 deletions
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);
+}