mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-06 18:37:43 +01:00
edk2 commit a85ae8d
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
758622ae34
commit
e669bbda68
@ -560,6 +560,33 @@ SmbiosPrintStructure (
|
||||
PRINT_STRUCT_VALUE_H (Struct, Type9, BusNum);
|
||||
PRINT_STRUCT_VALUE_H (Struct, Type9, DevFuncNum);
|
||||
}
|
||||
if (AE_SMBIOS_VERSION (0x3, 0x2)) {
|
||||
MISC_SLOT_PEER_GROUP *PeerGroupPtr;
|
||||
UINT8 PeerGroupCount;
|
||||
|
||||
if (Struct->Hdr->Length > 0x11) {
|
||||
PRINT_STRUCT_VALUE (Struct, Type9, DataBusWidth);
|
||||
}
|
||||
|
||||
if (Struct->Hdr->Length > 0x12) {
|
||||
PRINT_STRUCT_VALUE (Struct, Type9, PeerGroupingCount);
|
||||
|
||||
PeerGroupCount = Struct->Type9->PeerGroupingCount;
|
||||
PeerGroupPtr = Struct->Type9->PeerGroups;
|
||||
for (Index = 0; Index < PeerGroupCount; Index++) {
|
||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_SLOT_PEER_GROUPS), gShellDebug1HiiHandle, Index + 1);
|
||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_SEGMENT_GROUP_NUM), gShellDebug1HiiHandle, PeerGroupPtr[Index].SegmentGroupNum);
|
||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_BUS_NUM), gShellDebug1HiiHandle, PeerGroupPtr[Index].BusNum);
|
||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_DEV_FUNC_NUM), gShellDebug1HiiHandle, PeerGroupPtr[Index].DevFuncNum);
|
||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_DATA_BUS_WIDTH), gShellDebug1HiiHandle, PeerGroupPtr[Index].DataBusWidth);
|
||||
}
|
||||
|
||||
DisplaySystemSlotHeight (Struct->Type9->SlotHeight, Option);
|
||||
DisplaySystemSlotPhysicalWidth (Struct->Type9->SlotPhysicalWidth, Option);
|
||||
DisplaySystemSlotInformation (Struct->Type9->SlotInformation, Option);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user