ReactOS Portable Systems Group c47af2fcdf Don't allow code to access the PFN database directly -- instead, always go through MiGetPfnEntry to have a controlled path.
Add assertions to this function, to make sure PFN access is always valid (previous code would sometimes KEBUGCHECK(0) without a real explenation if such cases were encounted -- but developers randomly chose which functions would be protected).
Also, since PFNs are 0-based, do allow Pfn == MmPageArraySize if someone is reading the last PFN on the system.
Finally, protect some of the functions which were accessing the PFN entries outside the PFN list lock.

svn path=/trunk/; revision=32365
2008-02-14 21:19:30 +00:00
2008-02-11 11:29:54 +00:00
2008-02-10 13:22:36 +00:00
Description
A free Windows-compatible Operating System 免费的Windows兼容操作系统
1.2 GiB
Languages
C 86.5%
C++ 10.6%
Python 0.8%
Assembly 0.5%
CMake 0.5%
Other 0.8%