summaryrefslogtreecommitdiff
path: root/IntelFspPkg/Include/Private
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFspPkg/Include/Private')
-rw-r--r--IntelFspPkg/Include/Private/FspGlobalData.h44
-rw-r--r--IntelFspPkg/Include/Private/FspMeasurePointId.h48
-rw-r--r--IntelFspPkg/Include/Private/FspPatchTable.h32
-rw-r--r--IntelFspPkg/Include/Private/GuidHobFspGfx.h19
-rw-r--r--IntelFspPkg/Include/Private/GuidHobFspMisc.h19
-rw-r--r--IntelFspPkg/Include/Private/GuidHobFspTseg.h19
6 files changed, 181 insertions, 0 deletions
diff --git a/IntelFspPkg/Include/Private/FspGlobalData.h b/IntelFspPkg/Include/Private/FspGlobalData.h
new file mode 100644
index 0000000000..7a6ec6db58
--- /dev/null
+++ b/IntelFspPkg/Include/Private/FspGlobalData.h
@@ -0,0 +1,44 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _FSP_GLOBAL_DATA_H_
+#define _FSP_GLOBAL_DATA_H_
+
+#include <FspInfoHeader.h>
+
+#pragma pack(1)
+
+typedef struct {
+ VOID *DataPtr;
+ UINT32 CodeRegionBase;
+ UINT32 CodeRegionSize;
+ UINT32 MicorcodeRegionBase;
+ UINT32 MicorcodeRegionSize;
+} FSP_PLAT_DATA;
+
+#define FSP_GLOBAL_DATA_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'D')
+
+typedef struct {
+ UINT32 Signature;
+ UINT32 CoreStack;
+ FSP_PLAT_DATA PlatformData;
+ FSP_INFO_HEADER *FspInfoHeader;
+ VOID *UpdDataRgnPtr;
+ UINT32 PerfIdx;
+ UINT64 PerfData[32];
+// UINT64 PerfData[FixedPcdGet32(PcdFspMaxPerfEntry)];
+} FSP_GLOBAL_DATA;
+
+#pragma pack()
+
+#endif
diff --git a/IntelFspPkg/Include/Private/FspMeasurePointId.h b/IntelFspPkg/Include/Private/FspMeasurePointId.h
new file mode 100644
index 0000000000..765bd0b98b
--- /dev/null
+++ b/IntelFspPkg/Include/Private/FspMeasurePointId.h
@@ -0,0 +1,48 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _FSP_MEASURE_POINT_ID_H_
+#define _FSP_MEASURE_POINT_ID_H_
+
+//
+// 0xD0 - 0xEF are reserved for FSP common measure point
+//
+#define FSP_PERF_ID_MRCINIT_ENTRY 0xD0
+#define FSP_PERF_ID_MRCINIT_EXIT (FSP_PERF_ID_MRCINIT_ENTRY + 1)
+
+#define FSP_PERF_ID_SOCINIT_ENTRY 0xD8
+#define FSP_PERF_ID_SOCINIT_EXIT (FSP_PERF_ID_SOCINIT_ENTRY + 1)
+
+#define FSP_PERF_ID_PCHINIT_ENTRY 0xDA
+#define FSP_PERF_ID_PCHINIT_EXIT (FSP_PERF_ID_PCHINIT_ENTRY + 1)
+
+#define FSP_PERF_ID_CPUINIT_ENTRY 0xE0
+#define FSP_PERF_ID_CPUINIT_EXIT (FSP_PERF_ID_CPUINIT_ENTRY + 1)
+
+
+//
+// 0xF0 - 0xFF are reserved for FSP API
+//
+#define FSP_PERF_ID_API_TMPRAMINIT_ENTRY 0xF0
+#define FSP_PERF_ID_API_TMPRAMINIT_EXIT (FSP_PERF_ID_API_TMPRAMINIT_ENTRY + 1)
+
+#define FSP_PERF_ID_API_FSPINIT_ENTRY 0xF2
+#define FSP_PERF_ID_API_FSPINIT_EXIT (FSP_PERF_ID_API_FSPINIT_ENTRY + 1)
+
+#define FSP_PERF_ID_API_NOTIFY_POSTPCI_ENTRY 0xF4
+#define FSP_PERF_ID_API_NOTIFY_POSTPCI_EXIT (FSP_PERF_ID_API_NOTIFY_POSTPCI_ENTRY + 1)
+
+#define FSP_PERF_ID_API_NOTIFY_RDYBOOT_ENTRY 0xF6
+#define FSP_PERF_ID_API_NOTIFY_RDYBOOT_EXIT (FSP_PERF_ID_API_NOTIFY_RDYBOOT_ENTRY + 1)
+
+#endif
diff --git a/IntelFspPkg/Include/Private/FspPatchTable.h b/IntelFspPkg/Include/Private/FspPatchTable.h
new file mode 100644
index 0000000000..ec93994fe7
--- /dev/null
+++ b/IntelFspPkg/Include/Private/FspPatchTable.h
@@ -0,0 +1,32 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _FSP_PATCH_TABLE_H_
+#define _FSP_PATCH_TABLE_H_
+
+#pragma pack(1)
+
+#define FSP_PATCH_TABLE_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'P')
+
+typedef struct {
+ UINT32 Signature;
+ UINT16 HeaderLength;
+ UINT8 HeaderRevision;
+ UINT8 Reserved;
+ UINT32 PatchEntryNum;
+ UINT32 PatchData[FixedPcdGet32(PcdFspMaxPatchEntry)];
+} FSP_PATCH_TABLE;
+
+#pragma pack()
+
+#endif
diff --git a/IntelFspPkg/Include/Private/GuidHobFspGfx.h b/IntelFspPkg/Include/Private/GuidHobFspGfx.h
new file mode 100644
index 0000000000..4ac47ba939
--- /dev/null
+++ b/IntelFspPkg/Include/Private/GuidHobFspGfx.h
@@ -0,0 +1,19 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __GUID_HOB_FSP_GFX_GUID__
+#define __GUID_HOB_FSP_GFX_GUID__
+
+extern EFI_GUID gFspReservedMemoryResourceHobGfxGuid;
+
+#endif
diff --git a/IntelFspPkg/Include/Private/GuidHobFspMisc.h b/IntelFspPkg/Include/Private/GuidHobFspMisc.h
new file mode 100644
index 0000000000..97b75af93e
--- /dev/null
+++ b/IntelFspPkg/Include/Private/GuidHobFspMisc.h
@@ -0,0 +1,19 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __GUID_HOB_FSP_MISC_GUID__
+#define __GUID_HOB_FSP_MISC_GUID__
+
+extern EFI_GUID gFspReservedMemoryResourceHobMiscGuid;
+
+#endif
diff --git a/IntelFspPkg/Include/Private/GuidHobFspTseg.h b/IntelFspPkg/Include/Private/GuidHobFspTseg.h
new file mode 100644
index 0000000000..a44a8f6e33
--- /dev/null
+++ b/IntelFspPkg/Include/Private/GuidHobFspTseg.h
@@ -0,0 +1,19 @@
+/** @file
+
+ Copyright (c) 2014, 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
+ http://opensource.org/licenses/bsd-license.php.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __GUID_HOB_FSP_TSEG_GUID__
+#define __GUID_HOB_FSP_TSEG_GUID__
+
+extern EFI_GUID gFspReservedMemoryResourceHobTsegGuid;
+
+#endif