Commit in reactos/ntoskrnl/ps on ros-branch-0_2_4
w32call.c+4-11.14 -> 1.14.2.1
- Establish the pde's for the callback stack if the stack was recycled from the list.

reactos/ntoskrnl/ps
w32call.c 1.14 -> 1.14.2.1
diff -u -r1.14 -r1.14.2.1
--- w32call.c	15 Aug 2004 16:39:10 -0000	1.14
+++ w32call.c	27 Aug 2004 10:44:26 -0000	1.14.2.1
@@ -1,4 +1,4 @@
-/* $Id: w32call.c,v 1.14 2004/08/15 16:39:10 chorns Exp $
+/* $Id: w32call.c,v 1.14.2.1 2004/08/27 10:44:26 hbirr Exp $
  *
  * COPYRIGHT:              See COPYING in the top level directory
  * PROJECT:                ReactOS kernel
@@ -277,6 +277,9 @@
       AssignedStack = CONTAINING_RECORD(StackEntry, NTW32CALL_CALLBACK_STACK, 
 					ListEntry);
       NewStack = AssignedStack->BaseAddress;
+      
+      MmUpdatePageDir(PsGetCurrentProcess(), NewStack, StackSize);
+
     }
   /* FIXME: Need to check whether we were interrupted from v86 mode. */
   memcpy((char*)NewStack + StackSize - sizeof(KTRAP_FRAME), Thread->Tcb.TrapFrame,
CVSspam 0.2.8