summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-09 05:19:30 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-09 05:19:30 +0000
commit4efb2b4d92c902c820f866f0508667b565fbd52d (patch)
tree9916a51596cf754c52b25718995cdaf5ebcc9f7a
parentf008fc323b7ea9bcb0e29a804611a3cc99149121 (diff)
downloadedk2-4efb2b4d92c902c820f866f0508667b565fbd52d.tar.gz
edk2-4efb2b4d92c902c820f866f0508667b565fbd52d.tar.bz2
edk2-4efb2b4d92c902c820f866f0508667b565fbd52d.zip
Fix the wrong fixing for hardcore value 7.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5857 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/PeiIoLibCpuIo/IoLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c
index e047ffa639..066ceddbfb 100644
--- a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c
+++ b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c
@@ -521,7 +521,7 @@ MmioRead64 (
//
// Make sure Address is aligned on a 64-bit boundary.
//
- ASSERT ((Address & 7) == (sizeof (UINT64) - 1));
+ ASSERT ((Address & (sizeof (UINT64) - 1)) == 0);
return CpuIo->MemRead64 (PeiServices, CpuIo, (UINT64) Address);
}