]> git.proxmox.com Git - mirror_edk2.git/blob - CorebootModulePkg/Include/Guid/FrameBufferInfoGuid.h
CorebootModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / CorebootModulePkg / Include / Guid / FrameBufferInfoGuid.h
1 /** @file
2 This file defines the hob structure for frame buffer device.
3
4 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __FRAME_BUFFER_INFO_GUID_H__
10 #define __FRAME_BUFFER_INFO_GUID_H__
11
12 ///
13 /// Frame Buffer Information GUID
14 ///
15 extern EFI_GUID gUefiFrameBufferInfoGuid;
16
17 typedef struct {
18 UINT8 Position; // Position of the color
19 UINT8 Mask; // The number of bits expressed as a mask
20 } COLOR_PLACEMENT;
21
22 typedef struct {
23 UINT64 LinearFrameBuffer;
24 UINT32 HorizontalResolution;
25 UINT32 VerticalResolution;
26 UINT32 BitsPerPixel;
27 UINT16 BytesPerScanLine;
28 COLOR_PLACEMENT Red;
29 COLOR_PLACEMENT Green;
30 COLOR_PLACEMENT Blue;
31 COLOR_PLACEMENT Reserved;
32 } FRAME_BUFFER_INFO;
33
34 #endif