mirror of https://github.com/acidanthera/audk.git
CorebootModulePkg: Fix build failure with 32-bit NOOPT target
Fix build failure with 32-bit NOOPT target by replacing direct shift of 64-bit integer with a function call. Otherwise Microsoft tool chains will generate a call to function __allshl and fail to link. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Maurice Ma <maurice.ma@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17142 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e56e187044
commit
5451fff49c
|
@ -28,7 +28,7 @@
|
|||
|
||||
static UINT64 cb_unpack64(struct cbuint64 val)
|
||||
{
|
||||
return (((UINT64) val.hi) << 32) | val.lo;
|
||||
return LShiftU64 (val.hi, 32) | val.lo;
|
||||
}
|
||||
|
||||
static const char *cb_mb_vendor_string(const struct cb_mainboard *cbm)
|
||||
|
|
Loading…
Reference in New Issue