mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
dougs fix for build
This commit is contained in:
parent
1c4bf2d702
commit
3998b1dfbf
1 changed files with 2 additions and 0 deletions
|
@ -239,7 +239,9 @@ MmAccessFault(IN ULONG FaultCode,
|
||||||
if (MmGetKernelAddressSpace())
|
if (MmGetKernelAddressSpace())
|
||||||
{
|
{
|
||||||
/* Check if this is an ARM3 memory area */
|
/* Check if this is an ARM3 memory area */
|
||||||
|
MmLockAddressSpace(MmGetKernelAddressSpace());
|
||||||
MemoryArea = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(), Address);
|
MemoryArea = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(), Address);
|
||||||
|
MmUnlockAddressSpace(MmGetKernelAddressSpace());
|
||||||
if (!(MemoryArea) && (Address <= MM_HIGHEST_USER_ADDRESS))
|
if (!(MemoryArea) && (Address <= MM_HIGHEST_USER_ADDRESS))
|
||||||
{
|
{
|
||||||
/* Could this be a VAD fault from user-mode? */
|
/* Could this be a VAD fault from user-mode? */
|
||||||
|
|
Loading…
Reference in a new issue