/* GLOBALS *******************************************************************/
+#ifndef LIBCAPTIVE
#define TAG_MDL TAG('M', 'M', 'D', 'L')
#define MI_MDL_MAPPING_REGION_SIZE (256*1024*1024)
static PULONG MiMdlMappingRegionAllocMap = NULL;
static ULONG MiMdlMappingRegionHighWaterMark = 0;
static KSPIN_LOCK MiMdlMappingRegionLock;
+#endif /* LIBCAPTIVE */
/* FUNCTIONS *****************************************************************/
+#ifndef LIBCAPTIVE
+
VOID
MmInitializeMdlImplementation(VOID)
{
Mdl->MdlFlags = Mdl->MdlFlags | MDL_PAGES_LOCKED;
}
+#endif /* LIBCAPTIVE */
ULONG STDCALL MmSizeOfMdl (PVOID Base,
ULONG Length)
return(sizeof(MDL)+(len*sizeof(ULONG)));
}
+#ifndef LIBCAPTIVE
VOID STDCALL
MmBuildMdlForNonPagedPool (PMDL Mdl)
UNIMPLEMENTED;
}
+#endif /* LIBCAPTIVE */
+
/* EOF */