diff options
author | Zhi Jin <zhi.jin@intel.com> | 2024-01-15 16:56:44 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-06 17:54:53 +0000 |
commit | 959f71c801b447186413532166d3fb2ad9a590da (patch) | |
tree | 036c234cfc5ea6439eb74591079cc14c70bc05b2 /NetworkPkg/Test | |
parent | 9eddbab65042259beb1a75ccdf724996eab9660d (diff) | |
download | edk2-959f71c801b447186413532166d3fb2ad9a590da.zip edk2-959f71c801b447186413532166d3fb2ad9a590da.tar.gz edk2-959f71c801b447186413532166d3fb2ad9a590da.tar.bz2 |
MdeModulePkg: Optimize CoreConnectSingleController
CoreConnectSingleController() searches for the Driver Family Override
Protocol drivers by looping and checking each Driver Binding Handles.
This loop can be skipped by checking if any Driver Family Override
Protocol installed in the platform first, to improve the performance.
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Zhi Jin <zhi.jin@intel.com>
Diffstat (limited to 'NetworkPkg/Test')
0 files changed, 0 insertions, 0 deletions