mirror of https://github.com/acidanthera/audk.git
Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the current function's return status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2421 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ad368bfe44
commit
ee295f87c3
|
@ -1,6 +1,7 @@
|
||||||
/*++
|
/**@file
|
||||||
|
Implementation for EFI_SIMPLE_TEXT_IN_PROTOCOL protocol.
|
||||||
Copyright (c) 2006, Intel Corporation
|
|
||||||
|
Copyright (c) 2006 - 2007 Intel Corporation. <BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -9,15 +10,7 @@ http://opensource.org/licenses/bsd-license.php
|
||||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
Module Name:
|
**/
|
||||||
|
|
||||||
TerminalConIn.c
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
|
|
||||||
Revision History
|
|
||||||
--*/
|
|
||||||
|
|
||||||
#include "Terminal.h"
|
#include "Terminal.h"
|
||||||
|
|
||||||
|
@ -58,11 +51,11 @@ TerminalConInReset (
|
||||||
//
|
//
|
||||||
// Report progress code here
|
// Report progress code here
|
||||||
//
|
//
|
||||||
Status = REPORT_STATUS_CODE_WITH_DEVICE_PATH (
|
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
|
||||||
EFI_PROGRESS_CODE,
|
EFI_PROGRESS_CODE,
|
||||||
EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,
|
EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,
|
||||||
TerminalDevice->DevicePath
|
TerminalDevice->DevicePath
|
||||||
);
|
);
|
||||||
|
|
||||||
Status = TerminalDevice->SerialIo->Reset (TerminalDevice->SerialIo);
|
Status = TerminalDevice->SerialIo->Reset (TerminalDevice->SerialIo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue