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
UINTN ScreenHeight\r
)\r
{\r
- UINTN Offset;\r
- UINTN X;\r
- UINTN Y;\r
- UINT8 Color;\r
-\r
- Offset = 0;\r
- for (Y = 0; Y < ScreenHeight; Y++) {\r
- for (X = 0; X < ScreenWidth; X++) {\r
- Color = (UINT8) (256 * (X + Y) / (ScreenWidth + ScreenHeight));\r
- Private->LineBuffer[X] = Color;\r
- }\r
-\r
- Private->PciIo->Mem.Write (\r
- Private->PciIo,\r
- EfiPciIoWidthUint32,\r
- 0,\r
- Offset + (Y * ScreenWidth),\r
- ScreenWidth >> 2,\r
- Private->LineBuffer\r
- );\r
- }\r
}\r
\r
/**\r