mirror of
https://github.com/reactos/reactos.git
synced 2024-07-23 20:58:16 +00:00
[NEWCC]
- Tag NewCC sections as ROS section objects so they don't get pulled into ARM3 code paths svn path=/trunk/; revision=56040
This commit is contained in:
parent
e4e166e6ae
commit
9234774efe
2
reactos/ntoskrnl/cache/section/data.c
vendored
2
reactos/ntoskrnl/cache/section/data.c
vendored
|
@ -361,6 +361,8 @@ MmCreateCacheSection(PROS_SECTION_OBJECT *SectionObject,
|
||||||
* Initialize it
|
* Initialize it
|
||||||
*/
|
*/
|
||||||
RtlZeroMemory(Section, sizeof(ROS_SECTION_OBJECT));
|
RtlZeroMemory(Section, sizeof(ROS_SECTION_OBJECT));
|
||||||
|
Section->Type = 'SC';
|
||||||
|
Section->Size = 'TN';
|
||||||
Section->SectionPageProtection = SectionPageProtection;
|
Section->SectionPageProtection = SectionPageProtection;
|
||||||
Section->AllocationAttributes = AllocationAttributes;
|
Section->AllocationAttributes = AllocationAttributes;
|
||||||
Section->Segment = NULL;
|
Section->Segment = NULL;
|
||||||
|
|
Loading…
Reference in a new issue