EmulatorPkg: Fix Visual Studio build for IA32 & X64
This code is untested since there is currently no 'host' component for Win32/Win64. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13633 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
Bridge I/O Protocol.
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
Portions copyright (c) 2011, Apple Inc. All rights reserved.
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -315,7 +315,7 @@ CpuIoCheckAddressRange (
|
||||
}
|
||||
|
||||
Width = Width & 0x03;
|
||||
if (Address - 1 + (1 << Width) * Count > Limit) {
|
||||
if ((Address - 1 + LShiftU64 (Count, Width)) > Limit) {
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user