Revision: 14645
          http://sourceforge.net/p/edk2/code/14645
Author:   vanjeff
Date:     2013-09-10 08:52:02 +0000 (Tue, 10 Sep 2013)
Log Message:
-----------
Sync patch r14498 from main trunk.
Fix PciHostBridge driver to return success for EfiPciHostBridgeEndEnumeration 
to fix OVMF boot no display issue.

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/14498

Modified Paths:
--------------
    branches/UDK2010.SR1/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c

Modified: branches/UDK2010.SR1/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c
===================================================================
--- branches/UDK2010.SR1/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c        
2013-09-10 08:51:18 UTC (rev 14644)
+++ branches/UDK2010.SR1/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c        
2013-09-10 08:52:02 UTC (rev 14645)
@@ -1,7 +1,7 @@
 /** @file
   Provides the basic interfaces to abstract a PCI Host Bridge Resource 
Allocation
 
-Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials are
 licensed and made available under the terms and conditions of the BSD License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -268,12 +268,14 @@
     }  
     break;
 
+  case EfiPciHostBridgeEndEnumeration:
+    break;
+
   case EfiPciHostBridgeBeginBusAllocation:
     //
     // No specific action is required here, can perform any chipset specific 
programing
     //
     HostBridgeInstance->CanRestarted = FALSE;
-    return EFI_SUCCESS;
     break;
 
   case EfiPciHostBridgeEndBusAllocation:
@@ -281,7 +283,6 @@
     // No specific action is required here, can perform any chipset specific 
programing
     //
     //HostBridgeInstance->CanRestarted = FALSE;
-    return EFI_SUCCESS;
     break;
 
   case EfiPciHostBridgeBeginResourceAllocation:
@@ -289,7 +290,6 @@
     // No specific action is required here, can perform any chipset specific 
programing
     //
     //HostBridgeInstance->CanRestarted = FALSE;
-    return EFI_SUCCESS;
     break;
 
   case EfiPciHostBridgeAllocateResources:
@@ -459,7 +459,6 @@
     HostBridgeInstance->ResourceSubmited = FALSE;
     HostBridgeInstance->CanRestarted     = TRUE;      
     return ReturnStatus;
-    break;
 
   case EfiPciHostBridgeEndResourceAllocation:
     HostBridgeInstance->CanRestarted = FALSE;
@@ -467,7 +466,7 @@
 
   default:
     return EFI_INVALID_PARAMETER;
-  }; // end switch
+  }
   
   return EFI_SUCCESS;  
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to