]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h
ShellPkg: update smbiosview for SMBIOS 3.0.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / SmbiosView / SmbiosView.h
index 638917ae8b6c70eb27bae9c6ab7e5627f3ea4fa9..647fd5fe269882a7578149a7776b2654d45c74eb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Tools of clarify the content of the smbios table.\r
 \r
-  Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -47,6 +47,27 @@ SMBiosView (
   IN  BOOLEAN   RandomView\r
   );\r
 \r
+/**\r
+  Query all structures Data from SMBIOS table and Display\r
+  the information to users as required display option.\r
+\r
+  @param[in] QueryType      Structure type to view.\r
+  @param[in] QueryHandle    Structure handle to view.\r
+  @param[in] Option         Display option: none,outline,normal,detail.\r
+  @param[in] RandomView     Support for -h parameter.\r
+\r
+  @retval EFI_SUCCESS           print is successful.\r
+  @retval EFI_BAD_BUFFER_SIZE   structure is out of the range of SMBIOS table.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+SMBios64View (\r
+  IN  UINT8     QueryType,\r
+  IN  UINT16    QueryHandle,\r
+  IN  UINT8     Option,\r
+  IN  BOOLEAN   RandomView\r
+  );\r
+\r
 /**\r
   Function to initialize the global mStatisticsTable object.\r
 \r
@@ -58,6 +79,17 @@ InitSmbiosTableStatistics (
   VOID\r
   );\r
 \r
+/**\r
+  Function to initialize the global mSmbios64BitStatisticsTable object.\r
+\r
+  @retval EFI_SUCCESS           print is successful.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+InitSmbios64BitTableStatistics (\r
+  VOID\r
+  );\r
+\r
 /**\r
   Function to display the global mStatisticsTable object.\r
 \r
@@ -71,6 +103,19 @@ DisplayStatisticsTable (
   IN UINT8 Option\r
   );\r
 \r
+/**\r
+  Function to display the global mSmbios64BitStatisticsTable object.\r
+\r
+  @param[in] Option             ECHO, NORMAL, or DETAIL control the amount of detail displayed.\r
+\r
+  @retval EFI_SUCCESS           print is successful.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+DisplaySmbios64BitStatisticsTable (\r
+  IN UINT8 Option\r
+  );\r
+\r
 /**\r
   function to return a string of the detail level.\r
 \r
@@ -86,4 +131,6 @@ GetShowTypeString (
 \r
 extern UINT8  gShowType;\r
 \r
+extern UINTN  mSmbios64BitTableLength;\r
+\r
 #endif\r