From a46fe1fad2bef8630d05f89940fabbfcfa300791 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 5 Nov 2002 14:18:41 +0000 Subject: [PATCH] +ntoskrnl/mm/mdl.c +MmSizeOfMdl() --- ntoskrnl/mm/mdl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ntoskrnl/mm/mdl.c b/ntoskrnl/mm/mdl.c index 9ce47a3..e5d1b9e 100644 --- a/ntoskrnl/mm/mdl.c +++ b/ntoskrnl/mm/mdl.c @@ -21,6 +21,7 @@ /* GLOBALS *******************************************************************/ +#ifndef LIBCAPTIVE #define TAG_MDL TAG('M', 'M', 'D', 'L') #define MI_MDL_MAPPING_REGION_SIZE (256*1024*1024) @@ -29,9 +30,12 @@ static PVOID MiMdlMappingRegionBase = NULL; static PULONG MiMdlMappingRegionAllocMap = NULL; static ULONG MiMdlMappingRegionHighWaterMark = 0; static KSPIN_LOCK MiMdlMappingRegionLock; +#endif /* LIBCAPTIVE */ /* FUNCTIONS *****************************************************************/ +#ifndef LIBCAPTIVE + VOID MmInitializeMdlImplementation(VOID) { @@ -358,6 +362,7 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, Mdl->MdlFlags = Mdl->MdlFlags | MDL_PAGES_LOCKED; } +#endif /* LIBCAPTIVE */ ULONG STDCALL MmSizeOfMdl (PVOID Base, ULONG Length) @@ -376,6 +381,7 @@ ULONG STDCALL MmSizeOfMdl (PVOID Base, return(sizeof(MDL)+(len*sizeof(ULONG))); } +#ifndef LIBCAPTIVE VOID STDCALL MmBuildMdlForNonPagedPool (PMDL Mdl) @@ -441,6 +447,8 @@ MmMapMemoryDumpMdl (PVOID Unknown0) UNIMPLEMENTED; } +#endif /* LIBCAPTIVE */ + /* EOF */ -- 1.8.3.1