Author: sginsberg
Date: Wed Aug 13 13:00:23 2008
New Revision: 35310
URL:
http://svn.reactos.org/svn/reactos?rev=35310&view=rev
Log:
- Fix MiSyncThreadProcessViews in KeInitThread too as requested by Alex
Modified:
trunk/reactos/ntoskrnl/ke/thrdobj.c
Modified: trunk/reactos/ntoskrnl/ke/thrdobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/thrdobj.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/thrdobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/thrdobj.c [iso-8859-1] Wed Aug 13 13:00:23 2008
@@ -813,7 +813,8 @@
/* Make sure that we are in the right page directory */
MiSyncThreadProcessViews(Process,
(PVOID)Thread->StackLimit,
- KERNEL_STACK_SIZE);
+ Thread->LargeStack ?
+ KERNEL_LARGE_STACK_SIZE : KERNEL_STACK_SIZE);
MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
/* Enter SEH to avoid crashes due to user mode */