summaryrefslogtreecommitdiff
path: root/DuetPkg/Library
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-05 06:50:12 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-05 06:50:12 +0000
commitbe768885bfe481e6f0b89a5b0b6bccf357b2a8e5 (patch)
tree43a1092fc7576cc9a84385fe4e71b44ceb5b168d /DuetPkg/Library
parent10590588cce553a3d8d304974982845682cbce5b (diff)
downloadedk2-platforms-be768885bfe481e6f0b89a5b0b6bccf357b2a8e5.tar.xz
Fix many bugs in DUET package and now DUET package is enabled for floppy successful.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5158 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/Library')
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index f73f824f2d..c927d13eec 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -755,7 +755,7 @@ Returns:
{
EFI_STATUS Status;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
-
+
DevicePath = NULL;
Status = gBS->HandleProtocol (
DeviceHandle,
@@ -932,6 +932,7 @@ Returns:
&gEfiGlobalVariableGuid,
&DevicePathSize
);
+
if (VarConout == NULL || VarConin == NULL) {
//
// Do platform specific PCI Device check and add them to ConOut, ConIn, ErrOut