summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2017-08-14 15:18:10 -0700
committerMichael D Kinney <michael.d.kinney@intel.com>2017-08-15 08:30:55 -0700
commitaf0364f01e8cac95afad01437f13beef90f6640b (patch)
tree7417b90c9aa9294a70f26fab6ff119058294b601 /Nt32Pkg
parenta6b3d753f98118ee547ae935b347f4f00fa67e7c (diff)
downloadedk2-af0364f01e8cac95afad01437f13beef90f6640b.tar.gz
edk2-af0364f01e8cac95afad01437f13beef90f6640b.tar.bz2
edk2-af0364f01e8cac95afad01437f13beef90f6640b.zip
Nt32/PlatformBootManagerLib: Enable STD_ERROR on all consoles
Add STD_ERROR flag to all output consoles that the Nt32 platform supports so all messages sent to the standard error console device(s) are visible by default. The Boot Maintenance Manager can be used to manually disable standard error output to specific console devices. UEFI Applications and UEFI Drivers are recommended to be built with DEBUG() and ASSERT() messages sent to the standard error device using MdePkg/Library/UefiDebugLibStdErr. Prior to this change, a user would have to use the Boot Maintenance Manager to configure a standard error console device to make these messages visible. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com> Tested-by: Sunny Wang <sunnywang@hpe.com>
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Library/PlatformBootManagerLib/PlatformData.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformData.c b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformData.c
index e92f377bd1..e4b400b4a3 100644
--- a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformData.c
+++ b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformData.c
@@ -2,7 +2,7 @@
Defined the platform specific device path which will be filled to
ConIn/ConOut variables.
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
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
@@ -137,19 +137,19 @@ NT_ISA_SERIAL_DEVICE_PATH gNtSerialDevicePath1 = {
PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
{
(EFI_DEVICE_PATH_PROTOCOL *) &gNtSerialDevicePath0,
- (CONSOLE_OUT | CONSOLE_IN)
+ (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
},
{
(EFI_DEVICE_PATH_PROTOCOL *) &gNtSerialDevicePath1,
- (CONSOLE_OUT | CONSOLE_IN)
+ (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
},
{
(EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath0,
- (CONSOLE_OUT | CONSOLE_IN)
+ (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
},
{
(EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath1,
- (CONSOLE_OUT | CONSOLE_IN)
+ (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
},
{
NULL,