summaryrefslogtreecommitdiff
path: root/BaseTools/Tests
diff options
context:
space:
mode:
authorLiu, Zhiguang <Zhiguang.Liu@intel.com>2022-05-12 18:54:57 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-13 01:47:11 +0000
commitd0efa681b6adab459acf762290397c0d4a26ed2a (patch)
treea643f867e73b9b891e557602d9846a7a6d2b2713 /BaseTools/Tests
parent17702186b56209842e002235c29ffec5ed69745a (diff)
downloadedk2-d0efa681b6adab459acf762290397c0d4a26ed2a.zip
edk2-d0efa681b6adab459acf762290397c0d4a26ed2a.tar.gz
edk2-d0efa681b6adab459acf762290397c0d4a26ed2a.tar.bz2
UefiPayloadPkg: Simplify code logic
A little overdesign about VisitAllPciInstances function, since there are two call back functions. Simplify the code logic by combining the two call back functions, and unused parameters. Change the PROTOCOL_INSTANCE_CALLBACK to SIMPLE_PROTOCOL_INSTANCE_CALLBACK because the former is also defined in OvmfPkg. Rename it to avoid confusion. Reviewed-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'BaseTools/Tests')
0 files changed, 0 insertions, 0 deletions