mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:53:00 +00:00
(FORMATTING)
-Grrr, you stupid software svn path=/trunk/; revision=54367
This commit is contained in:
parent
0e2151927b
commit
90875550df
1 changed files with 85 additions and 88 deletions
|
@ -752,8 +752,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
if (MemoryArea->Type == MEMORY_AREA_VIRTUAL_MEMORY &&
|
||||
MemoryAreaLength >= RegionSize)
|
||||
{
|
||||
Status =
|
||||
MmAlterRegion(AddressSpace,
|
||||
Status = MmAlterRegion(AddressSpace,
|
||||
MemoryArea->StartingAddress,
|
||||
&MemoryArea->Data.VirtualMemoryData.RegionListHead,
|
||||
BaseAddress, RegionSize,
|
||||
|
@ -778,8 +777,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
/* Region list initialized? */
|
||||
if (MemoryArea->Data.SectionData.RegionListHead.Flink)
|
||||
{
|
||||
Status =
|
||||
MmAlterRegion(AddressSpace,
|
||||
Status = MmAlterRegion(AddressSpace,
|
||||
MemoryArea->StartingAddress,
|
||||
&MemoryArea->Data.SectionData.RegionListHead,
|
||||
BaseAddress, RegionSize,
|
||||
|
@ -1092,8 +1090,7 @@ NtFreeVirtualMemory(IN HANDLE ProcessHandle,
|
|||
goto unlock_deref_and_return;
|
||||
|
||||
case MEM_DECOMMIT:
|
||||
Status =
|
||||
MmAlterRegion(AddressSpace,
|
||||
Status = MmAlterRegion(AddressSpace,
|
||||
MemoryArea->StartingAddress,
|
||||
(MemoryArea->Type == MEMORY_AREA_SECTION_VIEW) ?
|
||||
&MemoryArea->Data.SectionData.RegionListHead :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue