Commit 6c350ad1 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

ntoskrnl.exe: Add stub for MmAllocatePagesForMdl.

parent 4c8eec34
......@@ -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.@)
......
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment