X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellDriver1CommandsLib%2FUefiShellDriver1CommandsLib.h;h=a68af513b5d2a94fe6693f0f402526a53619bead;hb=304ae970ee25eed4c7ab4f153ceba8b37e1ee661;hp=61754a54773d0e93094dd2d684b825fb5bb2d7ff;hpb=6878e7a7be6a29da75fca61ba42681fc64a3fdf3;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h index 61754a5477..a68af513b5 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.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 - 2013, 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 @@ -21,13 +21,13 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include #include @@ -54,10 +54,10 @@ #include #include #include +#include extern EFI_HANDLE gShellDriver1HiiHandle; -extern CONST EFI_GUID gShellDriver1HiiGuid; extern BOOLEAN gInReconnect; /** @@ -203,5 +203,18 @@ ShellCommandRunUnload ( IN EFI_SYSTEM_TABLE *SystemTable ); +/** + Function to translate the EFI_MEMORY_TYPE into a string. + + @param[in] Memory The memory type. + + @retval A string representation of the type allocated from BS Pool. +**/ +CHAR16* +EFIAPI +ConvertMemoryType ( + IN CONST EFI_MEMORY_TYPE Memory + ); + #endif