[ros-kernel] memory manager

Casper Hornstrup chorns at users.sourceforge.net
Sat Apr 10 17:28:34 CEST 2004


I hope you mean you want to run indent and commit the result as an independent change.


  _____  

From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Gunnar Dalsnes
Sent: 10. april 2004 16:16
To: ros-kernel at reactos.com
Subject: [ros-kernel] memory manager


While doing some mdl cleanup/fixes i got really annoyed about the memory manager describes physical pages using a
PHYSICAL_ADDRESS/LARGE_INTEGER containing the physical _address_ of a page, when all the info we really need is the 20bit page
_number_ which fits just fine into a ULONG. If noone objects i will change this and at the same time run indent on all files within
\mm.
 
And I have a few questions:
MmGetPhysicalAddress seem to return the _base_ physical address, regardless of the page offset of the virtual address passed to it.
I wonder if this is wrong?
 
Why do we have three MmGetPageEntry functions? (MmGetPageEntry, MmGetPageEntry1 and MmGetPageEntry2) And does anyone know the
difference between them?
 
More to come....
 
-Gunnar
 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://reactos.com:8080/pipermail/ros-kernel/attachments/20040410/09b2cb82/attachment.htm


More information about the Ros-kernel mailing list