ntoskrnl.exe: Add stub for MmAllocateContiguousMemorySpecifyCache:.

This commit is contained in:
Austin English 2010-06-27 03:45:48 -05:00 committed by Alexandre Julliard
parent dab1bbef29
commit 77f4c853f9
3 changed files with 24 additions and 1 deletions

View File

@ -1274,6 +1274,19 @@ PVOID WINAPI MmAllocateContiguousMemory( SIZE_T size, PHYSICAL_ADDRESS highest_v
return NULL;
}
/***********************************************************************
* MmAllocateContiguousMemorySpecifyCache (NTOSKRNL.EXE.@)
*/
PVOID WINAPI MmAllocateContiguousMemorySpecifyCache( SIZE_T size,
PHYSICAL_ADDRESS lowest_valid_address,
PHYSICAL_ADDRESS highest_valid_address,
PHYSICAL_ADDRESS BoundaryAddressMultiple,
MEMORY_CACHING_TYPE CacheType )
{
FIXME(": stub\n");
return NULL;
}
/***********************************************************************
* MmAllocatePagesForMdl (NTOSKRNL.EXE.@)
*/

View File

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

View File

@ -1035,6 +1035,16 @@ typedef struct _KUSER_SHARED_DATA {
} DUMMYUNIONNAME;
} KSHARED_USER_DATA, *PKSHARED_USER_DATA;
typedef enum _MEMORY_CACHING_TYPE {
MmNonCached = 0,
MmCached = 1,
MmWriteCombined = 2,
MmHardwareCoherentCached = 3,
MmNonCachedUnordered = 4,
MmUSWCCached = 5,
MmMaximumCacheType = 6
} MEMORY_CACHING_TYPE;
typedef enum _MM_SYSTEM_SIZE
{
MmSmallSystem,