MdeModulePkg: use LShiftU64() instead of "<<" to avoid IA32 build error.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -554,7 +554,7 @@ CoreAddMemoryDescriptor (
|
||||
CoreReleaseMemoryLock ();
|
||||
|
||||
ApplyMemoryProtectionPolicy (EfiMaxMemoryType, Type, Start,
|
||||
EFI_PAGES_TO_SIZE (NumberOfPages));
|
||||
LShiftU64 (NumberOfPages, EFI_PAGE_SHIFT));
|
||||
|
||||
//
|
||||
// If Loading Module At Fixed Address feature is enabled. try to allocate memory with Runtime code & Boot time code type
|
||||
|
Reference in New Issue
Block a user