From 4efb2b4d92c902c820f866f0508667b565fbd52d Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 9 Sep 2008 05:19:30 +0000 Subject: [PATCH] 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 --- MdePkg/Library/PeiIoLibCpuIo/IoLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2