mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 13:21:21 +00:00
- Fixed the calculation of the TopAddress in MmFindGapTopDown.
svn path=/trunk/; revision=4733
This commit is contained in:
parent
562eeb5ceb
commit
aa2f971da2
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ PVOID MmFindGapTopDown(PMADDRESS_SPACE AddressSpace, ULONG Length)
|
||||||
DPRINT("Found gap at %p\n", TopAddress - Length);
|
DPRINT("Found gap at %p\n", TopAddress - Length);
|
||||||
return(TopAddress - Length + 1);
|
return(TopAddress - Length + 1);
|
||||||
}
|
}
|
||||||
TopAddress = current->BaseAddress;
|
TopAddress = current->BaseAddress - 1;
|
||||||
}
|
}
|
||||||
current_entry = current_entry->Blink;
|
current_entry = current_entry->Blink;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue