]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the curren...
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 6 Mar 2007 05:27:05 +0000 (05:27 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 6 Mar 2007 05:27:05 +0000 (05:27 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2421 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c

index 4dbb17eaf77ab74836ded4e70ac36a18c059d88c..81142afff25a74c5edfc188ede94fb28d4af09be 100644 (file)
@@ -1,6 +1,7 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
+/**@file\r
+       Implementation for EFI_SIMPLE_TEXT_IN_PROTOCOL protocol.\r
+       \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
 All rights reserved. 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
 All rights reserved. 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
@@ -9,15 +10,7 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-Module Name:\r
-\r
-    TerminalConIn.c\r
-    \r
-Abstract: \r
-    \r
-\r
-Revision History\r
---*/\r
+**/\r
 \r
 #include "Terminal.h"\r
 \r
 \r
 #include "Terminal.h"\r
 \r
@@ -58,11 +51,11 @@ TerminalConInReset (
   //\r
   // Report progress code here\r
   //\r
   //\r
   // Report progress code here\r
   //\r
-  Status = REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
-            EFI_PROGRESS_CODE,\r
-            EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,\r
-            TerminalDevice->DevicePath\r
-            );\r
+  REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
+    EFI_PROGRESS_CODE,\r
+    EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,\r
+    TerminalDevice->DevicePath\r
+    );\r
 \r
   Status = TerminalDevice->SerialIo->Reset (TerminalDevice->SerialIo);\r
 \r
 \r
   Status = TerminalDevice->SerialIo->Reset (TerminalDevice->SerialIo);\r
 \r