Author: fireball Date: Fri Mar 7 21:49:38 2008 New Revision: 32606
URL: http://svn.reactos.org/svn/reactos?rev=3D32606&view=3Drev Log: - Remove ugly hack from gdiobj.c, official sorry to Timo Kreuzer, his chang= es were perfect! - Temporary disable MPW thread shutdown and forcing page flush, since it re= sults in memory corruption.
Modified: trunk/reactos/ntoskrnl/mm/mminit.c trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
Modified: trunk/reactos/ntoskrnl/mm/mminit.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mminit.c?= rev=3D32606&r1=3D32605&r2=3D32606&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/reactos/ntoskrnl/mm/mminit.c (original) +++ trunk/reactos/ntoskrnl/mm/mminit.c Fri Mar 7 21:49:38 2008 @@ -73,6 +73,7 @@ NTAPI MiShutdownMemoryManager(VOID) { +#if 0 ULONG PagesWritten; PETHREAD Thread; =
@@ -100,6 +101,7 @@ There will be no other chance to do this later, since filesystems are going to be shut down. */ CcRosFlushDirtyPages(128, &PagesWritten); +#endif } =
VOID
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win3= 2k/objects/gdiobj.c?rev=3D32606&r1=3D32605&r2=3D32606&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c Fri Mar 7 21:49= :38 2008 @@ -1318,16 +1318,6 @@ { POBJ Object =3D Entry->KernelData; =
- /* HACK: Introduced very recently, probably by Timo's chan= ges */ - if ((ULONG_PTR)Object < 0x80000000) - { - DPRINT1("KernelData is invalid (%p) for Entry %p!!!\n", - Object, Entry); - - /* Hopefully someone is going to solve this issue */ - return; - } - PrevThread =3D Object->Tid; if (Object->cExclusiveLock =3D=3D 0 || PrevThread =3D=3D T= hread) {