Fsp1.1 update.
[mirror_edk2.git] / IntelFspPkg / Include / Private / FspGlobalData.h
CommitLineData
c8ec22a2
JY
1/** @file\r
2\r
d5fb1edf 3 Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
c8ec22a2
JY
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 <FspInfoHeader.h>\r
18\r
19#pragma pack(1)\r
20\r
21typedef struct {\r
22 VOID *DataPtr;\r
23 UINT32 CodeRegionBase;\r
24 UINT32 CodeRegionSize;\r
25 UINT32 MicorcodeRegionBase;\r
26 UINT32 MicorcodeRegionSize;\r
27} FSP_PLAT_DATA;\r
28\r
29#define FSP_GLOBAL_DATA_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'D')\r
30\r
31typedef struct {\r
32 UINT32 Signature;\r
33 UINT32 CoreStack;\r
34 FSP_PLAT_DATA PlatformData;\r
35 FSP_INFO_HEADER *FspInfoHeader;\r
36 VOID *UpdDataRgnPtr;\r
d5fb1edf
JY
37 UINT8 ApiMode;\r
38 UINT8 Reserved[3];\r
c8ec22a2
JY
39 UINT32 PerfIdx;\r
40 UINT64 PerfData[32];\r
c8ec22a2
JY
41} FSP_GLOBAL_DATA;\r
42\r
43#pragma pack()\r
44\r
45#endif\r