Fixed one bug which may lead standard error handle could not be set into system table correctly since default return status is set to error by default.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10800 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2010-08-17 08:27:12 +00:00
parent 6efe946118
commit db724ff9c1

View File

@ -1336,6 +1336,7 @@ ConSplitterStdErrDriverBindingStart (
} }
} }
CpuBreakpoint ();
// //
// Start ConSplitter on ControllerHandle, and create the virtual // Start ConSplitter on ControllerHandle, and create the virtual
// agrogated console device on first call Start for a StandardError handle. // agrogated console device on first call Start for a StandardError handle.
@ -3043,8 +3044,6 @@ ConSplitterTextOutAddDevice (
} }
if (FeaturePcdGet (PcdConOutUgaSupport)) { if (FeaturePcdGet (PcdConOutUgaSupport)) {
Status = EFI_DEVICE_ERROR;
// //
// If UGA is produced by Consplitter // If UGA is produced by Consplitter
// //