mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
[NTOS]: Use allocation attribute 0x1 instead of 0xC0000000 to let RosMm know this is an ARM3 section. 0xC0000000 is actually a valid combination of SEC_ flags, 0x1 is illegal and thus recognized.
svn path=/trunk/; revision=49205
This commit is contained in:
parent
785baaf68e
commit
20d602d71f
|
@ -4902,7 +4902,7 @@ MmCreateSection (OUT PVOID * Section,
|
|||
PROS_SECTION_OBJECT *SectionObject = (PROS_SECTION_OBJECT *)Section;
|
||||
|
||||
/* Check if an ARM3 section is being created instead */
|
||||
if (AllocationAttributes & 0xC0000000)
|
||||
if (AllocationAttributes & 1)
|
||||
{
|
||||
DPRINT1("arm 3 path\n");
|
||||
return MmCreateArm3Section(Section,
|
||||
|
@ -4910,7 +4910,7 @@ MmCreateSection (OUT PVOID * Section,
|
|||
ObjectAttributes,
|
||||
MaximumSize,
|
||||
SectionPageProtection,
|
||||
AllocationAttributes &~ 0xC0000000,
|
||||
AllocationAttributes &~ 1,
|
||||
FileHandle,
|
||||
File);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue