diff options
author | Elvin Li <elvin.li@intel.com> | 2015-03-17 08:12:59 +0000 |
---|---|---|
committer | li-elvin <li-elvin@Edk2> | 2015-03-17 08:12:59 +0000 |
commit | ec8a502e66fe190a77546e82820e921cfa9d05e0 (patch) | |
tree | c42572b9844e6d9072ec34667c183fed531023e2 /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h | |
parent | ba9d087b8fb91f19c9accf9541332a36889e18ed (diff) | |
download | edk2-platforms-ec8a502e66fe190a77546e82820e921cfa9d05e0.tar.xz |
ShellPkg: update smbiosview for SMBIOS 3.0.
smbiosview can dump 64-bit entry point and table
as long as SMBIOS 3.0 table exists in system configuration table.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17060 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h index 638917ae8b..647fd5fe26 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h @@ -1,7 +1,7 @@ /** @file
Tools of clarify the content of the smbios table.
- Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2005 - 2015, 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
@@ -48,6 +48,27 @@ SMBiosView ( );
/**
+ Query all structures Data from SMBIOS table and Display
+ the information to users as required display option.
+
+ @param[in] QueryType Structure type to view.
+ @param[in] QueryHandle Structure handle to view.
+ @param[in] Option Display option: none,outline,normal,detail.
+ @param[in] RandomView Support for -h parameter.
+
+ @retval EFI_SUCCESS print is successful.
+ @retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.
+**/
+EFI_STATUS
+EFIAPI
+SMBios64View (
+ IN UINT8 QueryType,
+ IN UINT16 QueryHandle,
+ IN UINT8 Option,
+ IN BOOLEAN RandomView
+ );
+
+/**
Function to initialize the global mStatisticsTable object.
@retval EFI_SUCCESS print is successful.
@@ -59,6 +80,17 @@ InitSmbiosTableStatistics ( );
/**
+ Function to initialize the global mSmbios64BitStatisticsTable object.
+
+ @retval EFI_SUCCESS print is successful.
+**/
+EFI_STATUS
+EFIAPI
+InitSmbios64BitTableStatistics (
+ VOID
+ );
+
+/**
Function to display the global mStatisticsTable object.
@param[in] Option ECHO, NORMAL, or DETAIL control the amount of detail displayed.
@@ -72,6 +104,19 @@ DisplayStatisticsTable ( );
/**
+ Function to display the global mSmbios64BitStatisticsTable object.
+
+ @param[in] Option ECHO, NORMAL, or DETAIL control the amount of detail displayed.
+
+ @retval EFI_SUCCESS print is successful.
+**/
+EFI_STATUS
+EFIAPI
+DisplaySmbios64BitStatisticsTable (
+ IN UINT8 Option
+ );
+
+/**
function to return a string of the detail level.
@param[in] ShowType The detail level whose name is desired in clear text.
@@ -86,4 +131,6 @@ GetShowTypeString ( extern UINT8 gShowType;
+extern UINTN mSmbios64BitTableLength;
+
#endif
|