diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c index 2f29293..29da267 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Print.c @@ -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;
|