From 9234774efeaa1be83dfc36e2c3f47f22a9b1a4f1 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 5 Mar 2012 17:35:07 +0000 Subject: [PATCH] [NEWCC] - Tag NewCC sections as ROS section objects so they don't get pulled into ARM3 code paths svn path=/trunk/; revision=56040 --- reactos/ntoskrnl/cache/section/data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/cache/section/data.c b/reactos/ntoskrnl/cache/section/data.c index 6d2451d03a7..3808b6de445 100644 --- a/reactos/ntoskrnl/cache/section/data.c +++ b/reactos/ntoskrnl/cache/section/data.c @@ -361,6 +361,8 @@ MmCreateCacheSection(PROS_SECTION_OBJECT *SectionObject, * Initialize it */ RtlZeroMemory(Section, sizeof(ROS_SECTION_OBJECT)); + Section->Type = 'SC'; + Section->Size = 'TN'; Section->SectionPageProtection = SectionPageProtection; Section->AllocationAttributes = AllocationAttributes; Section->Segment = NULL;