@implemented and @unimplemented comments for ntoskrnl/mm/*.c and also added a few missing /* EOF */ entries

svn path=/trunk/; revision=5054
This commit is contained in:
Royce Mitchell III 2003-07-10 21:05:04 +00:00
parent 5966683fda
commit 555bc8b89e
19 changed files with 228 additions and 28 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/anonmem.c * FILE: ntoskrnl/mm/anonmem.c
@ -508,6 +508,9 @@ MmModifyAttributes(PMADDRESS_SPACE AddressSpace,
} }
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtAllocateVirtualMemory(IN HANDLE ProcessHandle, NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
IN OUT PVOID* UBaseAddress, IN OUT PVOID* UBaseAddress,
@ -861,6 +864,9 @@ MmProtectAnonMem(PMADDRESS_SPACE AddressSpace,
return(Status); return(Status);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmQueryAnonMem(PMEMORY_AREA MemoryArea, MmQueryAnonMem(PMEMORY_AREA MemoryArea,
PVOID Address, PVOID Address,

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -107,3 +107,5 @@ MmDestroyAddressSpace(PMADDRESS_SPACE AddressSpace)
} }
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/* EOF */

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/balance.c * FILE: ntoskrnl/mm/balance.c
@ -292,3 +292,5 @@ MmRequestPageMemoryConsumer(ULONG Consumer, BOOLEAN CanWait,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/* EOF */

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -31,6 +31,9 @@ MmFreeContinuousPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
} }
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes, MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes,
IN PHYSICAL_ADDRESS HighestAcceptableAddress, IN PHYSICAL_ADDRESS HighestAcceptableAddress,
@ -109,6 +112,7 @@ MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
MmAllocateContiguousMemory (IN ULONG NumberOfBytes, MmAllocateContiguousMemory (IN ULONG NumberOfBytes,
@ -141,6 +145,7 @@ MmAllocateContiguousMemory (IN ULONG NumberOfBytes,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
VOID STDCALL VOID STDCALL
MmFreeContiguousMemory(IN PVOID BaseAddress) MmFreeContiguousMemory(IN PVOID BaseAddress)
@ -154,5 +159,4 @@ MmFreeContiguousMemory(IN PVOID BaseAddress)
MmUnlockAddressSpace(MmGetKernelAddressSpace()); MmUnlockAddressSpace(MmGetKernelAddressSpace());
} }
/* EOF */ /* EOF */

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -36,6 +36,9 @@ MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
#endif #endif
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle) MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
{ {
@ -56,6 +59,9 @@ MmLockPagableCodeSection(IN PVOID AddressWithinSection)
#endif #endif
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
MmLockPagableDataSection(IN PVOID AddressWithinSection) MmLockPagableDataSection(IN PVOID AddressWithinSection)
{ {
@ -66,18 +72,27 @@ MmLockPagableDataSection(IN PVOID AddressWithinSection)
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmUnlockPagableImageSection(IN PVOID ImageSectionHandle) MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
{ {
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmPageEntireDriver(IN PVOID AddressWithinSection) MmPageEntireDriver(IN PVOID AddressWithinSection)
{ {
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmResetDriverPaging(IN PVOID AddressWithinSection) MmResetDriverPaging(IN PVOID AddressWithinSection)
{ {

View file

@ -966,3 +966,4 @@ NTSTATUS MmInitZeroPageThread(VOID)
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/* EOF */

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/iospace.c * FILE: ntoskrnl/mm/iospace.c
@ -63,6 +63,7 @@
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress, MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress,
@ -139,6 +140,7 @@ MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
VOID STDCALL VOID STDCALL
MmUnmapIoSpace (IN PVOID BaseAddress, MmUnmapIoSpace (IN PVOID BaseAddress,
@ -157,6 +159,8 @@ MmUnmapIoSpace (IN PVOID BaseAddress,
/********************************************************************** /**********************************************************************
* NAME EXPORTED * NAME EXPORTED
* MmMapVideoDisplay@16 * MmMapVideoDisplay@16
*
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress, MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress,
@ -167,6 +171,9 @@ MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress,
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
MmUnmapVideoDisplay (IN PVOID BaseAddress, MmUnmapVideoDisplay (IN PVOID BaseAddress,
IN ULONG NumberOfBytes) IN ULONG NumberOfBytes)

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -78,6 +78,9 @@ MmGetMdlPageAddress(PMDL Mdl, PVOID Offset)
return((PVOID)MdlPages[((ULONG)Offset) / PAGE_SIZE]); return((PVOID)MdlPages[((ULONG)Offset) / PAGE_SIZE]);
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmUnlockPages(PMDL Mdl) MmUnlockPages(PMDL Mdl)
/* /*
@ -118,6 +121,9 @@ MmUnlockPages(PMDL Mdl)
Mdl->MdlFlags = Mdl->MdlFlags & (~MDL_PAGES_LOCKED); Mdl->MdlFlags = Mdl->MdlFlags & (~MDL_PAGES_LOCKED);
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
MmMapLockedPages(PMDL Mdl, KPROCESSOR_MODE AccessMode) MmMapLockedPages(PMDL Mdl, KPROCESSOR_MODE AccessMode)
/* /*
@ -196,6 +202,9 @@ MmMapLockedPages(PMDL Mdl, KPROCESSOR_MODE AccessMode)
return(Base + Mdl->ByteOffset); return(Base + Mdl->ByteOffset);
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
MmUnmapLockedPages(PVOID BaseAddress, PMDL Mdl) MmUnmapLockedPages(PVOID BaseAddress, PMDL Mdl)
/* /*
@ -268,6 +277,9 @@ MmBuildMdlFromPages(PMDL Mdl, PULONG Pages)
} }
} }
/*
* @unimplemented
*/
VOID STDCALL MmProbeAndLockPages (PMDL Mdl, VOID STDCALL MmProbeAndLockPages (PMDL Mdl,
KPROCESSOR_MODE AccessMode, KPROCESSOR_MODE AccessMode,
LOCK_OPERATION Operation) LOCK_OPERATION Operation)
@ -369,6 +381,9 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl,
} }
/*
* @implemented
*/
ULONG STDCALL MmSizeOfMdl (PVOID Base, ULONG STDCALL MmSizeOfMdl (PVOID Base,
ULONG Length) ULONG Length)
/* /*
@ -387,6 +402,9 @@ ULONG STDCALL MmSizeOfMdl (PVOID Base,
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
MmBuildMdlForNonPagedPool (PMDL Mdl) MmBuildMdlForNonPagedPool (PMDL Mdl)
/* /*
@ -409,6 +427,9 @@ MmBuildMdlForNonPagedPool (PMDL Mdl)
} }
/*
* @implemented
*/
PMDL STDCALL PMDL STDCALL
MmCreateMdl (PMDL MemoryDescriptorList, MmCreateMdl (PMDL MemoryDescriptorList,
PVOID Base, PVOID Base,
@ -441,6 +462,9 @@ MmCreateMdl (PMDL MemoryDescriptorList,
return(MemoryDescriptorList); return(MemoryDescriptorList);
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmMapMemoryDumpMdl (PVOID Unknown0) MmMapMemoryDumpMdl (PVOID Unknown0)
/* /*

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * COPYRIGHT: See COPYING in the top directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -116,12 +116,18 @@ NTSTATUS MmReleaseMmInfo(PEPROCESS Process)
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @unimplemented
*/
BOOLEAN STDCALL MmIsNonPagedSystemAddressValid(PVOID VirtualAddress) BOOLEAN STDCALL MmIsNonPagedSystemAddressValid(PVOID VirtualAddress)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return FALSE; return FALSE;
} }
/*
* @implemented
*/
BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress) BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress)
/* /*
* FUNCTION: Checks whether the given address is valid for a read or write * FUNCTION: Checks whether the given address is valid for a read or write
@ -152,6 +158,9 @@ BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress)
return(TRUE); return(TRUE);
} }
/*
* @implemented
*/
NTSTATUS MmAccessFault(KPROCESSOR_MODE Mode, NTSTATUS MmAccessFault(KPROCESSOR_MODE Mode,
ULONG Address, ULONG Address,
BOOLEAN FromMdl) BOOLEAN FromMdl)
@ -406,6 +415,9 @@ NTSTATUS MmNotPresentFault(KPROCESSOR_MODE Mode,
/* Miscellanea functions: they may fit somewhere else */ /* Miscellanea functions: they may fit somewhere else */
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
MmAdjustWorkingSetSize (DWORD Unknown0, MmAdjustWorkingSetSize (DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -416,6 +428,9 @@ MmAdjustWorkingSetSize (DWORD Unknown0,
} }
/*
* @unimplemented
*/
DWORD DWORD
STDCALL STDCALL
MmDbgTranslatePhysicalAddress ( MmDbgTranslatePhysicalAddress (
@ -428,6 +443,9 @@ MmDbgTranslatePhysicalAddress (
} }
/*
* @unimplemented
*/
NTSTATUS NTSTATUS
STDCALL STDCALL
MmGrowKernelStack ( MmGrowKernelStack (
@ -439,6 +457,9 @@ MmGrowKernelStack (
} }
/*
* @unimplemented
*/
BOOLEAN BOOLEAN
STDCALL STDCALL
MmSetAddressRangeModified ( MmSetAddressRangeModified (

View file

@ -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 * COPYRIGHT: See COPYING in the top directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -59,11 +59,17 @@ ULONG MiKernelMapLength;
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
/*
* @implemented
*/
BOOLEAN STDCALL MmIsThisAnNtAsSystem(VOID) BOOLEAN STDCALL MmIsThisAnNtAsSystem(VOID)
{ {
return(IsThisAnNtAsSystem); return(IsThisAnNtAsSystem);
} }
/*
* @implemented
*/
MM_SYSTEM_SIZE STDCALL MmQuerySystemSize(VOID) MM_SYSTEM_SIZE STDCALL MmQuerySystemSize(VOID)
{ {
return(MmSystemSize); return(MmSystemSize);

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/mpw.c * FILE: ntoskrnl/mm/mpw.c
@ -46,6 +46,9 @@ static volatile BOOLEAN MpwThreadShouldTerminate;
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmWriteDirtyPages(ULONG Target, PULONG Actual) MmWriteDirtyPages(ULONG Target, PULONG Actual)
{ {

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -43,6 +43,7 @@
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
MmAllocateNonCachedMemory(IN ULONG NumberOfBytes) MmAllocateNonCachedMemory(IN ULONG NumberOfBytes)
@ -122,6 +123,7 @@ MmFreeNonCachedPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress, VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress,
IN ULONG NumberOfBytes) IN ULONG NumberOfBytes)
@ -135,5 +137,4 @@ VOID STDCALL MmFreeNonCachedMemory (IN PVOID BaseAddress,
MmUnlockAddressSpace(MmGetKernelAddressSpace()); MmUnlockAddressSpace(MmGetKernelAddressSpace());
} }
/* EOF */ /* EOF */

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -1455,6 +1455,9 @@ static void* grow_kernel_pool(unsigned int size, ULONG Tag, PVOID Caller)
#endif /* not WHOLE_PAGE_ALLOCATIONS */ #endif /* not WHOLE_PAGE_ALLOCATIONS */
/*
* @implemented
*/
VOID STDCALL ExFreeNonPagedPool (PVOID block) VOID STDCALL ExFreeNonPagedPool (PVOID block)
/* /*
* FUNCTION: Releases previously allocated memory * FUNCTION: Releases previously allocated memory
@ -1531,6 +1534,9 @@ VOID STDCALL ExFreeNonPagedPool (PVOID block)
#endif /* WHOLE_PAGE_ALLOCATIONS */ #endif /* WHOLE_PAGE_ALLOCATIONS */
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocateNonPagedPoolWithTag(ULONG Type, ULONG Size, ULONG Tag, PVOID Caller) 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 #ifdef WHOLE_PAGE_ALLOCATIONS
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocateWholePageBlock(ULONG UserSize) ExAllocateWholePageBlock(ULONG UserSize)
{ {
@ -1653,6 +1662,9 @@ ExAllocateWholePageBlock(ULONG UserSize)
return((PVOID)((ULONG)Address + (NrPages * PAGE_SIZE) - UserSize)); return((PVOID)((ULONG)Address + (NrPages * PAGE_SIZE) - UserSize));
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
ExFreeWholePageBlock(PVOID Addr) ExFreeWholePageBlock(PVOID Addr)
{ {

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/pagefile.c * FILE: ntoskrnl/mm/pagefile.c
@ -560,6 +560,9 @@ MmDumpToPagingFile(ULONG BugCode,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtCreatePagingFile(IN PUNICODE_STRING FileName, NtCreatePagingFile(IN PUNICODE_STRING FileName,
IN PLARGE_INTEGER InitialSize, IN PLARGE_INTEGER InitialSize,
@ -850,12 +853,4 @@ NtCreatePagingFile(IN PUNICODE_STRING FileName,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/* EOF */ /* EOF */

View file

@ -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 <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <internal/ps.h> #include <internal/ps.h>
/*
* @implemented
*/
BOOLEAN BOOLEAN
STDCALL STDCALL
MmIsRecursiveIoFault ( MmIsRecursiveIoFault (

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -23,6 +23,9 @@
/* FUNCTIONS ***************************************************************/ /* FUNCTIONS ***************************************************************/
/*
* @unimplemented
*/
PVOID STDCALL STATIC PVOID STDCALL STATIC
EiAllocatePool(POOL_TYPE PoolType, EiAllocatePool(POOL_TYPE PoolType,
ULONG NumberOfBytes, ULONG NumberOfBytes,
@ -67,6 +70,9 @@ EiAllocatePool(POOL_TYPE PoolType,
return(Block); return(Block);
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes) ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes)
/* /*
@ -100,6 +106,9 @@ ExAllocatePool (POOL_TYPE PoolType, ULONG NumberOfBytes)
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocatePoolWithTag (ULONG PoolType, ULONG NumberOfBytes, ULONG Tag) ExAllocatePoolWithTag (ULONG PoolType, ULONG NumberOfBytes, ULONG Tag)
{ {
@ -112,6 +121,9 @@ ExAllocatePoolWithTag (ULONG PoolType, ULONG NumberOfBytes, ULONG Tag)
} }
/*
* @implemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes) ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes)
{ {
@ -119,6 +131,9 @@ ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes)
} }
/*
* @unimplemented
*/
PVOID STDCALL PVOID STDCALL
ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType, ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType,
IN ULONG NumberOfBytes, IN ULONG NumberOfBytes,
@ -135,6 +150,9 @@ ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType,
UNIMPLEMENTED; UNIMPLEMENTED;
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
ExFreePool(IN PVOID Block) ExFreePool(IN PVOID Block)
{ {

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -60,6 +60,8 @@ VOID MmInitializePagedPool(VOID)
* ARGUMENTS * ARGUMENTS
* *
* RETURN VALUE * RETURN VALUE
*
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType, ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType,
@ -188,6 +190,9 @@ ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType,
return(BlockAddress); return(BlockAddress);
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
ExFreePagedPool(IN PVOID Block) ExFreePagedPool(IN PVOID Block)
{ {

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/section.c * FILE: ntoskrnl/mm/section.c
@ -1917,6 +1917,9 @@ MmProtectSectionView(PMADDRESS_SPACE AddressSpace,
return(Status); return(Status);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmQuerySectionView(PMEMORY_AREA MemoryArea, MmQuerySectionView(PMEMORY_AREA MemoryArea,
PVOID Address, PVOID Address,
@ -1951,6 +1954,9 @@ MmQuerySectionView(PMEMORY_AREA MemoryArea,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
MmpDeleteSection(PVOID ObjectBody) MmpDeleteSection(PVOID ObjectBody)
{ {
@ -2836,6 +2842,9 @@ MmCreateImageSection(PHANDLE SectionHandle,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtCreateSection (OUT PHANDLE SectionHandle, NtCreateSection (OUT PHANDLE SectionHandle,
IN ACCESS_MASK DesiredAccess, IN ACCESS_MASK DesiredAccess,
@ -2894,6 +2903,7 @@ NtCreateSection (OUT PHANDLE SectionHandle,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
NtOpenSection(PHANDLE SectionHandle, NtOpenSection(PHANDLE SectionHandle,
@ -3012,6 +3022,8 @@ MmMapViewOfSegment(PEPROCESS Process,
* *
* RETURN VALUE * RETURN VALUE
* Status. * Status.
*
* @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
NtMapViewOfSection(HANDLE SectionHandle, NtMapViewOfSection(HANDLE SectionHandle,
@ -3173,6 +3185,9 @@ MmFreeSectionPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
} }
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmUnmapViewOfSection(PEPROCESS Process, MmUnmapViewOfSection(PEPROCESS Process,
PVOID BaseAddress) PVOID BaseAddress)
@ -3254,6 +3269,7 @@ MmUnmapViewOfSection(PEPROCESS Process,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
NtUnmapViewOfSection (HANDLE ProcessHandle, NtUnmapViewOfSection (HANDLE ProcessHandle,
@ -3288,6 +3304,9 @@ NtUnmapViewOfSection (HANDLE ProcessHandle,
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtQuerySection (IN HANDLE SectionHandle, NtQuerySection (IN HANDLE SectionHandle,
IN CINT SectionInformationClass, IN CINT SectionInformationClass,
@ -3385,6 +3404,9 @@ NtQuerySection (IN HANDLE SectionHandle,
} }
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtExtendSection(IN HANDLE SectionHandle, NtExtendSection(IN HANDLE SectionHandle,
IN ULONG NewMaximumSize) IN ULONG NewMaximumSize)
@ -3410,6 +3432,7 @@ NtExtendSection(IN HANDLE SectionHandle,
* *
* REVISIONS * REVISIONS
* *
* @implemented
*/ */
PVOID STDCALL PVOID STDCALL
MmAllocateSection (IN ULONG Length) MmAllocateSection (IN ULONG Length)
@ -3512,6 +3535,8 @@ MmAllocateSection (IN ULONG Length)
* *
* RETURN VALUE * RETURN VALUE
* Status. * Status.
*
* @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
MmMapViewOfSection(IN PVOID SectionObject, MmMapViewOfSection(IN PVOID SectionObject,
@ -3666,6 +3691,9 @@ MmMapViewOfSection(IN PVOID SectionObject,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @unimplemented
*/
BOOLEAN STDCALL BOOLEAN STDCALL
MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
IN PLARGE_INTEGER NewFileSize) IN PLARGE_INTEGER NewFileSize)
@ -3675,6 +3703,9 @@ MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
} }
/*
* @unimplemented
*/
BOOLEAN STDCALL BOOLEAN STDCALL
MmDisableModifiedWriteOfSection (DWORD Unknown0) MmDisableModifiedWriteOfSection (DWORD Unknown0)
{ {
@ -3682,6 +3713,9 @@ MmDisableModifiedWriteOfSection (DWORD Unknown0)
return (FALSE); return (FALSE);
} }
/*
* @implemented
*/
BOOLEAN STDCALL BOOLEAN STDCALL
MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
IN MMFLUSH_TYPE FlushType) IN MMFLUSH_TYPE FlushType)
@ -3702,6 +3736,9 @@ MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
return FALSE; return FALSE;
} }
/*
* @unimplemented
*/
BOOLEAN STDCALL BOOLEAN STDCALL
MmForceSectionClosed (DWORD Unknown0, MmForceSectionClosed (DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -3711,6 +3748,9 @@ MmForceSectionClosed (DWORD Unknown0,
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmMapViewInSystemSpace (IN PVOID SectionObject, MmMapViewInSystemSpace (IN PVOID SectionObject,
OUT PVOID * MappedBase, OUT PVOID * MappedBase,
@ -3757,6 +3797,9 @@ MmMapViewInSystemSpace (IN PVOID SectionObject,
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmUnmapViewInSystemSpace (IN PVOID MappedBase) MmUnmapViewInSystemSpace (IN PVOID MappedBase)
{ {
@ -3824,6 +3867,9 @@ MmUnmapViewInSystemSpace (IN PVOID MappedBase)
} }
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
MmSetBankedSection (DWORD Unknown0, MmSetBankedSection (DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -3889,6 +3935,8 @@ MmSetBankedSection (DWORD Unknown0,
* *
* RETURN VALUE * RETURN VALUE
* Status. * Status.
*
* @unimplemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
MmCreateSection (OUT PSECTION_OBJECT * SectionObject, MmCreateSection (OUT PSECTION_OBJECT * SectionObject,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/virtual.c * FILE: ntoskrnl/mm/virtual.c
@ -39,6 +39,9 @@
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtFlushVirtualMemory(IN HANDLE ProcessHandle, NtFlushVirtualMemory(IN HANDLE ProcessHandle,
IN PVOID BaseAddress, IN PVOID BaseAddress,
@ -58,6 +61,9 @@ NtFlushVirtualMemory(IN HANDLE ProcessHandle,
UNIMPLEMENTED; UNIMPLEMENTED;
} }
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtLockVirtualMemory(HANDLE ProcessHandle, NtLockVirtualMemory(HANDLE ProcessHandle,
PVOID BaseAddress, PVOID BaseAddress,
@ -67,6 +73,9 @@ NtLockVirtualMemory(HANDLE ProcessHandle,
UNIMPLEMENTED; UNIMPLEMENTED;
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtQueryVirtualMemory (IN HANDLE ProcessHandle, NtQueryVirtualMemory (IN HANDLE ProcessHandle,
IN PVOID Address, IN PVOID Address,
@ -160,6 +169,9 @@ NtQueryVirtualMemory (IN HANDLE ProcessHandle,
return(Status); return(Status);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtProtectVirtualMemory(IN HANDLE ProcessHandle, NtProtectVirtualMemory(IN HANDLE ProcessHandle,
IN PVOID BaseAddress, IN PVOID BaseAddress,
@ -225,6 +237,9 @@ NtProtectVirtualMemory(IN HANDLE ProcessHandle,
return(Status); return(Status);
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtReadVirtualMemory(IN HANDLE ProcessHandle, NtReadVirtualMemory(IN HANDLE ProcessHandle,
IN PVOID BaseAddress, IN PVOID BaseAddress,
@ -279,6 +294,9 @@ NtReadVirtualMemory(IN HANDLE ProcessHandle,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @unimplemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtUnlockVirtualMemory(HANDLE ProcessHandle, NtUnlockVirtualMemory(HANDLE ProcessHandle,
PVOID BaseAddress, PVOID BaseAddress,
@ -289,6 +307,9 @@ NtUnlockVirtualMemory(HANDLE ProcessHandle,
} }
/*
* @implemented
*/
NTSTATUS STDCALL NTSTATUS STDCALL
NtWriteVirtualMemory(IN HANDLE ProcessHandle, NtWriteVirtualMemory(IN HANDLE ProcessHandle,
IN PVOID BaseAddress, IN PVOID BaseAddress,
@ -344,6 +365,9 @@ NtWriteVirtualMemory(IN HANDLE ProcessHandle,
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }
/*
* @unimplemented
*/
PVOID STDCALL PVOID STDCALL
MmSecureVirtualMemory (PVOID Address, MmSecureVirtualMemory (PVOID Address,
SIZE_T Length, SIZE_T Length,
@ -361,6 +385,9 @@ MmSecureVirtualMemory (PVOID Address,
} }
/*
* @unimplemented
*/
VOID STDCALL VOID STDCALL
MmUnsecureVirtualMemory(PVOID SecureMem) MmUnsecureVirtualMemory(PVOID SecureMem)
{ {