Commit Graph

17 Commits

Author SHA1 Message Date
eric_tian a29a93b4bd revert the change on BdsConsole. when doing minimal boot, the ConsoleIn variable is used to store existing input device's device path. If the device can not be connected, its device path will be removed from ConsoleIn.
So due the usb hot plug feature, we should always connect USB host controller according to the consolein device provided by PlatformData file before entering frontpage. This way can avoid usb device can not work in frontpage phase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9207 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 02:39:56 +00:00
eric_tian 0c7517b92b remove a segment of code, in which it forces EHCI to be connected firstly before UHCI when ConOut variable contains such usb device path.
This code was used to tune performance in Edk. Due to EdkII has enhanced Ehci driver to force it to be connected before UHCI, then the same logic is not necessary. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9030 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 06:30:00 +00:00
eric_tian 5f52bc92fe remove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have been defined in IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8993 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:11:49 +00:00
vanjeff d2eec31912 enhanced check when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8859 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 05:03:24 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
klu2 9260b9151b Use INTN to case the result of subtract
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8647 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:50:36 +00:00
klu2 775a9b19c6 Add NULL checking for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8645 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:04:45 +00:00
klu2 f0a3b1a221 Add more checking to avoid the buffer overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8626 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 08:42:38 +00:00
vanjeff 2bf3421a0c add type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8159 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:55:50 +00:00
vanjeff 88f2bdb51d fixed overflow issue when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8084 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:03:28 +00:00
vanjeff 406ddad31b 1. Update the CRC32 in the EFI System Table header in BdsConsole.c
2. Removed duplicated installation for Simple Text Output protocol on ErrHandle.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8031 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:42:15 +00:00
vanjeff 5d7c160908 clean console control protocol in bds module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7915 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-20 09:25:28 +00:00
vanjeff dad608335f 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
2009-03-10 03:10:15 +00:00
qhuang8 0682583aba remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7765 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:25:00 +00:00
klu2 7ad5a8f0f8 Correct include path for linux building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7764 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:22:04 +00:00
qhuang8 4354ec05fa Remove bmp.h and shellFile.h from MdeModulePkg to IntelFrameworkpkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7754 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:05:31 +00:00
klu2 5c08e11737 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7354 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:24:55 +00:00