VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Guid/GraphicsInfoHob.h@ 101297

Last change on this file since 101297 was 99404, checked in by vboxsync, 2 years ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/** @file
2 Hob guid for Information about the graphics mode.
3
4 Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 @par Revision Reference:
8 This HOB is introduced in in PI Version 1.4.
9
10**/
11
12#ifndef _GRAPHICS_INFO_HOB_GUID_H_
13#define _GRAPHICS_INFO_HOB_GUID_H_
14
15#include <Protocol/GraphicsOutput.h>
16
17#define EFI_PEI_GRAPHICS_INFO_HOB_GUID \
18 { \
19 0x39f62cce, 0x6825, 0x4669, { 0xbb, 0x56, 0x54, 0x1a, 0xba, 0x75, 0x3a, 0x07 } \
20 }
21
22#define EFI_PEI_GRAPHICS_DEVICE_INFO_HOB_GUID \
23 { \
24 0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 } \
25 }
26
27typedef struct {
28 EFI_PHYSICAL_ADDRESS FrameBufferBase;
29 UINT32 FrameBufferSize;
30 EFI_GRAPHICS_OUTPUT_MODE_INFORMATION GraphicsMode;
31} EFI_PEI_GRAPHICS_INFO_HOB;
32
33typedef struct {
34 UINT16 VendorId; ///< Ignore if the value is 0xFFFF.
35 UINT16 DeviceId; ///< Ignore if the value is 0xFFFF.
36 UINT16 SubsystemVendorId; ///< Ignore if the value is 0xFFFF.
37 UINT16 SubsystemId; ///< Ignore if the value is 0xFFFF.
38 UINT8 RevisionId; ///< Ignore if the value is 0xFF.
39 UINT8 BarIndex; ///< Ignore if the value is 0xFF.
40} EFI_PEI_GRAPHICS_DEVICE_INFO_HOB;
41
42extern EFI_GUID gEfiGraphicsInfoHobGuid;
43extern EFI_GUID gEfiGraphicsDeviceInfoHobGuid;
44
45#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette