]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MpInitLib/MpLib.h
UefiCpuPkg/MpInitLib: Add missing explicit PcdLib dependency
authorHao A Wu <hao.a.wu@intel.com>
Wed, 22 Apr 2020 06:50:24 +0000 (14:50 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 23 Apr 2020 08:48:54 +0000 (08:48 +0000)
commitd5339c04d7cd47c061ec146a7b062052e3dc56ca
tree933fa0c38bd4f7a366a327ef9299ed3a92b50451
parent3a3a3af4a29ee36b1db11842d40b74f2de892a35
UefiCpuPkg/MpInitLib: Add missing explicit PcdLib dependency

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2632

Both PEI and DXE instances of the MpInitLib are using PcdLib APIs, but
none of them list the dependency of the PcdLib in INF & header files.

This commit will explicitly add such dependency in .H and .INF files.

Test done:
Library level build pass for VS2015x86 tool chain

Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
UefiCpuPkg/Library/MpInitLib/MpLib.h
UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf