]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFspPkg/Include/Private/FspGlobalData.h
DHCP6 bug fix:
[mirror_edk2.git] / IntelFspPkg / Include / Private / FspGlobalData.h
1 /** @file
2
3 Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php.
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 **/
13
14 #ifndef _FSP_GLOBAL_DATA_H_
15 #define _FSP_GLOBAL_DATA_H_
16
17 #include <FspInfoHeader.h>
18
19 #pragma pack(1)
20
21 typedef struct {
22 VOID *DataPtr;
23 UINT32 CodeRegionBase;
24 UINT32 CodeRegionSize;
25 UINT32 MicorcodeRegionBase;
26 UINT32 MicorcodeRegionSize;
27 } FSP_PLAT_DATA;
28
29 #define FSP_GLOBAL_DATA_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'D')
30
31 typedef struct {
32 UINT32 Signature;
33 UINT32 CoreStack;
34 FSP_PLAT_DATA PlatformData;
35 FSP_INFO_HEADER *FspInfoHeader;
36 VOID *UpdDataRgnPtr;
37 UINT8 ApiMode;
38 UINT8 Reserved[3];
39 UINT32 PerfIdx;
40 UINT64 PerfData[32];
41 // UINT64 PerfData[FixedPcdGet32(PcdFspMaxPerfEntry)];
42 } FSP_GLOBAL_DATA;
43
44 #pragma pack()
45
46 #endif