From 83e794356699abaf685b8ee1e2f7f6993d3f69d7 Mon Sep 17 00:00:00 2001 From: short <> Date: Fri, 8 Nov 2002 20:59:09 +0000 Subject: [PATCH] +MmCreateMdl() --- ntoskrnl/mm/mdl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ntoskrnl/mm/mdl.c b/ntoskrnl/mm/mdl.c index 465f6ba..38129cc 100644 --- a/ntoskrnl/mm/mdl.c +++ b/ntoskrnl/mm/mdl.c @@ -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) /* -- 1.8.3.1