projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c299c
)
- MmMapViewOfSection: Segment size must be a multiple of page size, so round ViewSize...
author
Michael Martin
<michael.martin@reactos.org>
Fri, 8 May 2009 14:12:12 +0000
(14:12 +0000)
committer
Michael Martin
<michael.martin@reactos.org>
Fri, 8 May 2009 14:12:12 +0000
(14:12 +0000)
OllyDbg now shows loaded dll's in memory and can step into dlls.
svn path=/trunk/; revision=40838
reactos/ntoskrnl/mm/section.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/section.c
b/reactos/ntoskrnl/mm/section.c
index
36ff4ef
..
cf3bac7
100644
(file)
--- a/
reactos/ntoskrnl/mm/section.c
+++ b/
reactos/ntoskrnl/mm/section.c
@@
-4690,6
+4690,8
@@
MmMapViewOfSection(IN PVOID SectionObject,
(*ViewSize) = Section->MaximumSize.u.LowPart - ViewOffset;
}
+ *ViewSize = PAGE_ROUND_UP(*ViewSize);
+
MmLockSectionSegment(Section->Segment);
Status = MmMapViewOfSegment(AddressSpace,
Section,