ShellPkg/SmbiosView: Add new Socket Type for SMBIOS Type4

The patch prints new socket type(Type 4, Offset 32h) for
SMBIOS Type4 based on SMBIOS v3.8.0.

Signed-off-by: Jason Zhao <jason.zhao@intel.com>
This commit is contained in:
Jason Zhao 2024-08-28 10:10:58 +08:00 committed by mergify[bot]
parent aebe9625c9
commit e48acc0fa9
1 changed files with 4 additions and 0 deletions

View File

@ -524,6 +524,10 @@ SmbiosPrintStructure (
ShellPrintEx (-1, -1, L"Thread Enabled: %u\n", Struct->Type4->ThreadEnabled);
}
if (AE_SMBIOS_VERSION (0x3, 0x8) && (Struct->Hdr->Length > 0x30)) {
ShellPrintEx (-1, -1, L"Socket Type: %a\n", LibGetSmbiosString (Struct, Struct->Type4->SocketType));
}
break;
//