24#define LOWEST_SUPPORTED_RES 1
29#ifdef EFI_UGA_DRAW_PROTOCOL_GUID
38#ifdef EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
48 {0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000},
49 {0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000},
68 TRACE(
"Failed to find GOP with status %d\n",
Status);
108 pPixelBitmask =
NULL;
125 ERR(
"Couldn't initialize video framebuffer\n");
EFI_GRAPHICS_PIXEL_FORMAT
@ PixelRedGreenBlueReserved8BitPerColor
@ PixelBlueGreenRedReserved8BitPerColor
#define EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
#define DBG_DEFAULT_CHANNEL(ch)
enum tagVIDEODISPLAYMODE VIDEODISPLAYMODE
#define RTL_BITS_OF(sizeOfArg)
static VIDEODISPLAYMODE DisplayMode
EFI_LOCATE_PROTOCOL LocateProtocol
EFI_PHYSICAL_ADDRESS FrameBufferBase
EFI_GRAPHICS_OUTPUT_MODE_INFORMATION * Info
EFI_BOOT_SERVICES * BootServices
ReactOS Framebuffer-specific video device configuration data.
EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE * Mode
EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode
Physical format of an RGB pixel, specified with per-component bit-masks. A bit being set defines thos...
VOID UefiVideoGetPaletteColor(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
EFI_GUID EfiGraphicsOutputProtocol
VIDEODISPLAYMODE UefiVideoSetDisplayMode(PCSTR DisplayMode, BOOLEAN Init)
VOID UefiVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
VOID UefiVideoClearScreen(UCHAR Attr)
VOID UefiVideoHideShowTextCursor(BOOLEAN Show)
ULONG UefiVideoGetBufferSize(VOID)
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
PCM_FRAMEBUF_DEVICE_DATA FrameBufferData
VOID UefiVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y)
VOID UefiVideoCopyOffScreenBufferToVRAM(PVOID Buffer)
EFI_HANDLE GlobalImageHandle
BOOLEAN UefiVideoIsPaletteFixed(VOID)
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
VOID FbConsClearScreen(_In_ UCHAR Attr)
VOID FbConsGetDisplaySize(_Out_ PULONG Width, _Out_ PULONG Height, _Out_ PULONG Depth)
Returns the width and height in number of CGA characters/attributes, of a full text-mode CGA-style ch...
ULONG FbConsGetBufferSize(VOID)
Returns the size in bytes, of a full text-mode CGA-style character buffer rectangle that can fill the...
VOID FbConsPutChar(_In_ UCHAR Char, _In_ UCHAR Attr, _In_ ULONG Column, _In_ ULONG Row)
Displays a character with specific text attributes at a given position.
VOID FbConsCopyOffScreenBufferToVRAM(_In_ PVOID Buffer)
Copies a full text-mode CGA-style character buffer rectangle to the console.
BOOLEAN VidFbInitializeVideo(_Out_opt_ PCM_FRAMEBUF_DEVICE_DATA *pFbData, _In_ ULONG_PTR BaseAddress, _In_ ULONG BufferSize, _In_ UINT32 ScreenWidth, _In_ UINT32 ScreenHeight, _In_ UINT32 PixelsPerScanLine, _In_ UINT32 BitsPerPixel, _In_opt_ PPIXEL_BITMASK PixelMasks)
Initializes internal framebuffer information based on the given parameters.
FORCEINLINE ULONG PixelBitmasksToBpp(_In_ ULONG RedMask, _In_ ULONG GreenMask, _In_ ULONG BlueMask, _In_ ULONG ReservedMask)
Calculates the number of bits per pixel ("PixelDepth") for the given pixel format,...
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth