From 40d9b18c4f46aeec4aad93100d1524980289e908 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Sat, 23 Feb 2019 16:53:50 -0800 Subject: [PATCH] SimpleFbDxe: clear screen on load --- Pixel3XL/SimpleFbDxe/SimpleFbDxe.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Pixel3XL/SimpleFbDxe/SimpleFbDxe.c b/Pixel3XL/SimpleFbDxe/SimpleFbDxe.c index 40155b8..04ef090 100644 --- a/Pixel3XL/SimpleFbDxe/SimpleFbDxe.c +++ b/Pixel3XL/SimpleFbDxe/SimpleFbDxe.c @@ -497,6 +497,10 @@ SimpleFbDxeInitialize ASSERT_EFI_ERROR (Status); + // zhuowei: clear the screen + ZeroMem((void*)FrameBufferAddress, FrameBufferSize); + // zhuowei: end + return Status; -} \ No newline at end of file +}