]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/GraphicsInfoHob.h
MdePkg/GraphicsInfoHob: Add GraphicsDeviceInfo HOB GUID and structure
[mirror_edk2.git] / MdePkg / Include / Guid / GraphicsInfoHob.h
index 3bcead06d5f78cf325d1ebeb947db4a84698281b..b80721369c7877f2cf8bfbff61cd479b978bd981 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Hob guid for Information about the graphics mode.\r
 \r
-  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
     0x39f62cce, 0x6825, 0x4669, { 0xbb, 0x56, 0x54, 0x1a, 0xba, 0x75, 0x3a, 0x07 } \\r
   }\r
 \r
+#define EFI_PEI_GRAPHICS_DEVICE_INFO_HOB_GUID \\r
+  { \\r
+    0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 } \\r
+  }\r
+\r
 typedef struct {\r
   EFI_PHYSICAL_ADDRESS                  FrameBufferBase;\r
   UINT32                                FrameBufferSize;\r
   EFI_GRAPHICS_OUTPUT_MODE_INFORMATION  GraphicsMode;\r
 } EFI_PEI_GRAPHICS_INFO_HOB;\r
 \r
+typedef struct {\r
+  UINT16                                VendorId;           ///< Ignore if the value is 0xFFFF.\r
+  UINT16                                DeviceId;           ///< Ignore if the value is 0xFFFF.\r
+  UINT16                                SubsystemVendorId;  ///< Ignore if the value is 0xFFFF.\r
+  UINT16                                SubsystemId;        ///< Ignore if the value is 0xFFFF.\r
+  UINT8                                 RevisionId;         ///< Ignore if the value is 0xFF.\r
+  UINT8                                 BarIndex;           ///< Ignore if the value is 0xFF.\r
+} EFI_PEI_GRAPHICS_DEVICE_INFO_HOB;\r
+\r
 extern EFI_GUID gEfiGraphicsInfoHobGuid;\r
+extern EFI_GUID gEfiGraphicsDeviceInfoHobGuid;\r
 \r
 #endif\r