]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/ConsoleWrappers.c
console logger - support disabling the console out.
[mirror_edk2.git] / ShellPkg / Application / Shell / ConsoleWrappers.c
index 61b6a5ee52e6004b32a2d398eca4f31628ec1f6a..3212af9a08ce5b6264851396bb036ddf289b8ba8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Function definitions for shell simple text in and out on top of file handles.\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
@@ -82,15 +82,15 @@ FileBasedSimpleTextInReset(
   ReadKeyStroke function for the fake simple text input.\r
 \r
   @param[in] This     A pointer to the SimpleTextIn structure.\r
-  @param[out] Key     A pointer to the Key structure to fill.\r
+  @param[in,out] Key  A pointer to the Key structure to fill.\r
 \r
   @retval   EFI_SUCCESS The read was successful.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 FileBasedSimpleTextInReadKeyStroke(\r
-  IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,\r
-  IN EFI_INPUT_KEY                  *Key\r
+  IN      EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,\r
+  IN OUT  EFI_INPUT_KEY                  *Key\r
   )\r
 {\r
   UINTN Size;\r
@@ -454,14 +454,14 @@ CreateSimpleTextOutOnFile(
   Function to close a EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on top of a \r
   SHELL_FILE_HANDLE to support redirecting output from a file.\r
 \r
-  @param[in]  SimpleTextOut  The pointer to the SimpleTextOUT to close.\r
+  @param[in] SimpleTextOut    The pointer to the SimpleTextOUT to close.\r
 \r
   @retval EFI_SUCCESS         The object was closed.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 CloseSimpleTextOutOnFile(\r
-  OUT EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL  *SimpleTextOut\r
+  IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL  *SimpleTextOut\r
   )\r
 {\r
   EFI_STATUS  Status;\r