mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fixed the size for memory unmapping from boot process.
svn path=/trunk/; revision=3344
This commit is contained in:
parent
4e9dc21691
commit
ea5ed93302
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: mminit.c,v 1.37 2002/08/14 20:58:36 dwelch Exp $
|
||||
/* $Id: mminit.c,v 1.38 2002/08/17 15:22:33 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -321,9 +321,9 @@ VOID MmInit1(ULONG FirstKrnlPhysAddr,
|
|||
|
||||
DPRINT("Invalidating between %x and %x\n",
|
||||
LastKernelAddress,
|
||||
KERNEL_BASE + PAGE_TABLE_SIZE);
|
||||
KERNEL_BASE + 2 * PAGE_TABLE_SIZE);
|
||||
for (i=(LastKernelAddress);
|
||||
i<(KERNEL_BASE + PAGE_TABLE_SIZE);
|
||||
i<(KERNEL_BASE + 2 * PAGE_TABLE_SIZE);
|
||||
i=i+PAGESIZE)
|
||||
{
|
||||
MmDeleteVirtualMapping(NULL, (PVOID)(i), FALSE, NULL, NULL);
|
||||
|
|
Loading…
Reference in a new issue