mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Set the offset for a physical page in MmGetPhysicalAddress.
svn path=/trunk/; revision=9238
This commit is contained in:
parent
3c66806fb0
commit
a0588eb04b
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: page.c,v 1.64 2004/04/10 22:36:07 gdalsnes Exp $
|
||||
/* $Id: page.c,v 1.65 2004/04/28 20:46:03 hbirr Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/mm/i386/page.c
|
||||
|
@ -1356,6 +1356,7 @@ MmGetPhysicalAddress(PVOID vaddr)
|
|||
if (Pte & PA_PRESENT)
|
||||
{
|
||||
p.QuadPart = PAGE_MASK(Pte);
|
||||
p.u.LowPart |= (ULONG_PTR)vaddr & (PAGE_SIZE - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue