/* Gets Graphics Console device's foreground color and background color. */
EFI_STATUS GetTextColors(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Foreground, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Background)
/* Gets Graphics Console device's foreground color and background color. */
EFI_STATUS GetTextColors(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Foreground, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Background)
{
  INTN  Attribute;
  Attribute = This->Mode->Attribute & 0x7F;
  *Foreground = mGraphicsEfiColors[Attribute & 0x0f];
  *Background = mGraphicsEfiColors[Attribute >> 4];
  return EFI_SUCCESS;
}