#ifndef _SMBIOS_H
#include <pshpack1.h>
typedef struct _SMBIOS_CACHE_INFORMATION
{
SMBIOS_HEADER Header;
// 2.0+
UCHAR SocketDesignation; // string
union
{
struct
{
USHORT Level : 3; // L1 through L8
USHORT Socketed : 1;
USHORT Reserved : 1;
USHORT Location : 2; // SMBIOS_CACHE_LOCATION_*
USHORT Enabled : 1;
USHORT Mode : 2; // SMBIOS_CACHE_MODE_*
USHORT Reserved2 : 6;
};
USHORT Value;
} Configuration;
SMBIOS_CACHE_USHORT MaximumSize;
SMBIOS_CACHE_USHORT InstalledSize;
USHORT SupportedSRAM; // SMBIOS_CACHE_SUPPORTED_SRAM_*
USHORT CurrentSRAM; // SMBIOS_CACHE_SUPPORTED_SRAM_*
// 2.1+
UCHAR Speed;
UCHAR ErrorCorrectionType; // SMBIOS_CACHE_ERROR_CORRECTION_*
UCHAR SystemCacheType; // SMBIOS_CACHE_SYSTEM_CACHE_*
UCHAR Associativity; // SMBIOS_CACHE_ASSOCIATIVITY_*
// 3.1+
SMBIOS_CACHE_ULONG MaximumSize2;
SMBIOS_CACHE_ULONG InstalledSize2;
} SMBIOS_CACHE_INFORMATION, *PSMBIOS_CACHE_INFORMATION;
View code on GitHub
No description available.