summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DebugPortDxe
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-10 05:38:54 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-10 05:38:54 +0000
commit28af9a489dc3038962915405fcd4db5bc2ba5d9b (patch)
treef88d67f91fcc988b11245497c9356680f86e72d7 /MdeModulePkg/Universal/DebugPortDxe
parent157398c2581b1fdf5f1af8283d8d990284dd4473 (diff)
downloadedk2-platforms-28af9a489dc3038962915405fcd4db5bc2ba5d9b.tar.xz
Fix the bug in DebugPort on error reporting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7843 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugPortDxe')
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
index a63ef84a30..a66e356631 100644
--- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
+++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
@@ -4,7 +4,7 @@
ALL CODE IN THE SERIALIO STACK MUST BE RE-ENTRANT AND CALLABLE FROM
INTERRUPT CONTEXT
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>
+Copyright (c) 2006 - 2009, Intel Corporation. <BR>
All rights reserved. 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
@@ -411,18 +411,6 @@ DebugPortStart (
);
if (EFI_ERROR (Status)) {
- DEBUG_CODE_BEGIN ();
- UINTN BufferSize;
-
- BufferSize = 48;
- DebugPortWrite (
- &mDebugPortDevice.DebugPortInterface,
- 0,
- &BufferSize,
- "DebugPort driver failed to open child controller\n\n"
- );
- DEBUG_CODE_END ();
-
gBS->CloseProtocol (
ControllerHandle,
&gEfiSerialIoProtocolGuid,
@@ -432,19 +420,6 @@ DebugPortStart (
return Status;
}
- DEBUG_CODE_BEGIN ();
- UINTN BufferSize;
-
- BufferSize = 38;
- DebugPortWrite (
- &mDebugPortDevice.DebugPortInterface,
- 0,
- &BufferSize,
- "Hello World from the DebugPort driver\n\n"
- );
-
- DEBUG_CODE_END ();
-
return EFI_SUCCESS;
}