From 7c1999789388fa1cdcbdd4a1ef5a9ed2d625684b Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Fri, 29 Oct 2004 16:48:10 +0000 Subject: [PATCH] 2004-10-29 Casper S. Hornstrup * 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 --- reactos/ChangeLog | 7 +++++++ reactos/ntoskrnl/include/internal/test.h | 2 +- reactos/ntoskrnl/mm/virtual.c | 6 +++--- reactos/ntoskrnl/tests/tests/VirtualMemory.c | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/reactos/ChangeLog b/reactos/ChangeLog index 3a335ae045b..98052ca78a7 100644 --- a/reactos/ChangeLog +++ b/reactos/ChangeLog @@ -1,3 +1,10 @@ +2004-10-29 Casper S. Hornstrup + + * 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 * drivers/net/tcpip/tests/setup.c: Include windows.h. diff --git a/reactos/ntoskrnl/include/internal/test.h b/reactos/ntoskrnl/include/internal/test.h index e0f12a61244..5b24090759b 100644 --- a/reactos/ntoskrnl/include/internal/test.h +++ b/reactos/ntoskrnl/include/internal/test.h @@ -27,7 +27,7 @@ PObReferenceObjectByHandle(HANDLE Handle, NTSTATUS STDCALL -NtLockVirtualMemoryInternal(HANDLE ProcessHandle, +MiLockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, ULONG NumberOfBytesToLock, PULONG NumberOfBytesLocked, diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index 12c017c0e90..443bddc773d 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * 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 * FILE: ntoskrnl/mm/virtual.c @@ -55,7 +55,7 @@ NtFlushVirtualMemory(IN HANDLE ProcessHandle, NTSTATUS STDCALL -NtLockVirtualMemoryInternal(HANDLE ProcessHandle, +MiLockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, ULONG NumberOfBytesToLock, PULONG NumberOfBytesLocked, @@ -113,7 +113,7 @@ NtLockVirtualMemory(HANDLE ProcessHandle, NumberOfBytesToLock, NumberOfBytesLocked); - return NtLockVirtualMemoryInternal(ProcessHandle, + return MiLockVirtualMemory(ProcessHandle, BaseAddress, NumberOfBytesToLock, NumberOfBytesLocked, diff --git a/reactos/ntoskrnl/tests/tests/VirtualMemory.c b/reactos/ntoskrnl/tests/tests/VirtualMemory.c index cdaebc048f2..e6642311f47 100644 --- a/reactos/ntoskrnl/tests/tests/VirtualMemory.c +++ b/reactos/ntoskrnl/tests/tests/VirtualMemory.c @@ -82,7 +82,7 @@ static void RunTest() ULONG NumberOfBytesLocked; NTSTATUS status; - status = NtLockVirtualMemoryInternal(TestProcessHandle, + status = MiLockVirtualMemory(TestProcessHandle, TestBaseAddress, TestNumberOfBytesToLock, &NumberOfBytesLocked, -- 2.17.1