summaryrefslogtreecommitdiff
path: root/IntelFspPkg/Include/FspInfoHeader.h
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFspPkg/Include/FspInfoHeader.h')
-rw-r--r--IntelFspPkg/Include/FspInfoHeader.h88
1 files changed, 70 insertions, 18 deletions
diff --git a/IntelFspPkg/Include/FspInfoHeader.h b/IntelFspPkg/Include/FspInfoHeader.h
index cde7b599c9..3033659ea0 100644
--- a/IntelFspPkg/Include/FspInfoHeader.h
+++ b/IntelFspPkg/Include/FspInfoHeader.h
@@ -2,7 +2,7 @@
Intel FSP Info Header definition from Intel Firmware Support Package External
Architecture Specification, April 2014, revision 001.
- Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -16,6 +16,12 @@
#ifndef _FSP_INFO_HEADER_H_
#define _FSP_INFO_HEADER_H_
+#define FSP_HEADER_REVISION_1 1
+#define FSP_HEADER_REVISION_2 2
+
+#define FSPE_HEADER_REVISION_1 1
+#define FSPP_HEADER_REVISION_1 1
+
///
/// Fixed FSP header offset in the FSP image
///
@@ -27,79 +33,125 @@
typedef struct {
///
- /// Signature ('FSPH') for the FSP Information Header
+ /// Byte 0x00: Signature ('FSPH') for the FSP Information Header
///
UINT32 Signature;
///
- /// Length of the FSP Information Header
+ /// Byte 0x04: Length of the FSP Information Header
///
UINT32 HeaderLength;
///
- /// Reserved
+ /// Byte 0x08: Reserved
///
UINT8 Reserved1[3];
///
- /// Revision of the FSP Information Header
+ /// Byte 0x0B: Revision of the FSP Information Header
///
UINT8 HeaderRevision;
///
- /// Revision of the FSP binary
+ /// Byte 0x0C: Revision of the FSP binary
///
UINT32 ImageRevision;
///
- /// Signature string that will help match the FSP Binary to a supported
+ /// Byte 0x10: Signature string that will help match the FSP Binary to a supported
/// hardware configuration.
///
CHAR8 ImageId[8];
///
- /// Size of the entire FSP binary
+ /// Byte 0x18: Size of the entire FSP binary
///
UINT32 ImageSize;
///
- /// FSP binary preferred base address
+ /// Byte 0x18: FSP binary preferred base address
///
UINT32 ImageBase;
///
- /// Attribute for the FSP binary
+ /// Byte 0x20: Attribute for the FSP binary
///
UINT32 ImageAttribute;
///
- /// Offset of the FSP configuration region
+ /// Byte 0x24: Offset of the FSP configuration region
///
UINT32 CfgRegionOffset;
///
- /// Size of the FSP configuration region
+ /// Byte 0x24: Size of the FSP configuration region
///
UINT32 CfgRegionSize;
///
- /// Number of API entries this FSP supports
+ /// Byte 0x2C: Number of API entries this FSP supports
///
UINT32 ApiEntryNum;
///
- /// TempRamInit API entry offset
+ /// Byte 0x30: The offset for the API to setup a temporary stack till the memory
+ /// is initialized.
///
UINT32 TempRamInitEntryOffset;
///
- /// FspInit API entry offset
+ /// Byte 0x34: The offset for the API to initialize the CPU and the chipset (SOC)
///
UINT32 FspInitEntryOffset;
///
- /// NotifyPhase API entry offset
+ /// Byte 0x38: The offset for the API to inform the FSP about the different stages
+ /// in the boot process
///
UINT32 NotifyPhaseEntryOffset;
+
///
- /// Reserved
+ /// Below field is added in FSP 1.1
///
- UINT32 Reserved2;
+
+ ///
+ /// Byte 0x3C: The offset for the API to initialize the memory
+ ///
+ UINT32 FspMemoryInitEntryOffset;
+ ///
+ /// Byte 0x40: The offset for the API to tear down temporary RAM
+ ///
+ UINT32 TempRamExitEntryOffset;
+ ///
+ /// Byte 0x44: The offset for the API to initialize the CPU and chipset
+ ///
+ UINT32 FspSiliconInitEntryOffset;
} FSP_INFO_HEADER;
+///
+/// Below structure is added in FSP 1.1
+///
+typedef struct {
+ ///
+ /// Byte 0x00: Signature ('FSPE') for the FSP Extended Information Header
+ ///
+ UINT32 Signature;
+ ///
+ /// Byte 0x04: Length of the FSP Extended Header
+ ///
+ UINT32 HeaderLength;
+ ///
+ /// Byte 0x08: Revision of the FSP Extended Header
+ ///
+ UINT8 Revision;
+ ///
+ /// Byte 0x09: Reserved for future use.
+ ///
+ UINT8 Reserved;
+ ///
+ /// Byte 0x0A: An OEM-supplied string that defines the OEM
+ ///
+ CHAR8 OemId[6];
+ ///
+ /// Byte 0x10: An OEM-supplied revision number. Larger numbers are assumed to be newer revisions.
+ ///
+ UINT32 OemRevision;
+
+} FSP_EXTENTED_HEADER;
+
#pragma pack()
#endif