]>
Commit | Line | Data |
---|---|---|
697c6cf3 HW |
1 | /** @file\r |
2 | Hob guid for Information about the graphics mode.\r | |
3 | \r | |
c0f09820 | 4 | Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r |
697c6cf3 HW |
5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | @par Revision Reference:\r | |
14 | This HOB is introduced in in PI Version 1.4.\r | |
15 | \r | |
16 | **/\r | |
17 | \r | |
18 | #ifndef _GRAPHICS_INFO_HOB_GUID_H_\r | |
19 | #define _GRAPHICS_INFO_HOB_GUID_H_\r | |
20 | \r | |
21 | #include <Protocol/GraphicsOutput.h>\r | |
22 | \r | |
23 | #define EFI_PEI_GRAPHICS_INFO_HOB_GUID \\r | |
24 | { \\r | |
25 | 0x39f62cce, 0x6825, 0x4669, { 0xbb, 0x56, 0x54, 0x1a, 0xba, 0x75, 0x3a, 0x07 } \\r | |
26 | }\r | |
27 | \r | |
c0f09820 RN |
28 | #define EFI_PEI_GRAPHICS_DEVICE_INFO_HOB_GUID \\r |
29 | { \\r | |
30 | 0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 } \\r | |
31 | }\r | |
32 | \r | |
697c6cf3 HW |
33 | typedef struct {\r |
34 | EFI_PHYSICAL_ADDRESS FrameBufferBase;\r | |
35 | UINT32 FrameBufferSize;\r | |
36 | EFI_GRAPHICS_OUTPUT_MODE_INFORMATION GraphicsMode;\r | |
37 | } EFI_PEI_GRAPHICS_INFO_HOB;\r | |
38 | \r | |
c0f09820 RN |
39 | typedef struct {\r |
40 | UINT16 VendorId; ///< Ignore if the value is 0xFFFF.\r | |
41 | UINT16 DeviceId; ///< Ignore if the value is 0xFFFF.\r | |
42 | UINT16 SubsystemVendorId; ///< Ignore if the value is 0xFFFF.\r | |
43 | UINT16 SubsystemId; ///< Ignore if the value is 0xFFFF.\r | |
44 | UINT8 RevisionId; ///< Ignore if the value is 0xFF.\r | |
45 | UINT8 BarIndex; ///< Ignore if the value is 0xFF.\r | |
46 | } EFI_PEI_GRAPHICS_DEVICE_INFO_HOB;\r | |
47 | \r | |
697c6cf3 | 48 | extern EFI_GUID gEfiGraphicsInfoHobGuid;\r |
c0f09820 | 49 | extern EFI_GUID gEfiGraphicsDeviceInfoHobGuid;\r |
697c6cf3 HW |
50 | \r |
51 | #endif\r |