]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/Include/Guid/FspHeaderFile.h
IntelFsp2Pkg: FspSecCore support for X64
[mirror_edk2.git] / IntelFsp2Pkg / Include / Guid / FspHeaderFile.h
index e5a9d7a2b4bcd8b074b39df8cfee03073b9097a3..c660defac367506b7f28a3ef1a79debf06fbcad6 100644 (file)
@@ -2,11 +2,13 @@
   Intel FSP Header File definition from Intel Firmware Support Package External\r
   Architecture Specification v2.0 and above.\r
 \r
-  Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
+#include <Base.h>\r
+\r
 #ifndef __FSP_HEADER_FILE_H__\r
 #define __FSP_HEADER_FILE_H__\r
 \r
 \r
 #define FSP_INFO_HEADER_SIGNATURE  SIGNATURE_32 ('F', 'S', 'P', 'H')\r
 \r
+#define IMAGE_ATTRIBUTE_GRAPHICS_SUPPORT      BIT0\r
+#define IMAGE_ATTRIBUTE_DISPATCH_MODE_SUPPORT BIT1\r
+#define IMAGE_ATTRIBUTE_64BIT_MODE_SUPPORT    BIT2\r
+#define FSP_IA32                              0\r
+#define FSP_X64                               1\r
+\r
 #pragma pack(1)\r
 \r
 ///\r
@@ -49,7 +57,7 @@ typedef struct {
   UINT8     SpecVersion;\r
   ///\r
   /// Byte 0x0B: Revision of the FSP Information Header.\r
-  ///            The Current value for this field is 0x6.\r
+  ///            The Current value for this field is 0x7.\r
   ///\r
   UINT8     HeaderRevision;\r
   ///\r
@@ -82,6 +90,10 @@ typedef struct {
   UINT32    ImageBase;\r
   ///\r
   /// Byte 0x20: Attribute for the FSP binary.\r
+  ///   Bit 0: Graphics Support - Set to 1 when FSP supports enabling Graphics Display.\r
+  ///   Bit 1: Dispatch Mode Support - Set to 1 when FSP supports the optional Dispatch Mode API defined in Section 7.2 and 9. This bit is only valid if FSP HeaderRevision is >= 4.\r
+  ///   Bit 2: 64-bit mode support - Set to 1 to indicate FSP supports 64-bit long mode interfaces. Set to 0 to indicate FSP supports 32-bit mode interfaces. This bit is only valid if FSP HeaderRevision is >= 7.\r
+  ///   Bits 15:3 - Reserved\r
   ///\r
   UINT16    ImageAttribute;\r
   ///\r