mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
and MmMapLockedPagesSpecifyCache. svn path=/trunk/; revision=8550
This commit is contained in:
parent
c3d3178f3e
commit
957b856245
3 changed files with 37 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: mdl.c,v 1.58 2004/02/15 17:04:52 hbirr Exp $
|
/* $Id: mdl.c,v 1.59 2004/03/06 22:21:20 dwelch Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -523,6 +523,34 @@ MmMapMemoryDumpMdl (PVOID Unknown0)
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PMDL STDCALL
|
||||||
|
MmAllocatePagesForMdl ( IN PHYSICAL_ADDRESS LowAddress,
|
||||||
|
IN PHYSICAL_ADDRESS HighAddress,
|
||||||
|
IN PHYSICAL_ADDRESS SkipBytes,
|
||||||
|
IN SIZE_T Totalbytes )
|
||||||
|
{
|
||||||
|
DPRINT1("MmAllocatePagesForMdl(): Unimplemented.\n");
|
||||||
|
return(NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
VOID STDCALL
|
||||||
|
MmFreePagesFromMdl ( IN PMDL Mdl )
|
||||||
|
{
|
||||||
|
DPRINT1("MmFreePagesFromMdl(): Unimplemented.\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
PVOID STDCALL
|
||||||
|
MmMapLockedPagesSpecifyCache ( IN PMDL Mdl,
|
||||||
|
IN KPROCESSOR_MODE AccessMode,
|
||||||
|
IN MEMORY_CACHING_TYPE CacheType,
|
||||||
|
IN PVOID BaseAddress,
|
||||||
|
IN ULONG BugCheckOnFailure,
|
||||||
|
IN ULONG Priority )
|
||||||
|
{
|
||||||
|
DPRINT1("MmMapLockedPagesSpecifyCache(): Ignoring extra parameters.\n");
|
||||||
|
return MmMapLockedPages (Mdl, AccessMode);
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.def,v 1.175 2004/03/02 17:20:36 navaraf Exp $
|
; $Id: ntoskrnl.def,v 1.176 2004/03/06 22:21:20 dwelch Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -502,6 +502,7 @@ MmAllocateContiguousAlignedMemory@36
|
||||||
MmAllocateContiguousMemory@12
|
MmAllocateContiguousMemory@12
|
||||||
MmAllocateContiguousMemorySpecifyCache@32
|
MmAllocateContiguousMemorySpecifyCache@32
|
||||||
MmAllocateNonCachedMemory@4
|
MmAllocateNonCachedMemory@4
|
||||||
|
MmAllocatePagesForMdl@28
|
||||||
MmBuildMdlForNonPagedPool@4
|
MmBuildMdlForNonPagedPool@4
|
||||||
MmCanFileBeTruncated@8
|
MmCanFileBeTruncated@8
|
||||||
MmCopyFromCaller@12
|
MmCopyFromCaller@12
|
||||||
|
@ -515,6 +516,7 @@ MmForceSectionClosed@8
|
||||||
MmFreeContiguousMemory@4
|
MmFreeContiguousMemory@4
|
||||||
MmFreeContiguousMemorySpecifyCache@12
|
MmFreeContiguousMemorySpecifyCache@12
|
||||||
MmFreeNonCachedMemory@8
|
MmFreeNonCachedMemory@8
|
||||||
|
MmFreePagesFromMdl@4
|
||||||
MmGetPhysicalAddress@4
|
MmGetPhysicalAddress@4
|
||||||
MmGrowKernelStack@4
|
MmGrowKernelStack@4
|
||||||
MmHighestUserAddress DATA
|
MmHighestUserAddress DATA
|
||||||
|
@ -527,6 +529,7 @@ MmLockPagableImageSection@4=MmLockPagableDataSection@4
|
||||||
MmLockPagableSectionByHandle@4
|
MmLockPagableSectionByHandle@4
|
||||||
MmMapIoSpace@16
|
MmMapIoSpace@16
|
||||||
MmMapLockedPages@8
|
MmMapLockedPages@8
|
||||||
|
MmMapLockedPagesSpecifyCache@24
|
||||||
MmMapMemoryDumpMdl@4
|
MmMapMemoryDumpMdl@4
|
||||||
MmMapVideoDisplay@16
|
MmMapVideoDisplay@16
|
||||||
MmMapViewInSystemSpace@12
|
MmMapViewInSystemSpace@12
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.edf,v 1.161 2004/02/03 14:23:29 ekohl Exp $
|
; $Id: ntoskrnl.edf,v 1.162 2004/03/06 22:21:20 dwelch Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -503,6 +503,7 @@ MmAllocateContiguousAlignedMemory=MmAllocateContiguousAlignedMemory@36
|
||||||
MmAllocateContiguousMemory=MmAllocateContiguousMemory@12
|
MmAllocateContiguousMemory=MmAllocateContiguousMemory@12
|
||||||
MmAllocateContiguousMemorySpecifyCache=MmAllocateContiguousMemorySpecifyCache@32
|
MmAllocateContiguousMemorySpecifyCache=MmAllocateContiguousMemorySpecifyCache@32
|
||||||
MmAllocateNonCachedMemory=MmAllocateNonCachedMemory@4
|
MmAllocateNonCachedMemory=MmAllocateNonCachedMemory@4
|
||||||
|
MmAllocatePagesForMdl=MmAllocatePagesForMdl@28
|
||||||
MmBuildMdlForNonPagedPool=MmBuildMdlForNonPagedPool@4
|
MmBuildMdlForNonPagedPool=MmBuildMdlForNonPagedPool@4
|
||||||
MmCanFileBeTruncated=MmCanFileBeTruncated@8
|
MmCanFileBeTruncated=MmCanFileBeTruncated@8
|
||||||
MmCopyFromCaller=MmCopyFromCaller@12
|
MmCopyFromCaller=MmCopyFromCaller@12
|
||||||
|
@ -516,6 +517,7 @@ MmForceSectionClosed=MmForceSectionClosed@8
|
||||||
MmFreeContiguousMemory=MmFreeContiguousMemory@4
|
MmFreeContiguousMemory=MmFreeContiguousMemory@4
|
||||||
MmFreeContiguousMemorySpecifyCache=MmFreeContiguousMemorySpecifyCache@12
|
MmFreeContiguousMemorySpecifyCache=MmFreeContiguousMemorySpecifyCache@12
|
||||||
MmFreeNonCachedMemory=MmFreeNonCachedMemory@8
|
MmFreeNonCachedMemory=MmFreeNonCachedMemory@8
|
||||||
|
MmFreePagesFromMdl=MmFreePagesFromMdl@4
|
||||||
MmGetPhysicalAddress=MmGetPhysicalAddress@4
|
MmGetPhysicalAddress=MmGetPhysicalAddress@4
|
||||||
MmGrowKernelStack=MmGrowKernelStack@4
|
MmGrowKernelStack=MmGrowKernelStack@4
|
||||||
MmHighestUserAddress DATA
|
MmHighestUserAddress DATA
|
||||||
|
@ -528,6 +530,7 @@ MmLockPagableImageSection=MmLockPagableDataSection@4
|
||||||
MmLockPagableSectionByHandle=MmLockPagableSectionByHandle@4
|
MmLockPagableSectionByHandle=MmLockPagableSectionByHandle@4
|
||||||
MmMapIoSpace=MmMapIoSpace@16
|
MmMapIoSpace=MmMapIoSpace@16
|
||||||
MmMapLockedPages=MmMapLockedPages@8
|
MmMapLockedPages=MmMapLockedPages@8
|
||||||
|
MmMapLockedPagesSpecifyCache=MmMapLockedPagesSpecifyCache@24
|
||||||
MmMapMemoryDumpMdl=MmMapMemoryDumpMdl@4
|
MmMapMemoryDumpMdl=MmMapMemoryDumpMdl@4
|
||||||
MmMapVideoDisplay=MmMapVideoDisplay@16
|
MmMapVideoDisplay=MmMapVideoDisplay@16
|
||||||
MmMapViewInSystemSpace=MmMapViewInSystemSpace@12
|
MmMapViewInSystemSpace=MmMapViewInSystemSpace@12
|
||||||
|
|
Loading…
Reference in a new issue