TianoCore EDK2 master
Loading...
Searching...
No Matches
LcdGraphicsOutputDxe.h
Go to the documentation of this file.
1
8#ifndef LCD_GRAPHICS_OUTPUT_DXE_H_
9#define LCD_GRAPHICS_OUTPUT_DXE_H_
10
11#include <Base.h>
12
13#include <Library/DebugLib.h>
14#include <Library/LcdHwLib.h>
16#include <Library/PcdLib.h>
17#include <Library/UefiLib.h>
18
19#include <Protocol/DevicePath.h>
20
21//
22// Device structures
23//
24typedef struct {
28
29typedef struct {
30 UINT32 Signature;
31 EFI_HANDLE Handle;
35 LCD_GRAPHICS_DEVICE_PATH DevicePath;
38
39#define LCD_INSTANCE_SIGNATURE SIGNATURE_32('l', 'c', 'd', '0')
40
41#define LCD_INSTANCE_FROM_GOP_THIS(a) CR (a, LCD_INSTANCE, Gop, LCD_INSTANCE_SIGNATURE)
42
43//
44// Function Prototypes
45//
46
47VOID
49 IN EFI_EVENT Event,
50 IN VOID *Context
51 );
52
54EFIAPI
57 IN UINT32 ModeNumber,
58 OUT UINTN *SizeOfInfo,
60 );
61
63EFIAPI
66 IN UINT32 ModeNumber
67 );
68
70EFIAPI
71LcdGraphicsBlt (
73 IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,
75 IN UINTN SourceX,
76 IN UINTN SourceY,
77 IN UINTN DestinationX,
78 IN UINTN DestinationY,
79 IN UINTN Width,
80 IN UINTN Height,
81 IN UINTN Delta OPTIONAL
82 );
83
85GetBytesPerPixel (
86 IN LCD_BPP Bpp
87 );
88
90EFIAPI
91GraphicsOutputDxeInitialize (
92 IN EFI_HANDLE ImageHandle,
93 IN EFI_SYSTEM_TABLE *SystemTable
94 );
95
97InitializeDisplay (
98 IN LCD_INSTANCE *Instance
99 );
100
101#endif /* LCD_GRAPHICS_OUTPUT_DXE_H_ */
UINT64 UINTN
EFI_STATUS EFIAPI LcdGraphicsSetMode(IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber)
VOID LcdGraphicsExitBootServicesEvent(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI LcdGraphicsQueryMode(IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info)
LCD_BPP
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_GRAPHICS_OUTPUT_BLT_OPERATION
VOID EFIAPI ExitBootServicesEvent(IN EFI_EVENT Event, IN VOID *Context)
Definition: TimerDxe.c:92
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33