ntoskrnl.exe: Add stub for MmAllocatePagesForMdl.
This commit is contained in:
parent
4c8eec346d
commit
6c350ad155
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue