summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-10 08:00:57 +0000
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-10 08:00:57 +0000
commit5a0c0390e06fb280f6e1a21b445fd29a51a391a0 (patch)
tree9ee1373f3bc1fb8e47bb89b87ed8d7015d757469
parente519401bd5d1e370e9e41f451dac6c376e218c8d (diff)
downloadedk2-platforms-5a0c0390e06fb280f6e1a21b445fd29a51a391a0.tar.xz
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
-rw-r--r--EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ConvTable.c80
1 files changed, 79 insertions, 1 deletions
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
},
@@ -586,6 +586,84 @@ SMBIOS_CONVERSION_TABLE_ENTRY mConversionTable[] = {
{
//
+ // 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
//
EFI_CACHE_SUBCLASS_GUID,