diff options
author | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-31 07:18:41 +0000 |
---|---|---|
committer | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-31 07:18:41 +0000 |
commit | a8b194b97cd4d0cd46ce9880293c4500bd841fc1 (patch) | |
tree | 2946b896350c071dad8e53ee9ae3d32f197fb20e /EdkUnixPkg/Library/EdkGenericBdsLib | |
parent | 03a053669fdbd4bc49f336a8d29d059ec181db35 (diff) | |
download | edk2-platforms-a8b194b97cd4d0cd46ce9880293c4500bd841fc1.tar.xz |
1. PEI core needs to check image machine type
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Library/EdkGenericBdsLib')
-rw-r--r-- | EdkUnixPkg/Library/EdkGenericBdsLib/BdsConsole.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/EdkUnixPkg/Library/EdkGenericBdsLib/BdsConsole.c b/EdkUnixPkg/Library/EdkGenericBdsLib/BdsConsole.c index 6c9097f142..47a79ff34e 100644 --- a/EdkUnixPkg/Library/EdkGenericBdsLib/BdsConsole.c +++ b/EdkUnixPkg/Library/EdkGenericBdsLib/BdsConsole.c @@ -367,11 +367,18 @@ Returns: //
// Connect all default console variables
//
- Status = BdsLibConnectConsoleVariable (L"ConIn");
- if (EFI_ERROR (Status)) {
- return Status;
- }
+ //
+ // Because possibly the platform is legacy free, in such case,
+ // ConIn devices (Serial Port and PS2 Keyboard ) does not exist,
+ // so we need not check the status.
+ //
+ BdsLibConnectConsoleVariable (L"ConIn");
+
+ //
+ // It seems impossible not to have any ConOut device on platform,
+ // so we check the status here.
+ //
Status = BdsLibConnectConsoleVariable (L"ConOut");
if (EFI_ERROR (Status)) {
return Status;
|