From d2816c649196608b6f31754bb3e8cde5e0eab8d1 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 5 Sep 2007 08:20:03 +0000 Subject: [PATCH] - Fix a typo in the code (thanks to "zimme" for spotting). svn path=/trunk/; revision=28868 --- reactos/ntoskrnl/mm/freelist.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/mm/freelist.c b/reactos/ntoskrnl/mm/freelist.c index cc158571ed1..3625da4b25a 100644 --- a/reactos/ntoskrnl/mm/freelist.c +++ b/reactos/ntoskrnl/mm/freelist.c @@ -457,12 +457,12 @@ MmInitializePageList(ULONG_PTR FirstPhysKernelAddress, /* * Page two is reserved for the KUSER_SHARED_DATA */ - MmPageArray[1].Flags.Type = MM_PHYSICAL_PAGE_BIOS; - MmPageArray[1].Flags.Consumer = MC_NPPOOL; - MmPageArray[1].Flags.Zero = 0; - MmPageArray[1].ReferenceCount = 0; + MmPageArray[2].Flags.Type = MM_PHYSICAL_PAGE_BIOS; + MmPageArray[2].Flags.Consumer = MC_NPPOOL; + MmPageArray[2].Flags.Zero = 0; + MmPageArray[2].ReferenceCount = 0; InsertTailList(&BiosPageListHead, - &MmPageArray[1].ListEntry); + &MmPageArray[2].ListEntry); MmStats.NrReservedPages++; } /* Protect the Page Directory. This will be changed in r3 */