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