mirror of https://github.com/acidanthera/audk.git
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:
parent
aebe9625c9
commit
e48acc0fa9
|
@ -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;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue