CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide: SmbiosCacheInfoHob.h Source File

CoffeeLake Intel Firmware

CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide
SmbiosCacheInfoHob.h
Go to the documentation of this file.
1 /** @file
2  Header file for SMBIOS Cache Info HOB
3 
4  @copyright
5  Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
6 
7  This program and the accompanying materials are licensed and made available under
8  the terms and conditions of the BSD License which accompanies this distribution.
9  The full text of the license may be found at
10  http://opensource.org/licenses/bsd-license.php
11 
12  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 
15  System Management BIOS (SMBIOS) Reference Specification v3.1.0
16  dated 2016-Nov-16 (DSP0134)
17  http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.1.0.pdf
18 **/
19 
20 #ifndef _SMBIOS_CACHE_INFO_HOB_H_
21 #define _SMBIOS_CACHE_INFO_HOB_H_
22 
23 #include <Uefi.h>
24 #include <Pi/PiHob.h>
25 
26 #pragma pack(1)
27 ///
28 /// SMBIOS Cache Info HOB Structure
29 ///
30 typedef struct {
31  UINT16 ProcessorSocketNumber;
32  UINT16 NumberOfCacheLevels; ///< Based on Number of Cache Types L1/L2/L3
33  UINT8 SocketDesignationStrIndex; ///< String Index in the string Buffer. Example "L1-CACHE"
34  UINT16 CacheConfiguration; ///< Format defined in SMBIOS Spec v3.1 Section7.8 Table36
35  UINT16 MaxCacheSize; ///< Format defined in SMBIOS Spec v3.1 Section7.8.1
36  UINT16 InstalledSize; ///< Format defined in SMBIOS Spec v3.1 Section7.8.1
37  UINT16 SupportedSramType; ///< Format defined in SMBIOS Spec v3.1 Section7.8.2
38  UINT16 CurrentSramType; ///< Format defined in SMBIOS Spec v3.1 Section7.8.2
39  UINT8 CacheSpeed; ///< Cache Speed in nanoseconds. 0 if speed is unknown.
40  UINT8 ErrorCorrectionType; ///< ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.3
41  UINT8 SystemCacheType; ///< ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.4
42  UINT8 Associativity; ///< ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.5
43  //
44  // Add for smbios 3.1.0
45  //
46  UINT32 MaximumCacheSize2; ///< Format defined in SMBIOS Spec v3.1 Section7.8.1
47  UINT32 InstalledSize2; ///< Format defined in SMBIOS Spec v3.1 Section7.8.1
48  /**
49  String Buffer - each string terminated by NULL "0x00"
50  String buffer terminated by double NULL "0x0000"
51  **/
53 #pragma pack()
54 
55 #endif // _SMBIOS_CACHE_INFO_HOB_H_
UINT16 CurrentSramType
Format defined in SMBIOS Spec v3.1 Section7.8.2.
UINT16 SupportedSramType
Format defined in SMBIOS Spec v3.1 Section7.8.2.
UINT8 Associativity
ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.5.
UINT8 SocketDesignationStrIndex
String Index in the string Buffer. Example "L1-CACHE".
UINT8 CacheSpeed
Cache Speed in nanoseconds. 0 if speed is unknown.
UINT8 SystemCacheType
ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.4.
UINT8 ErrorCorrectionType
ENUM Format defined in SMBIOS Spec v3.1 Section 7.8.3.
SMBIOS Cache Info HOB Structure.
UINT16 MaxCacheSize
Format defined in SMBIOS Spec v3.1 Section7.8.1.
UINT16 InstalledSize
Format defined in SMBIOS Spec v3.1 Section7.8.1.
UINT32 InstalledSize2
Format defined in SMBIOS Spec v3.1 Section7.8.1.
UINT16 NumberOfCacheLevels
Based on Number of Cache Types L1/L2/L3.
UINT32 MaximumCacheSize2
Format defined in SMBIOS Spec v3.1 Section7.8.1.
UINT16 CacheConfiguration
Format defined in SMBIOS Spec v3.1 Section7.8 Table36.
Generated on Wed Aug 22 2018 17:48:55 for CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide by   doxygen 1.8.10