]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix the wrong fixing for hardcore value 7.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Sep 2008 05:19:30 +0000 (05:19 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Sep 2008 05:19:30 +0000 (05:19 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5857 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/PeiIoLibCpuIo/IoLib.c

index e047ffa639fea2980e70210c1e9dd9b4ac43cbb9..066ceddbfb339b96c1476d4296bae87d4fa8bd08 100644 (file)
@@ -521,7 +521,7 @@ MmioRead64 (
   //\r
   // Make sure Address is aligned on a 64-bit boundary.\r
   //\r
-  ASSERT ((Address & 7) == (sizeof (UINT64) - 1));\r
+  ASSERT ((Address & (sizeof (UINT64) - 1)) == 0);\r
   return CpuIo->MemRead64 (PeiServices, CpuIo, (UINT64) Address);\r
 \r
 }\r