mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 01:00:51 +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
|
@ -40,7 +40,7 @@ VOID STDCALL
|
||||||
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
|
MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
|
||||||
{
|
{
|
||||||
// MmLockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
|
// MmLockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
|
||||||
UNIMPLEMENTED;
|
DPRINT1("MmLockPagableSectionByHandle is unimplemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,8 @@ PVOID STDCALL
|
||||||
MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
MmLockPagableDataSection(IN PVOID AddressWithinSection)
|
||||||
{
|
{
|
||||||
PVOID Handle;
|
PVOID Handle;
|
||||||
Handle = MmLocateMemoryAreaByAddress(NULL, AddressWithinSection);
|
Handle = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(),
|
||||||
|
AddressWithinSection);
|
||||||
MmLockPagableSectionByHandle(Handle);
|
MmLockPagableSectionByHandle(Handle);
|
||||||
return(Handle);
|
return(Handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue