diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-08-27 13:21:48 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-08-30 10:06:10 +0800 |
commit | 7475ac5157962b570aa0d1afd0811518b729b5fd (patch) | |
tree | 7a2937cb91e61d2c787092da12a742cc9978fa2d /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h | |
parent | 79e4f2a56ac7cee477c2f84ff65f766814cc1836 (diff) | |
download | edk2-7475ac5157962b570aa0d1afd0811518b729b5fd.tar.gz edk2-7475ac5157962b570aa0d1afd0811518b729b5fd.tar.bz2 edk2-7475ac5157962b570aa0d1afd0811518b729b5fd.zip |
ShellPkg/SmbiosView: Update SmbiosView for SMBIOS3.2.0
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1099
Update SmbiosView to parse the new definitions which
are introduced in SMBIOS3.2.0
V2:
1. Add structure length check before dump the fileds in
Type 9 and Type 17 in case some fileds are not organized
and reported by drivers.
2. Dump the InterfaceTypeSpecificData in Type 42.
V3:
1. Correct the structure length in Type17.
2. Remove the redundant check "if (PeerGroupCount > 0)" in Type 9.
3. Use the Uint16 filed instead of Bits field in union
MEMORY_DEVICE_OPERATING_MODE_CAPABILITY to dump data.
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h index bd9e6898d4..3449da357e 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h @@ -2,7 +2,7 @@ Build a table, each item is (key, info) pair.
and give a interface of query a string out of a table.
- Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<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
@@ -564,6 +564,30 @@ DisplayMemoryDeviceTypeDetail ( );
/**
+ Display Memory Device (Type 17) memory technology.
+
+ @param[in] Para The key of the structure.
+ @param[in] Option The optional information.
+**/
+VOID
+DisplayMemoryDeviceMemoryTechnology (
+ IN UINT8 Para,
+ IN UINT8 Option
+ );
+
+/**
+ Display Memory Device (Type 17) memory operating mode capability.
+
+ @param[in] Para The key of the structure.
+ @param[in] Option The optional information.
+**/
+VOID
+DisplayMemoryDeviceMemoryOperatingModeCapability (
+ IN UINT16 Para,
+ IN UINT8 Option
+ );
+
+/**
Display 32-bit Memory Error Information (Type 18) type.
@param[in] ErrorType The key of the structure.
|