blob: d6306bc6fd5371c70c085dcdd1f665a8ffebd8d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef UEFI_MONITOR_TEST_H
#define UEFI_MONITOR_TEST_H
typedef struct {
///
/// The EFI_GRAPHICS_OUTPUT_PROTOCOL instance.
///
EFI_GRAPHICS_OUTPUT_PROTOCOL *Gop;
///
/// Base address of graphics linear frame buffer.
/// Starts from the upper left pixel.
///
UINT8 *Base;
///
/// The size of video screen in pixels in the X dimension.
///
UINT32 Width;
///
/// The size of video screen in pixels in the Y dimension.
///
UINT32 Height;
///
/// The size of pixel color in bytes.
///
UINT32 PixelWidth;
///
/// Amount of bytes you should skip to go one pixel down.
///
UINT32 Pitch;
} GRAPHICS_CONTEXT;
#endif /* UEFI_MONITOR_TEST_H */
|