Author: tkreuzer
Date: Sun Jul 27 03:03:19 2008
New Revision: 34827
URL:
http://svn.reactos.org/svn/reactos?rev=34827&view=rev
Log:
fix parameters of NtAllocateVirtualMemory and NtFreeVirtualMemory, compile anonmem.c,
update stubs file
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/amd64stubs.c
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/anonmem.c
branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl-generic.rbuild
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/amd64stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/amd64stubs.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/amd64stubs.c [iso-8859-1] Sun Jul 27
03:03:19 2008
@@ -15,7 +15,6 @@
STUB(NtAdjustGroupsToken)
STUB(NtAdjustPrivilegesToken)
STUB(NtAllocateUserPhysicalPages)
-STUB(NtAllocateVirtualMemory)
STUB(NtAreMappedFilesTheSame)
STUB(MmUserProbeAddress)
STUB(MmSizeOfMdl)
@@ -68,7 +67,6 @@
STUB(NtCreateIoCompletion)
STUB(NtEnumerateSystemEnvironmentValuesEx)
STUB(NtFlushVirtualMemory)
-STUB(NtFreeVirtualMemory)
STUB(NtGetWriteWatch)
STUB(NtImpersonateAnonymousToken)
STUB(NtLockVirtualMemory)
@@ -196,7 +194,6 @@
STUB(_ExEventObjectType)
STUB(MmCreateHyperspaceMapping)
STUB(MmDeleteHyperspaceMapping)
-STUB(MmFreeVirtualMemory)
STUB(MmCreateVirtualMapping)
STUB(MmRawDeleteVirtualMapping)
STUB(MmIsPageSwapEntry)
@@ -208,7 +205,6 @@
STUB(MmSetDirtyPage)
STUB(MmSetCleanPage)
STUB(MmPageOutSectionView)
-STUB(MmPageOutVirtualMemory)
STUB(MmAllocateSection)
STUB(MmDeleteVirtualMapping)
STUB(ExSystemLookasideListHead)
@@ -217,7 +213,6 @@
STUB(ExTimerRundown)
STUB(KeConnectInterrupt)
STUB(MmWritePageSectionView)
-STUB(MmWritePageVirtualMemory)
STUB(ExInitializeSystemLookasideList)
STUB(KeRaiseUserException)
STUB(PsIsThreadTerminating)
@@ -570,3 +565,9 @@
STUB(KeBugCheck)
STUB(MmMapIoSpace)
STUB(MmUnmapIoSpace)
+STUB(MmFindRegion)
+STUB(MmAlterRegion)
+STUB(MmInitializeRegion)
+STUB(MmDisableVirtualMapping)
+STUB(MmCreatePageFileMapping)
+STUB(MmEnableVirtualMapping)
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/anonmem.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Sun Jul 27
03:03:19 2008
@@ -518,7 +518,7 @@
NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
IN OUT PVOID* UBaseAddress,
IN ULONG ZeroBits,
- IN OUT PULONG URegionSize,
+ IN OUT PSIZE_T URegionSize,
IN ULONG AllocationType,
IN ULONG Protect)
/*
@@ -895,7 +895,7 @@
NTSTATUS STDCALL
NtFreeVirtualMemory(IN HANDLE ProcessHandle,
IN PVOID* PBaseAddress,
- IN PULONG PRegionSize,
+ IN PSIZE_T PRegionSize,
IN ULONG FreeType)
/*
* FUNCTION: Frees a range of virtual memory
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] Sun
Jul 27 03:03:19 2008
@@ -358,7 +358,7 @@
<file>page.c</file>
</directory>
</if>
- <!-- file>anonmem.c</file -->
+ <file>anonmem.c</file>
<file>aspace.c</file>
<file>balance.c</file>
<!-- file>cont.c</file -->