]> git.proxmox.com Git - mirror_edk2.git/commit
Nt32Pkg: Fix code to correctly set SMBIOS Type 2 Length
authorChris Phillips <chrisp@hpe.com>
Tue, 10 Jan 2017 16:48:45 +0000 (00:48 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 12 Jan 2017 08:46:27 +0000 (16:46 +0800)
commitfed77c5feae10dfc5d4aed1543b202faba2d6a59
tree1e611dad4eede48bcdb9358b74ed3220d5a3da16
parentf15908aa036585a80016fa7c02421b6d293a7550
Nt32Pkg: Fix code to correctly set SMBIOS Type 2 Length

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 Phillips <chrisp@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Nt32Pkg/MiscSubClassPlatformDxe/MiscBaseBoardManufacturerFunction.c