]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/RegisterCpuFeaturesLib: Fix build failure.
authorEric Dong <eric.dong@intel.com>
Tue, 30 Oct 2018 03:02:11 +0000 (11:02 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 31 Oct 2018 01:43:41 +0000 (09:43 +0800)
commitbeabfd5800515e0a51fc2461671514adc0cef584
tree2cc82ccdd7f45c25e2da64319590c6c68d6dd610
parent27b9cb33e7437f6aef184c6b2982d004d279cc04
UefiCpuPkg/RegisterCpuFeaturesLib: Fix build failure.

Build UefiCpuPkg with below configuration:
Architecture(s)  = IA32
Build target     = NOOPT
Toolchain        = VS2015x86

Below error info shows up:
DxeRegisterCpuFeaturesLib.lib(CpuFeaturesInitialize.obj) :
error LNK2001: unresolved external symbol __allmul

Valid mDependTypeStr type only have 5 items, use UINT32 type cast
to fix this error.

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c