]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFsp2Pkg/Include/FspGlobalData.h
BaseTools: Remove the step to freeze python tool
[mirror_edk2.git] / IntelFsp2Pkg / Include / FspGlobalData.h
CommitLineData
cf1d4549
JY
1/** @file\r
2\r
3 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
4 This program and the accompanying materials\r
5 are licensed and made available under the terms and conditions of the BSD License\r
6 which accompanies this distribution. The full text of the license may be found at\r
7 http://opensource.org/licenses/bsd-license.php.\r
8\r
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12**/\r
13\r
14#ifndef _FSP_GLOBAL_DATA_H_\r
15#define _FSP_GLOBAL_DATA_H_\r
16\r
17#include <FspEas.h>\r
18\r
19#pragma pack(1)\r
20\r
21typedef enum {\r
22 TempRamInitApiIndex,\r
23 FspInitApiIndex,\r
24 NotifyPhaseApiIndex,\r
25 FspMemoryInitApiIndex,\r
26 TempRamExitApiIndex,\r
27 FspSiliconInitApiIndex,\r
28 FspApiIndexMax\r
29} FSP_API_INDEX;\r
30\r
31typedef struct {\r
32 VOID *DataPtr;\r
33 UINT32 MicrocodeRegionBase;\r
34 UINT32 MicrocodeRegionSize;\r
35 UINT32 CodeRegionBase;\r
36 UINT32 CodeRegionSize;\r
cf1d4549
JY
37} FSP_PLAT_DATA;\r
38\r
39#define FSP_GLOBAL_DATA_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'D')\r
40#define FSP_PERFORMANCE_DATA_SIGNATURE SIGNATURE_32 ('P', 'E', 'R', 'F')\r
19d29d35 41#define FSP_PERFORMANCE_DATA_TIMER_MASK 0xFFFFFFFFFFFFFF\r
cf1d4549
JY
42\r
43typedef struct {\r
44 UINT32 Signature;\r
45 UINT8 Version;\r
46 UINT8 Reserved1[3];\r
47 UINT32 CoreStack;\r
48 UINT32 StatusCode;\r
49 UINT32 Reserved2[8];\r
50 FSP_PLAT_DATA PlatformData;\r
51 FSP_INFO_HEADER *FspInfoHeader;\r
52 VOID *UpdDataPtr;\r
53 VOID *TempRamInitUpdPtr;\r
54 VOID *MemoryInitUpdPtr;\r
55 VOID *SiliconInitUpdPtr;\r
56 UINT8 ApiIdx;\r
57 UINT8 Reserved3[31];\r
58 UINT32 PerfSig;\r
59 UINT16 PerfLen;\r
60 UINT16 Reserved4;\r
61 UINT32 PerfIdx;\r
62 UINT64 PerfData[32];\r
63} FSP_GLOBAL_DATA;\r
64\r
65#pragma pack()\r
66\r
67#endif\r