TianoCore EDK2 master
|
#include <Protocol/GraphicsOutput.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/FrameBufferBltLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/QemuFwCfgLib.h>
#include <Guid/QemuRamfb.h>
Go to the source code of this file.
Data Structures | |
struct | RAMFB_CONFIG |
Macros | |
#define | RAMFB_FORMAT 0x34325258 /* DRM_FORMAT_XRGB8888 */ |
#define | RAMFB_BPP 4 |
Typedefs | |
typedef struct RAMFB_CONFIG | RAMFB_CONFIG |
Functions | |
STATIC EFI_STATUS EFIAPI | QemuRamfbGraphicsOutputQueryMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info) |
STATIC EFI_STATUS EFIAPI | QemuRamfbGraphicsOutputSetMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber) |
STATIC EFI_STATUS EFIAPI | QemuRamfbGraphicsOutputBlt (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL, IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN Delta) |
EFI_STATUS EFIAPI | InitializeQemuRamfb (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
This driver is a implementation of the Graphics Output Protocol for the QEMU ramfb device.
Copyright (c) 2018, Red Hat Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file QemuRamfb.c.
#define RAMFB_BPP 4 |
Definition at line 25 of file QemuRamfb.c.
#define RAMFB_FORMAT 0x34325258 /* DRM_FORMAT_XRGB8888 */ |
Definition at line 24 of file QemuRamfb.c.
EFI_STATUS EFIAPI InitializeQemuRamfb | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Definition at line 239 of file QemuRamfb.c.
STATIC EFI_STATUS EFIAPI QemuRamfbGraphicsOutputBlt | ( | IN EFI_GRAPHICS_OUTPUT_PROTOCOL * | This, |
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer | OPTIONAL, | ||
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION | BltOperation, | ||
IN UINTN | SourceX, | ||
IN UINTN | SourceY, | ||
IN UINTN | DestinationX, | ||
IN UINTN | DestinationY, | ||
IN UINTN | Width, | ||
IN UINTN | Height, | ||
IN UINTN | Delta | ||
) |
Definition at line 203 of file QemuRamfb.c.
STATIC EFI_STATUS EFIAPI QemuRamfbGraphicsOutputQueryMode | ( | IN EFI_GRAPHICS_OUTPUT_PROTOCOL * | This, |
IN UINT32 | ModeNumber, | ||
OUT UINTN * | SizeOfInfo, | ||
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION ** | Info | ||
) |
Definition at line 70 of file QemuRamfb.c.
STATIC EFI_STATUS EFIAPI QemuRamfbGraphicsOutputSetMode | ( | IN EFI_GRAPHICS_OUTPUT_PROTOCOL * | This, |
IN UINT32 | ModeNumber | ||
) |
Definition at line 103 of file QemuRamfb.c.
STATIC EFI_HANDLE mGopHandle |
Definition at line 39 of file QemuRamfb.c.
STATIC FRAME_BUFFER_CONFIGURE* mQemuRamfbFrameBufferBltConfigure |
Definition at line 40 of file QemuRamfb.c.
Definition at line 41 of file QemuRamfb.c.
STATIC EFI_GRAPHICS_OUTPUT_PROTOCOL mQemuRamfbGraphicsOutput |
Definition at line 230 of file QemuRamfb.c.
STATIC EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE mQemuRamfbMode |
Definition at line 60 of file QemuRamfb.c.
STATIC EFI_GRAPHICS_OUTPUT_MODE_INFORMATION mQemuRamfbModeInfo[] |
Definition at line 44 of file QemuRamfb.c.
STATIC FIRMWARE_CONFIG_ITEM mRamfbFwCfgItem |
Definition at line 42 of file QemuRamfb.c.
STATIC EFI_HANDLE mRamfbHandle |
Definition at line 38 of file QemuRamfb.c.