audk/MdeModulePkg/Bus/Pci/EhciDxe
Laszlo Ersek b48ec0e8ab MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse()
The EhcReset(), EhcGetRootHubPortStatus() and EhcDriverBindingStart()
functions need to see whether the host controller (or a specific port on
the host controller) can be accessed, dependent on the controller having
(or the specific port being) an in-use debug port. Because the condition
isn't simple, extract it to a separate function.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Suggested-by: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-09-06 14:07:50 +02:00
..
ComponentName.c MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ComponentName.h 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
Ehci.c MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse() 2018-09-06 14:07:50 +02:00
Ehci.h MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse() 2018-09-06 14:07:50 +02:00
EhciDebug.c MdeModulePkg EhciDxe: Remove redundant functions 2018-08-21 16:28:55 +08:00
EhciDebug.h MdeModulePkg EhciDxe: Remove redundant functions 2018-08-21 16:28:55 +08:00
EhciDxe.inf MdeModulePkg: Removing ipf which is no longer supported from edk2. 2018-09-06 15:25:16 +08:00
EhciDxe.uni MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EhciDxeExtra.uni MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EhciReg.c MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse() 2018-09-06 14:07:50 +02:00
EhciReg.h MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse() 2018-09-06 14:07:50 +02:00
EhciSched.c MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EhciSched.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
EhciUrb.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
EhciUrb.h Update the copyright notice format 2010-04-24 09:49:11 +00:00
UsbHcMem.c MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
UsbHcMem.h Update the copyright notice format 2010-04-24 09:49:11 +00:00