More fixes

svn path=/trunk/; revision=2437
This commit is contained in:
David Welch 2001-12-27 00:00:11 +00:00
parent ff9a3a9a79
commit 48149a428f

View file

@ -219,7 +219,6 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress,
{
ULONG i;
ULONG Reserved;
ULONG ReservedGap;
NTSTATUS Status;
DPRINT("MmInitializePageList(FirstPhysKernelAddress %x, "
@ -243,7 +242,7 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress,
DPRINT("Reserved %d\n", Reserved);
LastKernelAddress = PAGE_ROUND_UP(LastKernelAddress);
LastKernelAddress = ((ULONG)LastKernelAddress + (ReservedGap * PAGESIZE));
LastKernelAddress = ((ULONG)LastKernelAddress + (Reserved * PAGESIZE));
LastPhysKernelAddress = (PVOID)PAGE_ROUND_UP(LastPhysKernelAddress);
LastPhysKernelAddress = LastPhysKernelAddress + (Reserved * PAGESIZE);