edk2/ShellPkg/Library/UefiShellDebug1CommandsLib
Darren Dong 7934dc56df ShellPkg/SmbiosView: Improve SMBIOS Type 42 decoding
Update smbiosview to decode Management Controller Host Interface (Type 42) records more clearly and robustly.

The MC host interface type table only reported MCTP host interfaces as a generic range. Add the MCTP host interface subtype values defined in MdePkg, including PCIe VDM and MMBI, so Type 42 records can be identified from smbiosview output.

Also improve Type 42 formatted-area parsing by using unaligned reads for InterfaceTypeSpecificData, validating the formatted structure length before reading protocol records, and advancing each protocol record by its full header and data length.

This prevents protocol record mis-parsing when ProtocolTypeDataLen is zero, such as for IPMI-over-MMBI Type 42 records.

Change-Id: I10c974560ff2a5385d159494a5b285569003a061
Signed-off-by: Darren Dong <darren.dong@intel.com>
Signed-off-by: Liangqi Zhu <liangqi.zhu@intel.com>
2026-07-02 22:25:08 +08:00
..
Edit ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
HexEdit ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SmbiosView ShellPkg/SmbiosView: Improve SMBIOS Type 42 decoding 2026-07-02 22:25:08 +08:00
Comp.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Compress.c ShellPkg: Add null pointer checks before dereference 2026-07-01 12:10:28 +00:00
Compress.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Cxl.c ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
Dblk.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Dmem.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
DmpStore.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditInputBar.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditInputBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditMenuBar.c ShellPkg: UefiShellDebug1CommandsLib: CodeQL Fixes 2024-10-29 02:09:18 +00:00
EditMenuBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditStatusBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditStatusBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditTitleBar.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditTitleBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EfiCompress.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EfiDecompress.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
LoadPciRom.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
MemMap.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Mm.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Mode.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Pci.c Global: Fix Spelling Errors in PCI/PCIe Definitions 2026-05-08 02:15:34 +00:00
Pci.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SerMode.c ShellPkg/SerMode: Add ValidDataBits() function 2026-04-24 18:18:47 +00:00
SetSize.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
SetVar.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
UefiShellDebug1CommandsLib.c ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.h ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.inf ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.uni ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00