]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
ShellPkg: remove unreachable break statements
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / UefiShellDebug1CommandsLib.h
index 3967768d1ab5cd5affe52a17da68152bd6d2b9b7..d8755bfefce3919aeef982ad87a2dc113fbcd9f9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for Profile1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2013, 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
 #include <Guid/ConsoleInDevice.h>\r
 #include <Guid/ConsoleOutDevice.h>\r
 #include <Guid/FileSystemInfo.h>\r
+#include <Guid/ShellLibHiiGuid.h>\r
 \r
 #include <Protocol/EfiShell.h>\r
 #include <Protocol/EfiShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
-#include <Protocol/DevicePathToText.h>\r
 #include <Protocol/DriverDiagnostics2.h>\r
 #include <Protocol/DriverDiagnostics.h>\r
 #include <Protocol/PlatformDriverOverride.h>\r
@@ -37,7 +37,6 @@
 #include <Protocol/DriverSupportedEfiVersion.h>\r
 #include <Protocol/DriverFamilyOverride.h>\r
 #include <Protocol/DriverHealth.h>\r
-#include <Protocol/DevicePathFromText.h>\r
 #include <Protocol/SimplePointer.h>\r
 #include <Protocol/PciRootBridgeIo.h>\r
 \r
@@ -60,7 +59,6 @@
 \r
 \r
 extern        EFI_HANDLE                        gShellDebug1HiiHandle;\r
-extern CONST  EFI_GUID                          gShellDebug1HiiGuid;\r
 \r
 /**\r
   Function printing hex output to the console.\r
@@ -82,8 +80,8 @@ DumpHex (
   Function returns a system configuration table that is stored in the\r
   EFI System Table based on the provided GUID.\r
 \r
-  @param[in]  TableGuid    A pointer to the table's GUID type.\r
-  @param[in,out] Table     On exit, a pointer to a system configuration table.\r
+  @param[in]   TableGuid    A pointer to the table's GUID type.\r
+  @param[in, out] Table     On exit, a pointer to a system configuration table.\r
 \r
   @retval EFI_SUCCESS      A configuration table matching TableGuid was found.\r
   @retval EFI_NOT_FOUND    A configuration table matching TableGuid was not found.\r
@@ -98,8 +96,8 @@ GetSystemConfigurationTable (
 /**\r
   Convert a string representation of a GUID to the GUID value.\r
 \r
-  @param[in] StringGuid   The pointer to the string containing a GUID printed.\r
-  @param[in,out] Guid     The pointer to the buffer to get the GUID value.\r
+  @param[in]  StringGuid   The pointer to the string containing a GUID printed.\r
+  @param[in, out] Guid     The pointer to the buffer to get the GUID value.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -361,37 +359,6 @@ ShellCommandRunHexEdit (
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
-/** \r
-  Appends a formatted Unicode string to a Null-terminated Unicode string\r
\r
-  This function appends a formatted Unicode string to the Null-terminated \r
-  Unicode string specified by String.   String is optional and may be NULL.\r
-  Storage for the formatted Unicode string returned is allocated using \r
-  AllocateZeroPool().  The pointer to the appended string is returned.  The caller\r
-  is responsible for freeing the returned string.\r
\r
-  If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().\r
-  If Format is NULL, then ASSERT().\r
-  If Format is not aligned on a 16-bit boundary, then ASSERT().\r
\r
-  @param String   A null-terminated Unicode string.\r
-  @param FormatString   A null-terminated Unicode format string.\r
-  @param ...      The variable argument list whose contents are accessed based \r
-                  on the format string specified by Format.\r
-\r
-  @retval NULL    There was not enough available memory.\r
-  @return         Null terminated Unicode string is that is the formatted \r
-                  string appended to String.\r
-  @sa CatVSPrint\r
-**/\r
-CHAR16*\r
-EFIAPI\r
-CatSPrint (\r
-  IN  CONST CHAR16  *String OPTIONAL,\r
-  IN  CONST CHAR16  *FormatString,\r
-  ...\r
-  );\r
-\r
 /**\r
   Clear the line at the specified Row.\r
   \r