Commit 77f4c853 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ntoskrnl.exe: Add stub for MmAllocateContiguousMemorySpecifyCache:.

parent dab1bbef
......@@ -1275,6 +1275,19 @@ PVOID WINAPI MmAllocateContiguousMemory( SIZE_T size, PHYSICAL_ADDRESS highest_v
}
/***********************************************************************
* 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.@)
*/
PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS lowaddress, PHYSICAL_ADDRESS highaddress,
......
......@@ -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)
......
......@@ -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,
......
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