]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/GraphicsInfoHob.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Guid / GraphicsInfoHob.h
index 3bcead06d5f78cf325d1ebeb947db4a84698281b..ced6b1ebb00c1486712a3a46cac475a31bd102de 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Hob guid for Information about the graphics mode.\r
 \r
-  Copyright (c) 2015, 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
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
   This HOB is introduced in in PI Version 1.4.\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