mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
3a3a3af4a2
commit
d5339c04d7
|
@ -51,6 +51,7 @@
|
|||
UefiBootServicesTableLib
|
||||
DebugAgentLib
|
||||
SynchronizationLib
|
||||
PcdLib
|
||||
|
||||
[Protocols]
|
||||
gEfiTimerArchProtocolGuid ## SOMETIMES_CONSUMES
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <Library/SynchronizationLib.h>
|
||||
#include <Library/MtrrLib.h>
|
||||
#include <Library/HobLib.h>
|
||||
#include <Library/PcdLib.h>
|
||||
|
||||
#include <Guid/MicrocodePatchHob.h>
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
UefiCpuLib
|
||||
SynchronizationLib
|
||||
PeiServicesLib
|
||||
PcdLib
|
||||
|
||||
[Pcd]
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES
|
||||
|
|
Loading…
Reference in New Issue