ntoskrnl.exe: Add stub for MmAllocateContiguousMemory.

This commit is contained in:
Louis Lenders 2009-11-13 19:02:08 +01:00 committed by Alexandre Julliard
parent 6c350ad155
commit 76ae295a09
3 changed files with 11 additions and 1 deletions

View File

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

View File

@ -655,7 +655,7 @@
@ stub MmAddVerifierThunks
@ stub MmAdjustWorkingSetSize
@ stub MmAdvanceMdl
@ stub MmAllocateContiguousMemory
@ stdcall MmAllocateContiguousMemory(long double)
@ stub MmAllocateContiguousMemorySpecifyCache
@ stub MmAllocateMappingAddress
@ stdcall MmAllocateNonCachedMemory(long)

View File

@ -1059,6 +1059,7 @@ void WINAPI KeQuerySystemTime(LARGE_INTEGER*);
void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG WINAPI KeQueryTimeIncrement(void);
PVOID WINAPI MmAllocateContiguousMemory(SIZE_T,PHYSICAL_ADDRESS);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,SIZE_T);
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);