Home | History | Annotate | Download | only in Private
      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             MicrocodeRegionBase;
     24    UINT32             MicrocodeRegionSize;
     25    UINT32             CodeRegionBase;
     26    UINT32             CodeRegionSize;
     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    VOID               *MemoryInitUpdPtr;
     38    VOID               *SiliconInitUpdPtr;
     39    UINT8              ApiMode;
     40    UINT8              Reserved[3];
     41    UINT32             PerfIdx;
     42    UINT64             PerfData[32];
     43 } FSP_GLOBAL_DATA;
     44 
     45 #pragma pack()
     46 
     47 #endif
     48