From dad608335f432ce7a30a7a0d5496546254633bba Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 10 Mar 2009 03:10:15 +0000 Subject: 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid. Consplitter will not install these protocols any more. 2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly. 3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal') diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c index 44a1e08689..c1b4eff1cd 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c @@ -971,6 +971,7 @@ Exit: // PERF_END (0, "BdsTimeOut", "BDS", 0); Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID **) &ConsoleControl); - ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText); - + if (Status == EFI_SUCCESS) { + ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText); + } } -- cgit v1.2.3