diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-09 05:19:30 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-09 05:19:30 +0000 |
commit | 4efb2b4d92c902c820f866f0508667b565fbd52d (patch) | |
tree | 9916a51596cf754c52b25718995cdaf5ebcc9f7a /MdePkg/Library/PeiIoLibCpuIo | |
parent | f008fc323b7ea9bcb0e29a804611a3cc99149121 (diff) | |
download | edk2-platforms-4efb2b4d92c902c820f866f0508667b565fbd52d.tar.xz |
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
Diffstat (limited to 'MdePkg/Library/PeiIoLibCpuIo')
-rw-r--r-- | MdePkg/Library/PeiIoLibCpuIo/IoLib.c | 2 |
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);
}
|