hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** @file
  Data format for Universal Data Structure
 
  @copyright
  Copyright 2016 - 2021 Intel Corporation. <BR>
 
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
 
#ifndef   __FPGA_SOCKET_CONFIGURATION_DATA_H__
#define   __FPGA_SOCKET_CONFIGURATION_DATA_H__
 
#include <Fpga.h>
 
extern EFI_GUID gFpgaSocketVariableGuid;
#define FPGA_SOCKET_CONFIGURATION_NAME L"FpgaSocketConfig"
 
#pragma pack(1)
 
typedef struct {
 
  // User Bitmap to enable the FPGA socket.
  UINT8    FpgaSetupEnabled;
 
  // for each socket enabled, use this Bit stream GUID Index
  // Note: variable is Index+ 1 for unused default to be 0
  UINT8    FpgaSocketGuid[FPGA_MAX_SOCKET];
  // FPGA Temperature Threshold 1/2: Max value clamped at 100 C;
  // i.e. if the SW tries to write value greater than 100 C, HW will automatically default to 100 C.
  UINT8    FpgaThermalTH1[FPGA_MAX_SOCKET];
  UINT8    FpgaThermalTH2[FPGA_MAX_SOCKET];
 
  // FPGA reserved data
  UINT8    FpgaReserved[14];
} FPGA_SOCKET_CONFIGURATION;
#pragma pack()
 
#endif