SystemTableInfo->ConInHandle = gST->ConsoleInHandle;\r
SystemTableInfo->ConOut = gST->ConOut;\r
SystemTableInfo->ConOutHandle = gST->ConsoleOutHandle;\r
- SystemTableInfo->ConErr = gST->StdErr;\r
- SystemTableInfo->ConErrHandle = gST->StandardErrorHandle;\r
+ SystemTableInfo->ErrOut = gST->StdErr;\r
+ SystemTableInfo->ErrOutHandle = gST->StandardErrorHandle;\r
*OldStdIn = ShellParameters->StdIn;\r
*OldStdOut = ShellParameters->StdOut;\r
*OldStdErr = ShellParameters->StdErr;\r
gST->ConOut = SystemTableInfo->ConOut;\r
gST->ConsoleOutHandle = SystemTableInfo->ConOutHandle;\r
}\r
- if (gST->StdErr != SystemTableInfo->ConErr) {\r
+ if (gST->StdErr != SystemTableInfo->ErrOut) {\r
CloseSimpleTextOutOnFile(gST->StdErr);\r
- gST->StdErr = SystemTableInfo->ConErr;\r
- gST->StandardErrorHandle = SystemTableInfo->ConErrHandle;\r
+ gST->StdErr = SystemTableInfo->ErrOut;\r
+ gST->StandardErrorHandle = SystemTableInfo->ErrOutHandle;\r
}\r
\r
CalculateEfiHdrCrc(&gST->Hdr);\r
Member functions of EFI_SHELL_PARAMETERS_PROTOCOL and functions for creation,\r
manipulation, and initialization of EFI_SHELL_PARAMETERS_PROTOCOL.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, 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
EFI_HANDLE ConInHandle;\r
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ConOut;\r
EFI_HANDLE ConOutHandle;\r
- EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ConErr;\r
- EFI_HANDLE ConErrHandle;\r
+ EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ErrOut;\r
+ EFI_HANDLE ErrOutHandle;\r
} SYSTEM_TABLE_INFO;\r
\r
/**\r
/** @file\r
Main file for connect shell Driver1 function.\r
\r
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2010 - 2012, 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
Status = ConnectControllers(NULL, Handle, FALSE, TRUE, FALSE);\r
}\r
} else if ((StrCmp(Key, L"ConOutDev") == 0) \r
- || (StrCmp(Key, L"ConErrDev") == 0) \r
+ || (StrCmp(Key, L"ErrOutDev") == 0) \r
|| (StrCmp(Key, L"ConOut") == 0) \r
- || (StrCmp(Key, L"ConErr") == 0)\r
+ || (StrCmp(Key, L"ErrOut") == 0)\r
){\r
Status = gBS->LocateDevicePath((EFI_GUID*)&gEfiConsoleOutDeviceGuid, &DevPathWalker, &Handle);\r
if (!EFI_ERROR(Status)) {\r
Status = ConnectFromDevPaths(L"ConOutDev");\r
}\r
if (EFI_ERROR(Status)) {\r
- ConnectFromDevPaths(L"ConErrDev");\r
+ ConnectFromDevPaths(L"ErrOutDev");\r
} else {\r
- Status = ConnectFromDevPaths(L"ConErrDev");\r
+ Status = ConnectFromDevPaths(L"ErrOutDev");\r
}\r
if (EFI_ERROR(Status)) {\r
- ConnectFromDevPaths(L"ConErr");\r
+ ConnectFromDevPaths(L"ErrOut");\r
} else {\r
- Status = ConnectFromDevPaths(L"ConErr");\r
+ Status = ConnectFromDevPaths(L"ErrOut");\r
}\r
if (EFI_ERROR(Status)) {\r
ConnectFromDevPaths(L"ConIn");\r