Commit 9784c3fd authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntoskrnl.exe: Add MmUnmapLockedPages stub.

parent 95bd82ee
......@@ -2833,6 +2833,14 @@ PVOID WINAPI MmMapLockedPagesSpecifyCache(PMDLX MemoryDescriptorList, KPROCESSO
}
/***********************************************************************
* MmUnmapLockedPages (NTOSKRNL.EXE.@)
*/
void WINAPI MmUnmapLockedPages( void *base, MDL *mdl )
{
FIXME( "(%p %p_\n", base, mdl );
}
/***********************************************************************
* MmUnlockPagableImageSection (NTOSKRNL.EXE.@)
*/
VOID WINAPI MmUnlockPagableImageSection(PVOID ImageSectionHandle)
......
......@@ -733,7 +733,7 @@
@ stdcall MmUnlockPagableImageSection(ptr)
@ stdcall MmUnlockPages(ptr)
@ stdcall MmUnmapIoSpace(ptr long)
@ stub MmUnmapLockedPages
@ stdcall MmUnmapLockedPages(ptr ptr)
@ stub MmUnmapReservedMapping
@ stub MmUnmapVideoDisplay
@ stub MmUnmapViewInSessionSpace
......
......@@ -249,7 +249,7 @@ static void test_mdl_map(void)
todo_wine
ok(addr != NULL, "MmMapLockedPagesSpecifyCache failed\n");
/* MmUnmapLockedPages(addr, mdl); */
MmUnmapLockedPages(addr, mdl);
IoFreeMdl(mdl);
}
......
......@@ -1615,6 +1615,7 @@ void * WINAPI MmGetSystemRoutineAddress(UNICODE_STRING*);
PVOID WINAPI MmMapLockedPagesSpecifyCache(PMDL,KPROCESSOR_MODE,MEMORY_CACHING_TYPE,PVOID,ULONG,ULONG);
MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
void WINAPI MmProbeAndLockPages(PMDLX, KPROCESSOR_MODE, LOCK_OPERATION);
void WINAPI MmUnmapLockedPages(void*, PMDL);
static inline void *MmGetSystemAddressForMdlSafe(MDL *mdl, ULONG priority)
{
......
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