Reviewed-by: Jaben Carsey <jaben.car...@intel.com> > -----Original Message----- > From: Samer El-Haj-Mahmoud [mailto:samer.el-haj-mahm...@hp.com] > Sent: Wednesday, September 16, 2015 11:10 AM > To: edk2-devel@lists.01.org > Cc: jaben.car...@intel.com --cc=shumin....@intel.com; Samer El-Haj- > Mahmoud <samer.el-haj-mahm...@hp.com>; Samer El-Haj-Mahmoud > <samer.el-haj-mahm...@hpe.com> > Subject: [PATCH 1/1] ShellPkg: Added SMBIOS 2.8 Type 17 changes to > smbiosview > Importance: High > > Updated smbiosview to decode SMBIOS Type 17 MinimumVoltage, > MaximumVoltage, and ConfiguredVoltage > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@hpe.com> > --- > .../Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 8 > +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > index 1494c47..e348c6f 100644 > --- > a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > @@ -2,7 +2,8 @@ > Module for clarifying the content of the smbios structure element > information. > > Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR> > - (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> > + (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> > + (C) Copyright 2015 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 > @@ -721,6 +722,11 @@ SmbiosPrintStructure ( > PRINT_STRUCT_VALUE (Struct, Type17, ExtendedSize); > PRINT_STRUCT_VALUE (Struct, Type17, ConfiguredMemoryClockSpeed); > } > + if (AE_SMBIOS_VERSION (0x2, 0x8) && (Struct->Hdr->Length > 0x22)) { > + PRINT_STRUCT_VALUE (Struct, Type17, MinimumVoltage); > + PRINT_STRUCT_VALUE (Struct, Type17, MaximumVoltage); > + PRINT_STRUCT_VALUE (Struct, Type17, ConfiguredVoltage); > + } > break; > > // > -- > 1.9.5.msysgit.1
_______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel