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; 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.@) * MmPageEntireDriver (NTOSKRNL.EXE.@)
*/ */

View File

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

View File

@ -1051,15 +1051,21 @@ typedef struct _KUSER_SHARED_DATA {
} KSHARED_USER_DATA, *PKSHARED_USER_DATA; } KSHARED_USER_DATA, *PKSHARED_USER_DATA;
typedef enum _MEMORY_CACHING_TYPE { typedef enum _MEMORY_CACHING_TYPE {
MmNonCached = 0, MmNonCached = 0,
MmCached = 1, MmCached = 1,
MmWriteCombined = 2, MmWriteCombined = 2,
MmHardwareCoherentCached = 3, MmHardwareCoherentCached = 3,
MmNonCachedUnordered = 4, MmNonCachedUnordered = 4,
MmUSWCCached = 5, MmUSWCCached = 5,
MmMaximumCacheType = 6 MmMaximumCacheType = 6
} MEMORY_CACHING_TYPE; } MEMORY_CACHING_TYPE;
typedef enum _MM_PAGE_PRIORITY {
LowPagePriority,
NormalPagePriority = 16,
HighPagePriority = 32
} MM_PAGE_PRIORITY;
typedef enum _MM_SYSTEM_SIZE typedef enum _MM_SYSTEM_SIZE
{ {
MmSmallSystem, MmSmallSystem,