mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
- Establish the pde's for the callback stack if the stack was recycled from the list.
svn path=/trunk/; revision=10705
This commit is contained in:
parent
16a24538c2
commit
1a80e84bb2
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: w32call.c,v 1.14 2004/08/15 16:39:10 chorns Exp $
|
||||
/* $Id: w32call.c,v 1.15 2004/08/27 10:25:46 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -277,6 +277,9 @@ NtW32Call (IN ULONG RoutineIndex,
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue