audk/MdeModulePkg/Bus/Usb/UsbBusDxe
erictian 6b4483cdbd MdeModulePkg: The patch eliminates two assumptions
1) XHCI host controller hw always provides more than 5 interrupters.
Now using interrupter 0 to accommodate all received events.
2) XHCI host controller hw always provides 32bytes context size.
Now it dynamically detect context size and construct it.

also solved several issues:
1) Divides 64byte width register access to two 32bit registers access because some XHCI chipsets cannot support a single 64bit access.
2) Remove halt host controller statement in UsbBusDriverBindingStop(). It has been done by host controller’s DriverBindingStop(). And XhciDriverBindingStop() need XHCI host controller is in running state because it need execute DISABLE_SLOT cmd to release h/w resource.

signed-off-by: erictian
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12785 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-25 08:08:54 +00:00
..
ComponentName.c Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
UsbBus.c MdeModulePkg: The patch eliminates two assumptions 2011-11-25 08:08:54 +00:00
UsbBus.h Clean up the private GUID definition in module Level. 2011-09-18 12:21:01 +00:00
UsbBusDxe.inf Add more status code in drivers. 2011-05-26 06:29:30 +00:00
UsbDesc.c Enabling usb3.0 XHCI support. 2011-08-23 14:36:33 +00:00
UsbDesc.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
UsbEnumer.c 1) remove wrong global variable usage because it will bring data corrupt if there are multiple XHCI host controllers. 2011-09-14 12:13:03 +00:00
UsbEnumer.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
UsbHub.c Coding style refinement. 2011-09-21 03:35:54 +00:00
UsbHub.h Enabling usb3.0 XHCI support. 2011-08-23 14:36:33 +00:00
UsbUtility.c MdeModulePkg/UsbBusDxe: Removed unused variable 2011-09-13 15:21:32 +00:00
UsbUtility.h Update the copyright notice format 2010-04-24 09:49:11 +00:00