]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/Include/FspInfoHeader.h
Clean update API name for ASM function.
[mirror_edk2.git] / IntelFspPkg / Include / FspInfoHeader.h
index 9513acdb76f7fe93e75572ccb6acd671d9b5e2a4..951bc38507f7e5ebb4496efe6df53e89acfba403 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
   Intel FSP Info Header definition from Intel Firmware Support Package External\r
-  Architecture Specification, April 2014, revision 001.\r
+  Architecture Specification v1.1, April 2015, revision 001.\r
 \r
   Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
@@ -29,6 +29,8 @@
 \r
 #define  OFFSET_IN_FSP_INFO_HEADER(x)  (UINT32)&((FSP_INFO_HEADER *)(UINTN)0)->x\r
 \r
+#define FSP_INFO_HEADER_SIGNATURE  SIGNATURE_32 ('F', 'S', 'P', 'H')\r
+\r
 #pragma pack(1)\r
 \r
 typedef struct  {\r
@@ -124,17 +126,19 @@ typedef struct  {
 ///\r
 /// Below structure is added in FSP version 2\r
 ///\r
+#define FSP_INFO_EXTENDED_HEADER_SIGNATURE  SIGNATURE_32 ('F', 'S', 'P', 'E')\r
+\r
 typedef struct  {\r
   ///\r
   /// Byte 0x00: Signature ('FSPE') for the FSP Extended Information Header\r
   ///\r
   UINT32  Signature;\r
   ///\r
-  /// Byte 0x04: Length of the FSP Extended Header\r
+  /// Byte 0x04: Length of the table in bytes, including all additional FSP producer defined data.\r
   ///\r
-  UINT32  HeaderLength;\r
+  UINT32  Length;\r
   ///\r
-  /// Byte 0x08: Revision of the FSP Extended Header\r
+  /// Byte 0x08: FSP producer defined revision of the table.\r
   ///\r
   UINT8   Revision;\r
   ///\r
@@ -142,15 +146,22 @@ typedef struct  {
   ///\r
   UINT8   Reserved;\r
   ///\r
-  /// Byte 0x0A: An OEM-supplied string that defines the OEM\r
+  /// Byte 0x0A: FSP producer identification string \r
+  ///\r
+  CHAR8   FspProducerId[6];\r
+  ///\r
+  /// Byte 0x10: FSP producer implementation revision number. Larger numbers are assumed to be newer revisions.\r
+  ///\r
+  UINT32  FspProducerRevision;\r
+  ///\r
+  /// Byte 0x14: Size of the FSP producer defined data (n) in bytes.\r
   ///\r
-  CHAR8   OemId[6];\r
+  UINT32  FspProducerDataSize;\r
   ///\r
-  /// Byte 0x10: An OEM-supplied revision number. Larger numbers are assumed to be newer revisions.\r
+  /// Byte 0x18: FSP producer defined data of size (n) defined by FspProducerDataSize.\r
   ///\r
-  UINT32  OemRevision;\r
 \r
-} FSP_EXTENTED_HEADER;\r
+} FSP_INFO_EXTENDED_HEADER;\r
 \r
 #pragma pack()\r
 \r