[ros-diffs] [akorotaev] 31579: It seems, bugcheck was caused by lack of this line, which somehow been lost while merging
akorotaev at svn.reactos.org
akorotaev at svn.reactos.org
Thu Jan 3 01:08:19 CET 2008
Author: akorotaev
Date: Thu Jan 3 03:08:18 2008
New Revision: 31579
URL: http://svn.reactos.org/svn/reactos?rev=31579&view=rev
Log:
It seems, bugcheck was caused by lack of this line, which somehow been lost while merging
Modified:
branches/cache_manager_rewrite/mm/section.c
Modified: branches/cache_manager_rewrite/mm/section.c
URL: http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/section.c?rev=31579&r1=31578&r2=31579&view=diff
==============================================================================
--- branches/cache_manager_rewrite/mm/section.c (original)
+++ branches/cache_manager_rewrite/mm/section.c Thu Jan 3 03:08:18 2008
@@ -2492,6 +2492,8 @@
Context.Segment = MemoryArea->Data.SectionData.Segment;
Context.Section = MemoryArea->Data.SectionData.Section;
+ Context.Consumer = MemoryArea->Type == MEMORY_AREA_CACHE_SEGMENT ? MC_CACHE : MC_USER;
+
Context.Offset = (ULONG_PTR)Address - (ULONG_PTR)MemoryArea->StartingAddress
+ MemoryArea->Data.SectionData.ViewOffset;
FileOffset = Context.Offset + Context.Segment->FileOffset;
More information about the Ros-diffs
mailing list