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