+MmCreateMdl()
[reactos.git] / ntoskrnl / mm / mdl.c
index 465f6ba..38129cc 100644 (file)
@@ -22,9 +22,9 @@
 
 /* GLOBALS *******************************************************************/
 
-#ifndef LIBCAPTIVE
 #define TAG_MDL    TAG('M', 'M', 'D', 'L')
 
+#ifndef LIBCAPTIVE
 #define MI_MDL_MAPPING_REGION_SIZE       (256*1024*1024)
 
 static PVOID MiMdlMappingRegionBase = NULL;
@@ -413,6 +413,7 @@ MmBuildMdlForNonPagedPool (PMDL     Mdl)
    Mdl->MappedSystemVa = Mdl->StartVa + Mdl->ByteOffset;
 }
 
+#endif /* LIBCAPTIVE */
 
 PMDL STDCALL 
 MmCreateMdl (PMDL      MemoryDescriptorList,
@@ -446,6 +447,8 @@ MmCreateMdl (PMDL   MemoryDescriptorList,
    return(MemoryDescriptorList);
 }
 
+#ifndef LIBCAPTIVE
+
 VOID STDCALL 
 MmMapMemoryDumpMdl (PVOID      Unknown0)
 /*