]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg UefiPxeBcDxe: Fix build error for lastest VS2015 compiler
authorHao Wu <hao.a.wu@intel.com>
Thu, 21 Jul 2016 03:20:26 +0000 (11:20 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 26 Jul 2016 05:44:01 +0000 (13:44 +0800)
commitb4815479d6cab7fb9edf222a11e58a3721863a4c
tree4c3f3af9448b7ba60e19e76497e1a6b95f79c9c5
parent689c9d975d273eeae6fdcebe042577ccf1e5e6f7
NetworkPkg UefiPxeBcDxe: Fix build error for lastest VS2015 compiler

The UefiPxeBcDxe module encounters a build error for IA32 arch using the
latest version of VS2015:

UefiPxeBcDxe.lib(PxeBcBoot.obj) : error LNK2001: unresolved external
symbol __allmul

The cause is line 148 in file NetworkPkg\UefiPxeBcDxe\PxeBcBoot.c. The
third parameter for gBS->SetTimer() function is of type UINT64, so the
multiplication should use the MultU64x32() function now.

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c