diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-09-05 19:06:19 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-09-06 14:07:50 +0200 |
commit | b48ec0e8ab1c881ea584ed76d2da0bac09db38ef (patch) | |
tree | b4093023fd9d7ebf8e74ac290a0f18da676b6a01 /BaseTools/Source/Python/Common/BuildVersion.py | |
parent | 22cf747fcf75dbfe51e5524ce1f9cf17b19914cd (diff) | |
download | edk2-b48ec0e8ab1c881ea584ed76d2da0bac09db38ef.tar.gz edk2-b48ec0e8ab1c881ea584ed76d2da0bac09db38ef.tar.bz2 edk2-b48ec0e8ab1c881ea584ed76d2da0bac09db38ef.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/BuildVersion.py')
0 files changed, 0 insertions, 0 deletions