]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c
ShellPkg: Add support for adding optional data to the bcfg command.
[mirror_edk2.git] / ShellPkg / Library / UefiShellInstall1CommandsLib / UefiShellInstall1CommandsLib.c
index e524e7f50a21c44b07556dccfe20f1460de04e3c..b7f0878b739c570183dbe1cf5fb44e4481e4a431 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for install1 shell command functions.\r
 \r
-  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2011, 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
 \r
 STATIC CONST CHAR16 mFileName[] = L"ShellCommands";\r
 EFI_HANDLE gShellInstall1HiiHandle = NULL;\r
-CONST EFI_GUID gShellInstall1HiiGuid = \\r
-  { \\r
-    0x7d574d54, 0xd364, 0x4d4a, { 0x95, 0xe3, 0x49, 0x45, 0xdb, 0x7a, 0xd3, 0xee } \\r
-  };\r
 \r
+/**\r
+  Function to get the filename with help context if HII will not be used.\r
+\r
+  @return   The filename with help text in it.\r
+**/\r
 CONST CHAR16*\r
 EFIAPI\r
 ShellCommandGetManFileNameInstall1 (\r
@@ -52,7 +53,7 @@ ShellInstall1CommandsLibConstructor (
   // check our bit of the profiles mask\r
   //\r
   if ((PcdGet8(PcdShellProfileMask) & BIT2) == 0) {\r
-    return (EFI_UNSUPPORTED);\r
+    return (EFI_SUCCESS);\r
   }\r
 \r
   gShellInstall1HiiHandle = HiiAddPackages (&gShellInstall1HiiGuid, gImageHandle, UefiShellInstall1CommandsLibStrings, NULL);\r
@@ -70,6 +71,9 @@ ShellInstall1CommandsLibConstructor (
 \r
 /**\r
   Destructor for the library.  free any resources.\r
+\r
+  @param ImageHandle            The image handle of the process.\r
+  @param SystemTable            The EFI System Table pointer.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r