]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/GraphicsInfoHob: Add GraphicsDeviceInfo HOB GUID and structure
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 29 Jun 2016 01:53:27 +0000 (09:53 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 12 Oct 2016 02:42:15 +0000 (10:42 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Guid/GraphicsInfoHob.h
MdePkg/MdePkg.dec

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
index 606e2f16704d64045fbaff8a469058550b9a679f..f1e5151fbfabff388ae5720fe2bb1584f162110c 100644 (file)
   ## Include/Protocol/DiskInfo.h\r
   gEfiDiskInfoUfsInterfaceGuid   = { 0x4b3029cc, 0x6b98, 0x47fb, { 0xbc, 0x96, 0x76, 0xdc, 0xb8, 0x4, 0x41, 0xf0 }}\r
 \r
+  #\r
+  # GUID defined in PI1.5\r
+  #\r
+  ## Include/Guid/GraphicsInfoHob.h\r
+  gEfiGraphicsDeviceInfoHobGuid     = { 0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 }}\r
+\r
   #\r
   # GUID defined in Windows UEFI Firmware Update Platform doc\r
   #\r