ntoskrnl.exe: Add stub for MmMapLockedPagesSpecifyCache.

This commit is contained in:
Christian Costa 2012-09-29 22:28:16 +02:00 committed by Alexandre Julliard
parent 0a7ab9841d
commit 59eaf2003b
3 changed files with 27 additions and 8 deletions

View File

@ -1445,6 +1445,19 @@ PVOID WINAPI MmMapIoSpace( PHYSICAL_ADDRESS PhysicalAddress, DWORD NumberOfBytes
return NULL;
}
/***********************************************************************
* MmMapLockedPagesSpecifyCache (NTOSKRNL.EXE.@)
*/
PVOID MmMapLockedPagesSpecifyCache(PMDLX MemoryDescriptorList, KPROCESSOR_MODE AccessMode, MEMORY_CACHING_TYPE CacheType,
PVOID BaseAddress, ULONG BugCheckOnFailure, MM_PAGE_PRIORITY Priority)
{
FIXME("(%p, %u, %u, %p, %u, %u): stub\n", MemoryDescriptorList, AccessMode, CacheType, BaseAddress, BugCheckOnFailure, Priority);
return NULL;
}
/***********************************************************************
* MmPageEntireDriver (NTOSKRNL.EXE.@)
*/

View File

@ -690,7 +690,7 @@
@ stub MmLockPagableSectionByHandle
@ stdcall MmMapIoSpace(long long long long)
@ stub MmMapLockedPages
@ stub MmMapLockedPagesSpecifyCache
@ stdcall MmMapLockedPagesSpecifyCache(ptr long long ptr long long)
@ stub MmMapLockedPagesWithReservedMapping
@ stub MmMapMemoryDumpMdl
@ stub MmMapUserAddressesToPage

View File

@ -1060,6 +1060,12 @@ typedef enum _MEMORY_CACHING_TYPE {
MmMaximumCacheType = 6
} MEMORY_CACHING_TYPE;
typedef enum _MM_PAGE_PRIORITY {
LowPagePriority,
NormalPagePriority = 16,
HighPagePriority = 32
} MM_PAGE_PRIORITY;
typedef enum _MM_SYSTEM_SIZE
{
MmSmallSystem,