mirror of
https://github.com/reactos/reactos.git
synced 2025-04-09 23:37:40 +00:00
- Pass correct parameters to MmLocateMemoryAreaByAddress in MmLockPagableDataSection.
- Change UNIMPLEMENTED to DPRINT1 in MmLockPagableSectionByHandle. svn path=/trunk/; revision=14566
This commit is contained in:
parent
b1cf1bfa05
commit
56f3c4ed58
1 changed files with 3 additions and 2 deletions
|
@ -40,7 +40,7 @@ VOID STDCALL
|
|||
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
|
||||
{
|
||||
// MmLockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
|
||||
UNIMPLEMENTED;
|
||||
DPRINT1("MmLockPagableSectionByHandle is unimplemented\n");
|
||||
}
|
||||
|
||||
|
||||
|
@ -63,7 +63,8 @@ PVOID STDCALL
|
|||
MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
||||
{
|
||||
PVOID Handle;
|
||||
Handle = MmLocateMemoryAreaByAddress(NULL, AddressWithinSection);
|
||||
Handle = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(),
|
||||
AddressWithinSection);
|
||||
MmLockPagableSectionByHandle(Handle);
|
||||
return(Handle);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue