[edk2] [PATCH v2] Nt32Pkg: Fix code to correctly set SMBIOS Type 2 Length

2017-01-10 Thread Chris Phillips
When running Nt32Pkg, SMBIOS Type 2 had the wrong Length. Fixed the code to use the correct structure in sizeof, and properly account for ContainedObjectHandles. Also updated variable names with Assert -> Asset Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phill

[edk2] [PATCH] Nt32Pkg: Fixes to correctly set SMBIOS Type 3

2017-01-09 Thread Chris Phillips
der: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips --- .../MiscChassisManufacturerData.c | 5 +- .../MiscChassisManufacturerFunction.c | 74 ++ .../MiscSubClassPlatformDxe/MiscSubclassDriver.uni | 2 + 3 files changed,

[edk2] [PATCH] Nt32Pkg: Fix code to correctly set SMBIOS Type 2 Length

2017-01-09 Thread Chris Phillips
When running Nt32Pkg, SMBIOS Type 2 had the wrong Length. Fixed the code to use the correct structure in sizeof, and properly account for ContainedObjectHandles. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips --- .../MiscBaseBoardManufacturerFunction.c

[edk2] [PATCH] ShellPkg: Update smbiosview command to display Type 3 values

2017-01-09 Thread Chris Phillips
The smbiosview command was not displaying SMBIOS Type 3 Height, NumberofPowerCords, or SKU Number. Added handling to display these values. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 19

[edk2] [PATCH] MdePkg: Add comments for SMBIOS Type 3 structure to cover SKU Number

2017-01-09 Thread Chris Phillips
Contribution Agreement 1.0 Signed-off-by: Chris Phillips --- MdePkg/Include/IndustryStandard/SmBios.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index c66422fc3a..a24713d214