mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
More fixes
svn path=/trunk/; revision=2437
This commit is contained in:
parent
ff9a3a9a79
commit
48149a428f
1 changed files with 1 additions and 2 deletions
|
@ -219,7 +219,6 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress,
|
||||||
{
|
{
|
||||||
ULONG i;
|
ULONG i;
|
||||||
ULONG Reserved;
|
ULONG Reserved;
|
||||||
ULONG ReservedGap;
|
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
DPRINT("MmInitializePageList(FirstPhysKernelAddress %x, "
|
DPRINT("MmInitializePageList(FirstPhysKernelAddress %x, "
|
||||||
|
@ -243,7 +242,7 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress,
|
||||||
DPRINT("Reserved %d\n", Reserved);
|
DPRINT("Reserved %d\n", Reserved);
|
||||||
|
|
||||||
LastKernelAddress = PAGE_ROUND_UP(LastKernelAddress);
|
LastKernelAddress = PAGE_ROUND_UP(LastKernelAddress);
|
||||||
LastKernelAddress = ((ULONG)LastKernelAddress + (ReservedGap * PAGESIZE));
|
LastKernelAddress = ((ULONG)LastKernelAddress + (Reserved * PAGESIZE));
|
||||||
LastPhysKernelAddress = (PVOID)PAGE_ROUND_UP(LastPhysKernelAddress);
|
LastPhysKernelAddress = (PVOID)PAGE_ROUND_UP(LastPhysKernelAddress);
|
||||||
LastPhysKernelAddress = LastPhysKernelAddress + (Reserved * PAGESIZE);
|
LastPhysKernelAddress = LastPhysKernelAddress + (Reserved * PAGESIZE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue