diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-22 10:14:05 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-25 11:05:59 +0800 |
commit | 71685387a83cbdf07d2c7babafda7cf08640902f (patch) | |
tree | 337b3275973012ff969c1abfaa0f6a42bab9e5b5 /BaseTools/Scripts/ConvertUni.py | |
parent | 71eeaf1961ccb2bae3b3b2c9af4e9ff68f867405 (diff) | |
download | edk2-platforms-71685387a83cbdf07d2c7babafda7cf08640902f.tar.xz |
ShellPkg/LoadPciRom: Fix the ConnectAll() implementation
Old implementation depends on UefiHandleParsingLib and uses
incorrect Index to get handle type.
The simplest ConnectAll() implementation can be just to
locate all handles and call BS.ConnectController() for each
of them recursively. BS.ConnectController() does nothing
to the image handle. Such implementation is borrowed from
BDS core implementation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
(cherry picked from commit fc41b97f128a0c7f28a9cc250e629a0ad2262ac8)
Diffstat (limited to 'BaseTools/Scripts/ConvertUni.py')
0 files changed, 0 insertions, 0 deletions