Fix number 2

svn path=/branches/ros-amd64-bringup/; revision=44504
This commit is contained in:
Timo Kreuzer
2009-12-10 00:51:35 +00:00
parent 9a8e8247d8
commit c7b2342d5c
+2 -2
View File
@@ -169,7 +169,7 @@ KeUserModeCallback(IN ULONG RoutineIndex,
/* Save the exception list */
Teb = KeGetCurrentThread()->Teb;
ExceptionList = Teb->Tib.ExceptionList;
ExceptionList = Teb->NtTib.ExceptionList;
/* Jump to user mode */
*UserEsp = NewStack;
@@ -177,7 +177,7 @@ KeUserModeCallback(IN ULONG RoutineIndex,
if (CallbackStatus != STATUS_CALLBACK_POP_STACK)
{
/* Only restore the exception list if we didn't crash in ring 3 */
Teb->Tib.ExceptionList = ExceptionList;
Teb->NtTib.ExceptionList = ExceptionList;
CallbackStatus = STATUS_SUCCESS;
}
else