From: jljusten Date: Tue, 30 Jun 2009 15:57:31 +0000 (+0000) Subject: Do not draw anything during DrawLogo. X-Git-Tag: edk2-stable201903~17618 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8c5c1f32a53a25292df49f673bc61586809ae21f;ds=sidebyside Do not draw anything during DrawLogo. Previously a series of diagonal color lines would be drawn to the screen, and then quickly replaced by the boot logo. Now the screen will remain black until the boot logo is shown. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8689 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c index 2f0eb5a813..a248847273 100644 --- a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c +++ b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c @@ -751,27 +751,6 @@ DrawLogo ( UINTN ScreenHeight ) { - UINTN Offset; - UINTN X; - UINTN Y; - UINT8 Color; - - Offset = 0; - for (Y = 0; Y < ScreenHeight; Y++) { - for (X = 0; X < ScreenWidth; X++) { - Color = (UINT8) (256 * (X + Y) / (ScreenWidth + ScreenHeight)); - Private->LineBuffer[X] = Color; - } - - Private->PciIo->Mem.Write ( - Private->PciIo, - EfiPciIoWidthUint32, - 0, - Offset + (Y * ScreenWidth), - ScreenWidth >> 2, - Private->LineBuffer - ); - } } /**