mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Allocate the section object from non paged pool because the storage for a spin lock must be in non paged memory.
svn path=/trunk/; revision=15818
This commit is contained in:
parent
9ea1665416
commit
5e938a6c68
1 changed files with 2 additions and 2 deletions
|
@ -2123,8 +2123,8 @@ MmInitSectionImplementation(VOID)
|
|||
RtlZeroMemory(&ObjectTypeInitializer, sizeof(ObjectTypeInitializer));
|
||||
RtlInitUnicodeString(&Name, L"Section");
|
||||
ObjectTypeInitializer.Length = sizeof(ObjectTypeInitializer);
|
||||
ObjectTypeInitializer.DefaultPagedPoolCharge = sizeof(SECTION_OBJECT);
|
||||
ObjectTypeInitializer.PoolType = PagedPool;
|
||||
ObjectTypeInitializer.DefaultNonPagedPoolCharge = sizeof(SECTION_OBJECT);
|
||||
ObjectTypeInitializer.PoolType = NonPagedPool;
|
||||
ObjectTypeInitializer.UseDefaultObject = TRUE;
|
||||
ObjectTypeInitializer.GenericMapping = MmpSectionMapping;
|
||||
ObjectTypeInitializer.DeleteProcedure = MmpDeleteSection;
|
||||
|
|
Loading…
Reference in a new issue