From 5a0c0390e06fb280f6e1a21b445fd29a51a391a0 Mon Sep 17 00:00:00 2001 From: li-elvin Date: Fri, 10 Dec 2010 08:00:57 +0000 Subject: Add missing fields of Type 4 conversion. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11148 6f19259b-4bc3-4df7-8a09-765794883524 --- .../ConvTable.c | 80 +++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) (limited to 'EdkCompatibilityPkg') diff --git a/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ConvTable.c b/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ConvTable.c index 8427f467f5..9c29748b0e 100644 --- a/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ConvTable.c +++ b/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ConvTable.c @@ -59,7 +59,7 @@ SMBIOS_TYPE_INFO_TABLE_ENTRY mTypeInfoTable[] = { // { 4, - 0x25, + 0x2C, TRUE, FALSE }, @@ -584,6 +584,84 @@ SMBIOS_CONVERSION_TABLE_ENTRY mConversionTable[] = { SmbiosFldString }, + { + // + // Processor Sub Class -- Record Type 25: Core Count + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorCoreCountRecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x23, + SmbiosFldTruncateToByte + }, + + { + // + // Processor Sub Class -- Record Type 26: Enabled Core Count + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorEnabledCoreCountRecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x24, + SmbiosFldTruncateToByte + }, + + { + // + // Processor Sub Class -- Record Type 27: Thread Count + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorThreadCountRecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x25, + SmbiosFldTruncateToByte + }, + + { + // + // Processor Sub Class -- Record Type 28: Processor Characteristics + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorCharacteristicsRecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x26, + SmbiosFldTruncateToWord + }, + + { + // + // Processor Sub Class -- Record Type 29: Family 2 + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorFamily2RecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x28, + SmbiosFldTruncateToWord + }, + + { + // + // Processor Sub Class -- Record Type 30: Part Number + // + EFI_PROCESSOR_SUBCLASS_GUID, + ProcessorPartNumberRecordType, + 4, + BySubclassInstanceSubinstanceProducer, + ByFunctionWithOffsetSpecified, + 0x22, + SmbiosFldString + }, + { // // Cache SubClass -- Record Type 1: Size -- cgit v1.2.3