From c5981e3c3d9afbd6183704937e8c93f6306fc8ca Mon Sep 17 00:00:00 2001 From: jcarsey Date: Tue, 5 Apr 2011 20:18:03 +0000 Subject: rename a file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11504 6f19259b-4bc3-4df7-8a09-765794883524 --- .../SmbiosView/SmbiosView.h | 91 ++++++++++++++++++++++ .../SmbiosView/smbiosview.h | 91 ---------------------- 2 files changed, 91 insertions(+), 91 deletions(-) create mode 100644 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h delete mode 100644 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/smbiosview.h (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h new file mode 100644 index 0000000000..3d532b4ab1 --- /dev/null +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h @@ -0,0 +1,91 @@ +/** @file + Tools of clarify the content of the smbios table. + + Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.
+ 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 + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef _SMBIOS_VIEW_H +#define _SMBIOS_VIEW_H + +#define STRUCTURE_TYPE_RANDOM (UINT8) 0xFE +#define STRUCTURE_TYPE_INVALID (UINT8) 0xFF + +#define STRUCTURE_HANDLE_INVALID (UINT16) 0xFFFF + +typedef struct { + UINT16 Index; + UINT8 Type; + UINT16 Handle; + UINT16 Addr; // offset from table head + UINT16 Length; // total structure length +} STRUCTURE_STATISTICS; + +/** + 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 +SMBiosView ( + 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. +**/ +EFI_STATUS +EFIAPI +InitSmbiosTableStatistics ( + VOID + ); + +/** + Function to display the global mStatisticsTable object. + + @param[in] Option ECHO, NORMAL, or DETAIL control the amount of detail displayed. + + @retval EFI_SUCCESS print is successful. +**/ +EFI_STATUS +EFIAPI +DisplayStatisticsTable ( + 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. + + @return A pointer to a string representing the ShowType (or 'undefined type' if not known). +**/ +CHAR16* +EFIAPI +GetShowTypeString ( + UINT8 ShowType + ); + +extern UINT8 gShowType; + +#endif diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/smbiosview.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/smbiosview.h deleted file mode 100644 index 3d532b4ab1..0000000000 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/smbiosview.h +++ /dev/null @@ -1,91 +0,0 @@ -/** @file - Tools of clarify the content of the smbios table. - - Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.
- 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 - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - -#ifndef _SMBIOS_VIEW_H -#define _SMBIOS_VIEW_H - -#define STRUCTURE_TYPE_RANDOM (UINT8) 0xFE -#define STRUCTURE_TYPE_INVALID (UINT8) 0xFF - -#define STRUCTURE_HANDLE_INVALID (UINT16) 0xFFFF - -typedef struct { - UINT16 Index; - UINT8 Type; - UINT16 Handle; - UINT16 Addr; // offset from table head - UINT16 Length; // total structure length -} STRUCTURE_STATISTICS; - -/** - 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 -SMBiosView ( - 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. -**/ -EFI_STATUS -EFIAPI -InitSmbiosTableStatistics ( - VOID - ); - -/** - Function to display the global mStatisticsTable object. - - @param[in] Option ECHO, NORMAL, or DETAIL control the amount of detail displayed. - - @retval EFI_SUCCESS print is successful. -**/ -EFI_STATUS -EFIAPI -DisplayStatisticsTable ( - 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. - - @return A pointer to a string representing the ShowType (or 'undefined type' if not known). -**/ -CHAR16* -EFIAPI -GetShowTypeString ( - UINT8 ShowType - ); - -extern UINT8 gShowType; - -#endif -- cgit v1.2.3