mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
2004-10-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/include/internal/test.h (NtLockVirtualMemoryInternal): Rename to MiLockVirtualMemory. * ntoskrnl/include/internal/test.h: Update. * ntoskrnl/tests/tests/VirtualMemory.c: Update. svn path=/trunk/; revision=11470
This commit is contained in:
parent
f776678f2d
commit
7c19997893
4 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-10-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
|
* ntoskrnl/include/internal/test.h (NtLockVirtualMemoryInternal): Rename
|
||||||
|
to MiLockVirtualMemory.
|
||||||
|
* ntoskrnl/include/internal/test.h: Update.
|
||||||
|
* ntoskrnl/tests/tests/VirtualMemory.c: Update.
|
||||||
|
|
||||||
2004-10-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
2004-10-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* drivers/net/tcpip/tests/setup.c: Include windows.h.
|
* drivers/net/tcpip/tests/setup.c: Include windows.h.
|
||||||
|
|
|
@ -27,7 +27,7 @@ PObReferenceObjectByHandle(HANDLE Handle,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtLockVirtualMemoryInternal(HANDLE ProcessHandle,
|
MiLockVirtualMemory(HANDLE ProcessHandle,
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
ULONG NumberOfBytesToLock,
|
ULONG NumberOfBytesToLock,
|
||||||
PULONG NumberOfBytesLocked,
|
PULONG NumberOfBytesLocked,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: virtual.c,v 1.82 2004/10/28 19:01:58 chorns Exp $
|
/* $Id: virtual.c,v 1.83 2004/10/29 16:48:10 chorns Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/mm/virtual.c
|
* FILE: ntoskrnl/mm/virtual.c
|
||||||
|
@ -55,7 +55,7 @@ NtFlushVirtualMemory(IN HANDLE ProcessHandle,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtLockVirtualMemoryInternal(HANDLE ProcessHandle,
|
MiLockVirtualMemory(HANDLE ProcessHandle,
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
ULONG NumberOfBytesToLock,
|
ULONG NumberOfBytesToLock,
|
||||||
PULONG NumberOfBytesLocked,
|
PULONG NumberOfBytesLocked,
|
||||||
|
@ -113,7 +113,7 @@ NtLockVirtualMemory(HANDLE ProcessHandle,
|
||||||
NumberOfBytesToLock,
|
NumberOfBytesToLock,
|
||||||
NumberOfBytesLocked);
|
NumberOfBytesLocked);
|
||||||
|
|
||||||
return NtLockVirtualMemoryInternal(ProcessHandle,
|
return MiLockVirtualMemory(ProcessHandle,
|
||||||
BaseAddress,
|
BaseAddress,
|
||||||
NumberOfBytesToLock,
|
NumberOfBytesToLock,
|
||||||
NumberOfBytesLocked,
|
NumberOfBytesLocked,
|
||||||
|
|
|
@ -82,7 +82,7 @@ static void RunTest()
|
||||||
ULONG NumberOfBytesLocked;
|
ULONG NumberOfBytesLocked;
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
status = NtLockVirtualMemoryInternal(TestProcessHandle,
|
status = MiLockVirtualMemory(TestProcessHandle,
|
||||||
TestBaseAddress,
|
TestBaseAddress,
|
||||||
TestNumberOfBytesToLock,
|
TestNumberOfBytesToLock,
|
||||||
&NumberOfBytesLocked,
|
&NumberOfBytesLocked,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue