[ros-diffs] [cgutman] 56040: [NEWCC] - Tag NewCC sections as ROS section objects so they don't get pulled into ARM3 code paths

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Mar 5 17:35:07 UTC 2012


Author: cgutman
Date: Mon Mar  5 17:35:07 2012
New Revision: 56040

URL: http://svn.reactos.org/svn/reactos?rev=56040&view=rev
Log:
[NEWCC]
- Tag NewCC sections as ROS section objects so they don't get pulled into ARM3 code paths

Modified:
    trunk/reactos/ntoskrnl/cache/section/data.c

Modified: trunk/reactos/ntoskrnl/cache/section/data.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/data.c?rev=56040&r1=56039&r2=56040&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] Mon Mar  5 17:35:07 2012
@@ -361,6 +361,8 @@
     * Initialize it
     */
    RtlZeroMemory(Section, sizeof(ROS_SECTION_OBJECT));
+   Section->Type = 'SC';
+   Section->Size = 'TN';
    Section->SectionPageProtection = SectionPageProtection;
    Section->AllocationAttributes = AllocationAttributes;
    Section->Segment = NULL;




More information about the Ros-diffs mailing list