[NTOSKRNL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 26 Nov 2013 21:38:02 +0000 (21:38 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 26 Nov 2013 21:38:02 +0000 (21:38 +0000)
commit543797fee3b88b652e167bb75a100212333b6a45
tree20afba7ea66cc05eeecdf539ef2e5feeaf02fd18
parentac56ce2849ab245c08feb30e4b0b1b836e05cec8
[NTOSKRNL]
- Remove the BoundaryAddressMultiple parameter from MmCreateMemoryArea (wasn't used) and give it instead a Granularity parameter
- Use the Granularity parameter in MmMapViewOfSegment to make sure that full sections are allocated on a MM_ALLOCATION_GRANULARITY aligned address.
- Check for overflow and unaligned image base in MmMapViewOfSection when mapping image sections
- Return proper status code on failure

svn path=/trunk/; revision=61108
reactos/ntoskrnl/cache/section/data.c
reactos/ntoskrnl/cc/view.c
reactos/ntoskrnl/include/internal/mm.h
reactos/ntoskrnl/mm/ARM3/procsup.c
reactos/ntoskrnl/mm/ARM3/vadnode.c
reactos/ntoskrnl/mm/arm/stubs.c
reactos/ntoskrnl/mm/i386/pagepae.c
reactos/ntoskrnl/mm/marea.c
reactos/ntoskrnl/mm/mminit.c
reactos/ntoskrnl/mm/section.c