diff --git a/reactos/ntoskrnl/mm/anonmem.c b/reactos/ntoskrnl/mm/anonmem.c index 3e0a00dd194..e8ce46c1e00 100644 --- a/reactos/ntoskrnl/mm/anonmem.c +++ b/reactos/ntoskrnl/mm/anonmem.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: anonmem.c,v 1.15 2003/06/19 19:01:01 gvg Exp $ +/* $Id: anonmem.c,v 1.16 2003/07/10 21:05:03 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/anonmem.c @@ -508,6 +508,9 @@ MmModifyAttributes(PMADDRESS_SPACE AddressSpace, } } +/* + * @implemented + */ NTSTATUS STDCALL NtAllocateVirtualMemory(IN HANDLE ProcessHandle, IN OUT PVOID* UBaseAddress, @@ -861,6 +864,9 @@ MmProtectAnonMem(PMADDRESS_SPACE AddressSpace, return(Status); } +/* + * @implemented + */ NTSTATUS STDCALL MmQueryAnonMem(PMEMORY_AREA MemoryArea, PVOID Address, diff --git a/reactos/ntoskrnl/mm/aspace.c b/reactos/ntoskrnl/mm/aspace.c index 118fbf2f064..80cbf9d6e36 100644 --- a/reactos/ntoskrnl/mm/aspace.c +++ b/reactos/ntoskrnl/mm/aspace.c @@ -1,4 +1,4 @@ -/* $Id: aspace.c,v 1.13 2002/09/08 10:23:32 chorns Exp $ +/* $Id: aspace.c,v 1.14 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -107,3 +107,5 @@ MmDestroyAddressSpace(PMADDRESS_SPACE AddressSpace) } return(STATUS_SUCCESS); } + +/* EOF */ diff --git a/reactos/ntoskrnl/mm/balance.c b/reactos/ntoskrnl/mm/balance.c index ef1a2d19839..a3f1646ddfc 100644 --- a/reactos/ntoskrnl/mm/balance.c +++ b/reactos/ntoskrnl/mm/balance.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: balance.c,v 1.16 2003/06/14 17:53:25 hbirr Exp $ +/* $Id: balance.c,v 1.17 2003/07/10 21:05:03 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/balance.c @@ -292,3 +292,5 @@ MmRequestPageMemoryConsumer(ULONG Consumer, BOOLEAN CanWait, return(STATUS_SUCCESS); } + +/* EOF */ diff --git a/reactos/ntoskrnl/mm/cont.c b/reactos/ntoskrnl/mm/cont.c index 6df76509b75..fa4214794b3 100644 --- a/reactos/ntoskrnl/mm/cont.c +++ b/reactos/ntoskrnl/mm/cont.c @@ -1,4 +1,4 @@ -/* $Id: cont.c,v 1.26 2003/05/17 15:28:58 ekohl Exp $ +/* $Id: cont.c,v 1.27 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -31,6 +31,9 @@ MmFreeContinuousPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address, } } +/* + * @implemented + */ PVOID STDCALL MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress, @@ -109,6 +112,7 @@ MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes, * * REVISIONS * + * @implemented */ PVOID STDCALL MmAllocateContiguousMemory (IN ULONG NumberOfBytes, @@ -141,6 +145,7 @@ MmAllocateContiguousMemory (IN ULONG NumberOfBytes, * * REVISIONS * + * @implemented */ VOID STDCALL MmFreeContiguousMemory(IN PVOID BaseAddress) @@ -154,5 +159,4 @@ MmFreeContiguousMemory(IN PVOID BaseAddress) MmUnlockAddressSpace(MmGetKernelAddressSpace()); } - /* EOF */ diff --git a/reactos/ntoskrnl/mm/drvlck.c b/reactos/ntoskrnl/mm/drvlck.c index a9ecd534550..c9e7367d0a9 100644 --- a/reactos/ntoskrnl/mm/drvlck.c +++ b/reactos/ntoskrnl/mm/drvlck.c @@ -1,4 +1,4 @@ -/* $Id: drvlck.c,v 1.3 2002/09/08 10:23:32 chorns Exp $ +/* $Id: drvlck.c,v 1.4 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -36,6 +36,9 @@ MmUnlockPagableImageSection(IN PVOID ImageSectionHandle) #endif +/* + * @unimplemented + */ VOID STDCALL MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle) { @@ -56,6 +59,9 @@ MmLockPagableCodeSection(IN PVOID AddressWithinSection) #endif +/* + * @implemented + */ PVOID STDCALL MmLockPagableDataSection(IN PVOID AddressWithinSection) { @@ -66,18 +72,27 @@ MmLockPagableDataSection(IN PVOID AddressWithinSection) } +/* + * @unimplemented + */ VOID STDCALL MmUnlockPagableImageSection(IN PVOID ImageSectionHandle) { } +/* + * @unimplemented + */ VOID STDCALL MmPageEntireDriver(IN PVOID AddressWithinSection) { } +/* + * @unimplemented + */ VOID STDCALL MmResetDriverPaging(IN PVOID AddressWithinSection) { diff --git a/reactos/ntoskrnl/mm/freelist.c b/reactos/ntoskrnl/mm/freelist.c index cb7ea868c51..3c09c1bb969 100644 --- a/reactos/ntoskrnl/mm/freelist.c +++ b/reactos/ntoskrnl/mm/freelist.c @@ -966,3 +966,4 @@ NTSTATUS MmInitZeroPageThread(VOID) return(STATUS_SUCCESS); } +/* EOF */ diff --git a/reactos/ntoskrnl/mm/iospace.c b/reactos/ntoskrnl/mm/iospace.c index 848df0f6ec7..fe3a04a9e7d 100644 --- a/reactos/ntoskrnl/mm/iospace.c +++ b/reactos/ntoskrnl/mm/iospace.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: iospace.c,v 1.19 2003/06/21 14:30:42 gvg Exp $ +/* $Id: iospace.c,v 1.20 2003/07/10 21:05:03 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/iospace.c @@ -63,6 +63,7 @@ * * REVISIONS * + * @implemented */ PVOID STDCALL MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress, @@ -139,6 +140,7 @@ MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress, * * REVISIONS * + * @implemented */ VOID STDCALL MmUnmapIoSpace (IN PVOID BaseAddress, @@ -157,6 +159,8 @@ MmUnmapIoSpace (IN PVOID BaseAddress, /********************************************************************** * NAME EXPORTED * MmMapVideoDisplay@16 + * + * @implemented */ PVOID STDCALL MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress, @@ -167,6 +171,9 @@ MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress, } +/* + * @implemented + */ VOID STDCALL MmUnmapVideoDisplay (IN PVOID BaseAddress, IN ULONG NumberOfBytes) diff --git a/reactos/ntoskrnl/mm/mdl.c b/reactos/ntoskrnl/mm/mdl.c index 6068916bf94..78367d4c700 100644 --- a/reactos/ntoskrnl/mm/mdl.c +++ b/reactos/ntoskrnl/mm/mdl.c @@ -1,4 +1,4 @@ -/* $Id: mdl.c,v 1.51 2003/07/06 10:50:21 hbirr Exp $ +/* $Id: mdl.c,v 1.52 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -78,6 +78,9 @@ MmGetMdlPageAddress(PMDL Mdl, PVOID Offset) return((PVOID)MdlPages[((ULONG)Offset) / PAGE_SIZE]); } +/* + * @unimplemented + */ VOID STDCALL MmUnlockPages(PMDL Mdl) /* @@ -118,6 +121,9 @@ MmUnlockPages(PMDL Mdl) Mdl->MdlFlags = Mdl->MdlFlags & (~MDL_PAGES_LOCKED); } +/* + * @implemented + */ PVOID STDCALL MmMapLockedPages(PMDL Mdl, KPROCESSOR_MODE AccessMode) /* @@ -196,6 +202,9 @@ MmMapLockedPages(PMDL Mdl, KPROCESSOR_MODE AccessMode) return(Base + Mdl->ByteOffset); } +/* + * @implemented + */ VOID STDCALL MmUnmapLockedPages(PVOID BaseAddress, PMDL Mdl) /* @@ -268,6 +277,9 @@ MmBuildMdlFromPages(PMDL Mdl, PULONG Pages) } } +/* + * @unimplemented + */ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, KPROCESSOR_MODE AccessMode, LOCK_OPERATION Operation) @@ -369,6 +381,9 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, } +/* + * @implemented + */ ULONG STDCALL MmSizeOfMdl (PVOID Base, ULONG Length) /* @@ -387,6 +402,9 @@ ULONG STDCALL MmSizeOfMdl (PVOID Base, } +/* + * @implemented + */ VOID STDCALL MmBuildMdlForNonPagedPool (PMDL Mdl) /* @@ -409,6 +427,9 @@ MmBuildMdlForNonPagedPool (PMDL Mdl) } +/* + * @implemented + */ PMDL STDCALL MmCreateMdl (PMDL MemoryDescriptorList, PVOID Base, @@ -441,6 +462,9 @@ MmCreateMdl (PMDL MemoryDescriptorList, return(MemoryDescriptorList); } +/* + * @unimplemented + */ VOID STDCALL MmMapMemoryDumpMdl (PVOID Unknown0) /* diff --git a/reactos/ntoskrnl/mm/mm.c b/reactos/ntoskrnl/mm/mm.c index 88b63607649..12c226998f5 100644 --- a/reactos/ntoskrnl/mm/mm.c +++ b/reactos/ntoskrnl/mm/mm.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: mm.c,v 1.62 2003/06/16 19:20:28 hbirr Exp $ +/* $Id: mm.c,v 1.63 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top directory * PROJECT: ReactOS kernel @@ -116,12 +116,18 @@ NTSTATUS MmReleaseMmInfo(PEPROCESS Process) return(STATUS_SUCCESS); } +/* + * @unimplemented + */ BOOLEAN STDCALL MmIsNonPagedSystemAddressValid(PVOID VirtualAddress) { UNIMPLEMENTED; return FALSE; } +/* + * @implemented + */ BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress) /* * FUNCTION: Checks whether the given address is valid for a read or write @@ -152,6 +158,9 @@ BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress) return(TRUE); } +/* + * @implemented + */ NTSTATUS MmAccessFault(KPROCESSOR_MODE Mode, ULONG Address, BOOLEAN FromMdl) @@ -406,6 +415,9 @@ NTSTATUS MmNotPresentFault(KPROCESSOR_MODE Mode, /* Miscellanea functions: they may fit somewhere else */ +/* + * @unimplemented + */ DWORD STDCALL MmAdjustWorkingSetSize (DWORD Unknown0, DWORD Unknown1, @@ -416,6 +428,9 @@ MmAdjustWorkingSetSize (DWORD Unknown0, } +/* + * @unimplemented + */ DWORD STDCALL MmDbgTranslatePhysicalAddress ( @@ -428,6 +443,9 @@ MmDbgTranslatePhysicalAddress ( } +/* + * @unimplemented + */ NTSTATUS STDCALL MmGrowKernelStack ( @@ -439,6 +457,9 @@ MmGrowKernelStack ( } +/* + * @unimplemented + */ BOOLEAN STDCALL MmSetAddressRangeModified ( diff --git a/reactos/ntoskrnl/mm/mminit.c b/reactos/ntoskrnl/mm/mminit.c index 3d43e025efd..e25636edff1 100644 --- a/reactos/ntoskrnl/mm/mminit.c +++ b/reactos/ntoskrnl/mm/mminit.c @@ -1,4 +1,4 @@ -/* $Id: mminit.c,v 1.51 2003/07/06 10:34:32 hbirr Exp $ +/* $Id: mminit.c,v 1.52 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top directory * PROJECT: ReactOS kernel @@ -59,11 +59,17 @@ ULONG MiKernelMapLength; /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ BOOLEAN STDCALL MmIsThisAnNtAsSystem(VOID) { return(IsThisAnNtAsSystem); } +/* + * @implemented + */ MM_SYSTEM_SIZE STDCALL MmQuerySystemSize(VOID) { return(MmSystemSize); diff --git a/reactos/ntoskrnl/mm/mpw.c b/reactos/ntoskrnl/mm/mpw.c index 9542d5fd179..ac33fd6acb9 100644 --- a/reactos/ntoskrnl/mm/mpw.c +++ b/reactos/ntoskrnl/mm/mpw.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: mpw.c,v 1.12 2003/01/11 15:47:14 hbirr Exp $ +/* $Id: mpw.c,v 1.13 2003/07/10 21:05:03 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/mpw.c @@ -46,6 +46,9 @@ static volatile BOOLEAN MpwThreadShouldTerminate; /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL MmWriteDirtyPages(ULONG Target, PULONG Actual) { diff --git a/reactos/ntoskrnl/mm/ncache.c b/reactos/ntoskrnl/mm/ncache.c index 71bbf33ab3d..643ff3dd881 100644 --- a/reactos/ntoskrnl/mm/ncache.c +++ b/reactos/ntoskrnl/mm/ncache.c @@ -1,4 +1,4 @@ -/* $Id: ncache.c,v 1.24 2003/05/17 15:28:58 ekohl Exp $ +/* $Id: ncache.c,v 1.25 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -43,6 +43,7 @@ * * REVISIONS * + * @implemented */ PVOID STDCALL MmAllocateNonCachedMemory(IN ULONG NumberOfBytes) @@ -122,6 +123,7 @@ MmFreeNonCachedPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address, * * REVISIONS * + * @implemented */ VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress, IN ULONG NumberOfBytes) @@ -135,5 +137,4 @@ VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress, MmUnlockAddressSpace(MmGetKernelAddressSpace()); } - /* EOF */ diff --git a/reactos/ntoskrnl/mm/npool.c b/reactos/ntoskrnl/mm/npool.c index caf0f9ddab9..ec4e3ac3278 100644 --- a/reactos/ntoskrnl/mm/npool.c +++ b/reactos/ntoskrnl/mm/npool.c @@ -1,4 +1,4 @@ -/* $Id: npool.c,v 1.68 2003/07/06 07:36:56 hbirr Exp $ +/* $Id: npool.c,v 1.69 2003/07/10 21:05:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1455,6 +1455,9 @@ static void* grow_kernel_pool(unsigned int size, ULONG Tag, PVOID Caller) #endif /* not WHOLE_PAGE_ALLOCATIONS */ +/* + * @implemented + */ VOID STDCALL ExFreeNonPagedPool (PVOID block) /* * FUNCTION: Releases previously allocated memory @@ -1531,6 +1534,9 @@ VOID STDCALL ExFreeNonPagedPool (PVOID block) #endif /* WHOLE_PAGE_ALLOCATIONS */ } +/* + * @implemented + */ PVOID STDCALL ExAllocateNonPagedPoolWithTag(ULONG Type, ULONG Size, ULONG Tag, PVOID Caller) { @@ -1621,6 +1627,9 @@ ExAllocateNonPagedPoolWithTag(ULONG Type, ULONG Size, ULONG Tag, PVOID Caller) #ifdef WHOLE_PAGE_ALLOCATIONS +/* + * @implemented + */ PVOID STDCALL ExAllocateWholePageBlock(ULONG UserSize) { @@ -1653,6 +1662,9 @@ ExAllocateWholePageBlock(ULONG UserSize) return((PVOID)((ULONG)Address + (NrPages * PAGE_SIZE) - UserSize)); } +/* + * @implemented + */ VOID STDCALL ExFreeWholePageBlock(PVOID Addr) { diff --git a/reactos/ntoskrnl/mm/pagefile.c b/reactos/ntoskrnl/mm/pagefile.c index f8ac4979f95..46fd1bab2e5 100644 --- a/reactos/ntoskrnl/mm/pagefile.c +++ b/reactos/ntoskrnl/mm/pagefile.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: pagefile.c,v 1.30 2003/05/11 15:18:01 chorns Exp $ +/* $Id: pagefile.c,v 1.31 2003/07/10 21:05:03 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/pagefile.c @@ -560,6 +560,9 @@ MmDumpToPagingFile(ULONG BugCode, return(STATUS_SUCCESS); } +/* + * @implemented + */ NTSTATUS STDCALL NtCreatePagingFile(IN PUNICODE_STRING FileName, IN PLARGE_INTEGER InitialSize, @@ -850,12 +853,4 @@ NtCreatePagingFile(IN PUNICODE_STRING FileName, return(STATUS_SUCCESS); } - /* EOF */ - - - - - - - diff --git a/reactos/ntoskrnl/mm/pagfault.c b/reactos/ntoskrnl/mm/pagfault.c index b12b89dc7ee..1a247d29791 100644 --- a/reactos/ntoskrnl/mm/pagfault.c +++ b/reactos/ntoskrnl/mm/pagfault.c @@ -1,7 +1,10 @@ -/* $Id: pagfault.c,v 1.4 2002/09/08 10:23:36 chorns Exp $ */ +/* $Id: pagfault.c,v 1.5 2003/07/10 21:05:03 royce Exp $ */ #include #include +/* + * @implemented + */ BOOLEAN STDCALL MmIsRecursiveIoFault ( diff --git a/reactos/ntoskrnl/mm/pool.c b/reactos/ntoskrnl/mm/pool.c index eff1ccda196..103ab11222d 100644 --- a/reactos/ntoskrnl/mm/pool.c +++ b/reactos/ntoskrnl/mm/pool.c @@ -1,4 +1,4 @@ -/* $Id: pool.c,v 1.16 2003/01/16 17:56:00 ekohl Exp $ +/* $Id: pool.c,v 1.17 2003/07/10 21:05:04 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,6 +23,9 @@ /* FUNCTIONS ***************************************************************/ +/* + * @unimplemented + */ PVOID STDCALL STATIC EiAllocatePool(POOL_TYPE PoolType, ULONG NumberOfBytes, @@ -67,6 +70,9 @@ EiAllocatePool(POOL_TYPE PoolType, return(Block); } +/* + * @implemented + */ PVOID STDCALL ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes) /* @@ -100,6 +106,9 @@ ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes) } +/* + * @implemented + */ PVOID STDCALL ExAllocatePoolWithTag (ULONG PoolType, ULONG NumberOfBytes, ULONG Tag) { @@ -112,6 +121,9 @@ ExAllocatePoolWithTag (ULONG PoolType, ULONG NumberOfBytes, ULONG Tag) } +/* + * @implemented + */ PVOID STDCALL ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes) { @@ -119,6 +131,9 @@ ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes) } +/* + * @unimplemented + */ PVOID STDCALL ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType, IN ULONG NumberOfBytes, @@ -135,6 +150,9 @@ ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType, UNIMPLEMENTED; } +/* + * @implemented + */ VOID STDCALL ExFreePool(IN PVOID Block) { diff --git a/reactos/ntoskrnl/mm/ppool.c b/reactos/ntoskrnl/mm/ppool.c index 356bbc2096a..3bf5c99007a 100644 --- a/reactos/ntoskrnl/mm/ppool.c +++ b/reactos/ntoskrnl/mm/ppool.c @@ -1,4 +1,4 @@ -/* $Id: ppool.c,v 1.11 2002/09/08 10:23:36 chorns Exp $ +/* $Id: ppool.c,v 1.12 2003/07/10 21:05:04 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -60,6 +60,8 @@ VOID MmInitializePagedPool(VOID) * ARGUMENTS * * RETURN VALUE + * + * @implemented */ PVOID STDCALL ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType, @@ -188,6 +190,9 @@ ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType, return(BlockAddress); } +/* + * @implemented + */ VOID STDCALL ExFreePagedPool(IN PVOID Block) { diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index f2dd1f3df84..dc6cc2417ec 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: section.c,v 1.119 2003/06/27 21:28:30 hbirr Exp $ +/* $Id: section.c,v 1.120 2003/07/10 21:05:04 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/section.c @@ -1917,6 +1917,9 @@ MmProtectSectionView(PMADDRESS_SPACE AddressSpace, return(Status); } +/* + * @implemented + */ NTSTATUS STDCALL MmQuerySectionView(PMEMORY_AREA MemoryArea, PVOID Address, @@ -1951,6 +1954,9 @@ MmQuerySectionView(PMEMORY_AREA MemoryArea, return(STATUS_SUCCESS); } +/* + * @implemented + */ VOID STDCALL MmpDeleteSection(PVOID ObjectBody) { @@ -2836,6 +2842,9 @@ MmCreateImageSection(PHANDLE SectionHandle, return(STATUS_SUCCESS); } +/* + * @implemented + */ NTSTATUS STDCALL NtCreateSection (OUT PHANDLE SectionHandle, IN ACCESS_MASK DesiredAccess, @@ -2894,6 +2903,7 @@ NtCreateSection (OUT PHANDLE SectionHandle, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL NtOpenSection(PHANDLE SectionHandle, @@ -3012,6 +3022,8 @@ MmMapViewOfSegment(PEPROCESS Process, * * RETURN VALUE * Status. + * + * @implemented */ NTSTATUS STDCALL NtMapViewOfSection(HANDLE SectionHandle, @@ -3173,6 +3185,9 @@ MmFreeSectionPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address, } } +/* + * @implemented + */ NTSTATUS STDCALL MmUnmapViewOfSection(PEPROCESS Process, PVOID BaseAddress) @@ -3254,6 +3269,7 @@ MmUnmapViewOfSection(PEPROCESS Process, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL NtUnmapViewOfSection (HANDLE ProcessHandle, @@ -3288,6 +3304,9 @@ NtUnmapViewOfSection (HANDLE ProcessHandle, } +/* + * @implemented + */ NTSTATUS STDCALL NtQuerySection (IN HANDLE SectionHandle, IN CINT SectionInformationClass, @@ -3385,6 +3404,9 @@ NtQuerySection (IN HANDLE SectionHandle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtExtendSection(IN HANDLE SectionHandle, IN ULONG NewMaximumSize) @@ -3410,6 +3432,7 @@ NtExtendSection(IN HANDLE SectionHandle, * * REVISIONS * + * @implemented */ PVOID STDCALL MmAllocateSection (IN ULONG Length) @@ -3512,6 +3535,8 @@ MmAllocateSection (IN ULONG Length) * * RETURN VALUE * Status. + * + * @implemented */ NTSTATUS STDCALL MmMapViewOfSection(IN PVOID SectionObject, @@ -3666,6 +3691,9 @@ MmMapViewOfSection(IN PVOID SectionObject, return(STATUS_SUCCESS); } +/* + * @unimplemented + */ BOOLEAN STDCALL MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN PLARGE_INTEGER NewFileSize) @@ -3675,6 +3703,9 @@ MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, } +/* + * @unimplemented + */ BOOLEAN STDCALL MmDisableModifiedWriteOfSection (DWORD Unknown0) { @@ -3682,6 +3713,9 @@ MmDisableModifiedWriteOfSection (DWORD Unknown0) return (FALSE); } +/* + * @implemented + */ BOOLEAN STDCALL MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN MMFLUSH_TYPE FlushType) @@ -3702,6 +3736,9 @@ MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, return FALSE; } +/* + * @unimplemented + */ BOOLEAN STDCALL MmForceSectionClosed (DWORD Unknown0, DWORD Unknown1) @@ -3711,6 +3748,9 @@ MmForceSectionClosed (DWORD Unknown0, } +/* + * @implemented + */ NTSTATUS STDCALL MmMapViewInSystemSpace (IN PVOID SectionObject, OUT PVOID * MappedBase, @@ -3757,6 +3797,9 @@ MmMapViewInSystemSpace (IN PVOID SectionObject, } +/* + * @implemented + */ NTSTATUS STDCALL MmUnmapViewInSystemSpace (IN PVOID MappedBase) { @@ -3824,6 +3867,9 @@ MmUnmapViewInSystemSpace (IN PVOID MappedBase) } +/* + * @unimplemented + */ NTSTATUS STDCALL MmSetBankedSection (DWORD Unknown0, DWORD Unknown1, @@ -3889,6 +3935,8 @@ MmSetBankedSection (DWORD Unknown0, * * RETURN VALUE * Status. + * + * @unimplemented */ NTSTATUS STDCALL MmCreateSection (OUT PSECTION_OBJECT * SectionObject, diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index e3901cca9ea..af1b8fcc8f1 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: virtual.c,v 1.66 2003/06/19 17:13:28 gvg Exp $ +/* $Id: virtual.c,v 1.67 2003/07/10 21:05:04 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/virtual.c @@ -39,6 +39,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL NtFlushVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -58,6 +61,9 @@ NtFlushVirtualMemory(IN HANDLE ProcessHandle, UNIMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL NtLockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, @@ -67,6 +73,9 @@ NtLockVirtualMemory(HANDLE ProcessHandle, UNIMPLEMENTED; } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryVirtualMemory (IN HANDLE ProcessHandle, IN PVOID Address, @@ -160,6 +169,9 @@ NtQueryVirtualMemory (IN HANDLE ProcessHandle, return(Status); } +/* + * @implemented + */ NTSTATUS STDCALL NtProtectVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -225,6 +237,9 @@ NtProtectVirtualMemory(IN HANDLE ProcessHandle, return(Status); } +/* + * @implemented + */ NTSTATUS STDCALL NtReadVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -279,6 +294,9 @@ NtReadVirtualMemory(IN HANDLE ProcessHandle, return(STATUS_SUCCESS); } +/* + * @unimplemented + */ NTSTATUS STDCALL NtUnlockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, @@ -289,6 +307,9 @@ NtUnlockVirtualMemory(HANDLE ProcessHandle, } +/* + * @implemented + */ NTSTATUS STDCALL NtWriteVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -344,6 +365,9 @@ NtWriteVirtualMemory(IN HANDLE ProcessHandle, return(STATUS_SUCCESS); } +/* + * @unimplemented + */ PVOID STDCALL MmSecureVirtualMemory (PVOID Address, SIZE_T Length, @@ -361,6 +385,9 @@ MmSecureVirtualMemory (PVOID Address, } +/* + * @unimplemented + */ VOID STDCALL MmUnsecureVirtualMemory(PVOID SecureMem) {