mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
c501d8112c
svn path=/branches/aicom-network-fixes/; revision=34994
102 lines
2 KiB
C
102 lines
2 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* FILE: ntoskrnl/mm/drvlck.c
|
|
* PURPOSE: Managing driver managing
|
|
*
|
|
* PROGRAMMERS: David Welch (welch@mcmail.com)
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <ntoskrnl.h>
|
|
#include <internal/debug.h>
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
#undef MmLockPagableDataSection
|
|
|
|
#if 0
|
|
VOID
|
|
MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
|
|
/*
|
|
* FUNCTION: Releases a section of driver code or driver data, previously
|
|
* locked into system space with MmLockPagableCodeSection,
|
|
* MmLockPagableDataSection or MmLockPagableSectionByHandle
|
|
* ARGUMENTS:
|
|
* ImageSectionHandle = Handle returned by MmLockPagableCodeSection or
|
|
* MmLockPagableDataSection
|
|
*/
|
|
{
|
|
// MmUnlockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
|
|
UNIMPLEMENTED;
|
|
}
|
|
#endif
|
|
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
VOID STDCALL
|
|
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
|
|
#if 0
|
|
PVOID
|
|
MmLockPagableCodeSection(IN PVOID AddressWithinSection)
|
|
{
|
|
PVOID Handle;
|
|
Handle = MmLocateMemoryAreaByAddress(NULL,AddressWithinSection);
|
|
MmLockPagableSectionByHandle(Handle);
|
|
return(Handle);
|
|
}
|
|
#endif
|
|
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
PVOID STDCALL
|
|
MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
|
{
|
|
PVOID Handle;
|
|
Handle = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(),
|
|
AddressWithinSection);
|
|
MmLockPagableSectionByHandle(Handle);
|
|
return(Handle);
|
|
}
|
|
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
VOID STDCALL
|
|
MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
PVOID STDCALL
|
|
MmPageEntireDriver(IN PVOID AddressWithinSection)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return NULL;
|
|
}
|
|
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
VOID STDCALL
|
|
MmResetDriverPaging(IN PVOID AddressWithinSection)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
/* EOF */
|