Refine the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5729 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** @file
|
||||
I/O Library.
|
||||
I/O Library. The implementations are based on EFI_PEI_SERVICE->CpuIo interface.
|
||||
|
||||
Copyright (c) 2006, Intel Corporation<BR>
|
||||
All rights reserved. This program and the accompanying materials
|
||||
@@ -521,7 +521,7 @@ MmioRead64 (
|
||||
//
|
||||
// Make sure Address is aligned on a 64-bit boundary.
|
||||
//
|
||||
ASSERT ((Address & 7) == 0);
|
||||
ASSERT ((Address & 7) == (sizeof (UINT64) - 1));
|
||||
return CpuIo->MemRead64 (PeiServices, CpuIo, (UINT64) Address);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user