X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UefiCpuPkg%2FCpuIo2Smm%2FCpuIo2Smm.c;h=20b8350fe4a4e189a80dd64b05bd8de65af8cc73;hb=8491e302e1450db96822838a83c283962c6a35f7;hp=7b1ad37515ce0452c20e48b90f15d1099c1e12c6;hpb=3d78c020d22023d35d27b48817d73ff31a361ac7;p=mirror_edk2.git diff --git a/UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c b/UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c index 7b1ad37515..20b8350fe4 100644 --- a/UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c +++ b/UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c @@ -1,7 +1,7 @@ /** @file Produces the SMM CPU I/O Protocol. -Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -126,7 +126,7 @@ CpuIoCheckParameter ( // // Check to see if Address is aligned // - if ((Address & (UINT64)(mStride[Width] - 1)) != 0) { + if ((Address & ((UINT64)mStride[Width] - 1)) != 0) { return EFI_UNSUPPORTED; }