X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellDebug1CommandsLib%2FUefiShellDebug1CommandsLib.h;h=80a8476a5ef54cacdc6566185cfcef7ecfc1d150;hp=7cabfe3278d3576737294ab9a3f390a89ad9444d;hb=891417a74d5cd3bd202f63cec74c233cc0c57008;hpb=4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396 diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h index 7cabfe3278..80a8476a5e 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h @@ -1,7 +1,7 @@ /** @file Main file for NULL named library for Profile1 shell command functions. - Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2017, 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 @@ -16,19 +16,18 @@ #define _UEFI_SHELL_DEBUG1_COMMANDS_LIB_H_ #include -#include #include #include #include #include +#include -#include -#include +#include +#include #include #include #include -#include #include #include #include @@ -37,8 +36,8 @@ #include #include #include -#include #include +#include #include #include @@ -60,23 +59,6 @@ extern EFI_HANDLE gShellDebug1HiiHandle; -extern CONST EFI_GUID gShellDebug1HiiGuid; - -/** - Function printing hex output to the console. - - @param[in] Indent Number of spaces to indent. - @param[in] Offset Offset to start with. - @param[in] DataSize Length of data. - @param[in] UserData Pointer to some data. -**/ -VOID -DumpHex ( - IN UINTN Indent, - IN UINTN Offset, - IN UINTN DataSize, - IN VOID *UserData - ); /** Function returns a system configuration table that is stored in the @@ -89,44 +71,11 @@ DumpHex ( @retval EFI_NOT_FOUND A configuration table matching TableGuid was not found. **/ EFI_STATUS -EFIAPI GetSystemConfigurationTable ( IN EFI_GUID *TableGuid, IN OUT VOID **Table ); -/** - Convert a string representation of a GUID to the GUID value. - - @param[in] StringGuid The pointer to the string containing a GUID printed. - @param[in, out] Guid The pointer to the buffer to get the GUID value. -**/ -EFI_STATUS -EFIAPI -ConvertStringToGuid ( - IN CONST CHAR16 *StringGuid, - IN OUT EFI_GUID *Guid - ); - -/** - Convert a Unicode character to numerical value. - - This internal function only deal with Unicode character - which maps to a valid hexadecimal ASII character, i.e. - L'0' to L'9', L'a' to L'f' or L'A' to L'F'. For other - Unicode character, the value returned does not make sense. - - @param Char The character to convert. - - @return The numerical value converted. - -**/ -UINTN -EFIAPI -HexCharToUintn ( - IN CHAR16 Char - ); - /** Function for 'setsize' command. @@ -369,7 +318,6 @@ ShellCommandRunHexEdit ( @param[in] LastRow The last printable row. **/ VOID -EFIAPI EditorClearLine ( IN UINTN Row, IN UINTN LastCol, @@ -385,7 +333,6 @@ EditorClearLine ( @retval FALSE The filename is not ok. **/ BOOLEAN -EFIAPI IsValidFileName ( IN CONST CHAR16 *Name ); @@ -399,7 +346,6 @@ IsValidFileName ( @return the valid filename. **/ CHAR16 * -EFIAPI EditGetDefaultFileName ( IN CONST CHAR16 *Extension ); @@ -427,7 +373,6 @@ EditGetDefaultFileName ( @retval EFI_INVALID_PARAMETER FileName was a directory. **/ EFI_STATUS -EFIAPI ReadFileIntoBuffer ( IN CONST CHAR16 *FileName, OUT VOID **Buffer,