summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c
diff options
context:
space:
mode:
authorChris Phillips <chrisp@hpe.com>2017-01-10 14:56:43 +0800
committerStar Zeng <star.zeng@intel.com>2017-01-12 16:46:31 +0800
commita679e8b1d977a494f77a9ec5535bea918f3b74f1 (patch)
treed90866cb1239b07377292899ae45f0ef611eda98 /Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c
parentfed77c5feae10dfc5d4aed1543b202faba2d6a59 (diff)
downloadedk2-a679e8b1d977a494f77a9ec5535bea918f3b74f1.tar.gz
edk2-a679e8b1d977a494f77a9ec5535bea918f3b74f1.tar.bz2
edk2-a679e8b1d977a494f77a9ec5535bea918f3b74f1.zip
Nt32Pkg: Fixes to correctly set SMBIOS Type 3
When running Nt32Pkg, SMBIOS Type 3 was missing Height, NumberofPowerCords, and SKU Number. Also, ContainedElements was not being handled correctly. Fixed code to add example data, correct some variable names (Assert -> Asset), and properly handle setting the Type 3 values. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips <chrisp@hpe.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c')
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c b/Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c
index 4fbf5de028..cbf90e9c03 100644
--- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c
+++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c
@@ -1,6 +1,7 @@
/**@file
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -39,7 +40,9 @@ MISC_SMBIOS_TABLE_DATA(EFI_MISC_CHASSIS_MANUFACTURER_DATA, MiscChassisManufactur
EfiChassisStateOther, // ChassisPowerSupplyState
EfiChassisStateOther, // ChassisThermalState
EfiChassisSecurityStatusOther, // ChassisSecurityState
- 0 // ChassisOemDefined
+ 0, // ChassisOemDefined
+ 1, // Height
+ 1 // NumberofPowerCords
};
/* eof - MiscChassisManufacaturerData.c */