GCC cleanup for all EDK I DXE libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -66,22 +66,22 @@ Abstract:
|
||||
#endif
|
||||
|
||||
static EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
0x98, 0x00, 0x00, 0x00,
|
||||
0x00, 0x98, 0x00, 0x00,
|
||||
0x98, 0x98, 0x00, 0x00,
|
||||
0x00, 0x00, 0x98, 0x00,
|
||||
0x98, 0x00, 0x98, 0x00,
|
||||
0x00, 0x98, 0x98, 0x00,
|
||||
0x98, 0x98, 0x98, 0x00,
|
||||
0x10, 0x10, 0x10, 0x00,
|
||||
0xff, 0x10, 0x10, 0x00,
|
||||
0x10, 0xff, 0x10, 0x00,
|
||||
0xff, 0xff, 0x10, 0x00,
|
||||
0x10, 0x10, 0xff, 0x00,
|
||||
0xf0, 0x10, 0xff, 0x00,
|
||||
0x10, 0xff, 0xff, 0x00,
|
||||
0xff, 0xff, 0xff, 0x00,
|
||||
{0x00, 0x00, 0x00, 0x00},
|
||||
{0x98, 0x00, 0x00, 0x00},
|
||||
{0x00, 0x98, 0x00, 0x00},
|
||||
{0x98, 0x98, 0x00, 0x00},
|
||||
{0x00, 0x00, 0x98, 0x00},
|
||||
{0x98, 0x00, 0x98, 0x00},
|
||||
{0x00, 0x98, 0x98, 0x00},
|
||||
{0x98, 0x98, 0x98, 0x00},
|
||||
{0x10, 0x10, 0x10, 0x00},
|
||||
{0xff, 0x10, 0x10, 0x00},
|
||||
{0x10, 0xff, 0x10, 0x00},
|
||||
{0xff, 0xff, 0x10, 0x00},
|
||||
{0x10, 0x10, 0xff, 0x00},
|
||||
{0xf0, 0x10, 0xff, 0x00},
|
||||
{0x10, 0xff, 0xff, 0x00},
|
||||
{0xff, 0xff, 0xff, 0x00},
|
||||
};
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@ Returns:
|
||||
Status = gBS->HandleProtocol (
|
||||
Handle,
|
||||
&gEfiGraphicsOutputProtocolGuid,
|
||||
&GraphicsOutput
|
||||
(VOID **) &GraphicsOutput
|
||||
);
|
||||
|
||||
UgaDraw = NULL;
|
||||
@@ -403,7 +403,7 @@ Returns:
|
||||
Status = gBS->HandleProtocol (
|
||||
Handle,
|
||||
&gEfiUgaDrawProtocolGuid,
|
||||
&UgaDraw
|
||||
(VOID **) &UgaDraw
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
@@ -414,7 +414,7 @@ Returns:
|
||||
Status = gBS->HandleProtocol (
|
||||
Handle,
|
||||
&gEfiSimpleTextOutProtocolGuid,
|
||||
&Sto
|
||||
(VOID **) &Sto
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
@@ -504,7 +504,7 @@ Returns:
|
||||
Status = gBS->LocateProtocol (
|
||||
&gEfiPrintProtocolGuid,
|
||||
NULL,
|
||||
&PrintProtocol
|
||||
(VOID **) &PrintProtocol
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user