15#define TOP_BOTTOM_LINES 0
16#define LOWEST_SUPPORTED_RES 1
40 TRACE(
"Failed to find GOP with status %d\n",
Status);
72 Intensity = (0 == (Attr & 0x08) ? 127 : 255);
75 (0 == (Attr & 0x04) ? 0 : (
Intensity << 16)) |
76 (0 == (Attr & 0x02) ? 0 : (
Intensity << 8)) |
109 ULONG FgColor, BgColor;
134 Pixel[Col] = (0 != (FontPtr[
Line] &
Mask) ? FgColor : BgColor);
185 OffScreenBuffer += 2;
193 ULONG BgColor, Dummy;
#define EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
#define DBG_DEFAULT_CHANNEL(ch)
enum tagVIDEODISPLAYMODE VIDEODISPLAYMODE
#define ATTR(cFore, cBack)
static WORD Intensity(RGBQUAD clr)
static VIDEODISPLAYMODE DisplayMode
EFI_LOCATE_PROTOCOL LocateProtocol
EFI_PHYSICAL_ADDRESS FrameBufferBase
EFI_GRAPHICS_OUTPUT_MODE_INFORMATION * Info
EFI_BOOT_SERVICES * BootServices
EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE * Mode
EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode
#define RtlZeroMemory(Destination, Length)
VOID UefiVideoGetPaletteColor(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
EFI_GUID EfiGraphicsOutputProtocol
VOID UefiVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
VOID UefiVideoClearScreen(UCHAR Attr)
VOID UefiVideoHideShowTextCursor(BOOLEAN Show)
ULONG UefiVideoGetBufferSize(VOID)
UCHAR BitmapFont8x16[256 *16]
EFI_STATUS UefiInitializeVideo(VOID)
VOID UefiVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth)
VOID UefiVideoSetTextCursorPosition(UCHAR X, UCHAR Y)
EFI_SYSTEM_TABLE * GlobalSystemTable
#define LOWEST_SUPPORTED_RES
REACTOS_INTERNAL_BGCONTEXT framebufferData
VOID UefiVideoScrollUp(VOID)
static ULONG UefiVideoAttrToSingleColor(UCHAR Attr)
VOID UefiVideoOutputChar(UCHAR Char, unsigned X, unsigned Y, ULONG FgColor, ULONG BgColor)
VOID UefiVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y)
VOID UefiVideoCopyOffScreenBufferToVRAM(PVOID Buffer)
UCHAR MachDefaultTextColor
VIDEODISPLAYMODE UefiVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init)
EFI_HANDLE GlobalImageHandle
static VOID UefiVideoClearScreenColor(ULONG Color, BOOLEAN FullScreen)
VOID UefiPrintFramebufferData(VOID)
BOOLEAN UefiVideoIsPaletteFixed(VOID)
static VOID UefiVideoAttrToColors(UCHAR Attr, ULONG *FgColor, ULONG *BgColor)
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth