ntoskrnl.exe: Add stub for MmAllocatePagesForMdl.

This commit is contained in:
Louis Lenders 2009-11-13 17:35:39 +01:00 committed by Alexandre Julliard
parent 4c8eec346d
commit 6c350ad155
3 changed files with 12 additions and 1 deletions

View File

@ -1117,6 +1117,16 @@ PVOID WINAPI MmAllocateNonCachedMemory( SIZE_T size )
return VirtualAlloc( NULL, size, MEM_RESERVE|MEM_COMMIT, PAGE_READWRITE|PAGE_NOCACHE );
}
/***********************************************************************
* MmAllocatePagesForMdl (NTOSKRNL.EXE.@)
*/
PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS lowaddress, PHYSICAL_ADDRESS highaddress,
PHYSICAL_ADDRESS skipbytes, SIZE_T size)
{
FIXME("%s %s %s %lu: stub\n", wine_dbgstr_longlong(lowaddress.QuadPart), wine_dbgstr_longlong(highaddress.QuadPart),
wine_dbgstr_longlong(skipbytes.QuadPart), size);
return NULL;
}
/***********************************************************************
* MmFreeNonCachedMemory (NTOSKRNL.EXE.@)

View File

@ -659,7 +659,7 @@
@ stub MmAllocateContiguousMemorySpecifyCache
@ stub MmAllocateMappingAddress
@ stdcall MmAllocateNonCachedMemory(long)
@ stub MmAllocatePagesForMdl
@ stdcall MmAllocatePagesForMdl(double double double long)
@ stub MmBuildMdlForNonPagedPool
@ stub MmCanFileBeTruncated
@ stub MmCommitSessionMappedView

View File

@ -1060,6 +1060,7 @@ void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG WINAPI KeQueryTimeIncrement(void);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,SIZE_T);
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);