\r
**/\r
\r
-#include "../UefiShellDebug1CommandsLib.h"\r
+#include "UefiShellDebug1CommandsLib.h"\r
#include "PrintInfo.h"\r
#include "LibSmbiosView.h"\r
#include "QueryTable.h"\r
case 0:\r
PRINT_PENDING_STRING (Struct, Type0, Vendor);\r
PRINT_PENDING_STRING (Struct, Type0, BiosVersion);\r
- PRINT_STRUCT_VALUE (Struct, Type0, BiosSegment);\r
+ PRINT_STRUCT_VALUE_H (Struct, Type0, BiosSegment);\r
PRINT_PENDING_STRING (Struct, Type0, BiosReleaseDate);\r
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_BIOS_SIZE), gShellDebug1HiiHandle, 64 * (Struct->Type0->BiosSize + 1));\r
\r
UINTN NumOfDevice;\r
NumOfDevice = (Struct->Type10->Hdr.Length - sizeof (SMBIOS_STRUCTURE)) / (2 * sizeof (UINT8));\r
for (Index = 0; Index < NumOfDevice; Index++) {\r
- DisplayOnboardDeviceTypes (Struct->Type10->Device[Index].DeviceType, Option);\r
+ ShellPrintEx(-1,-1,(((Struct->Type10->Device[Index].DeviceType) & 0x80) != 0) ? L"Device Enabled\n": L"Device Disabled\n");\r
+ DisplayOnboardDeviceTypes ((Struct->Type10->Device[Index].DeviceType) & 0x7F, Option);\r
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_DESC_STRING), gShellDebug1HiiHandle);\r
ShellPrintEx(-1,-1,L"%a\n",LibGetSmbiosString (Struct, Struct->Type10->Device[Index].DescriptionString));\r
}\r