mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[NTOSKRNL/KE]
- Correctly return whether there is a kernel APC pending in KiSwapContextExit. Fixes IRQL asserts seen in bugs 5955 and 5777. Michael Martin's help in finding and fixing this bug was invaluable. Also thanks to Art Yerkes and testing team for additional information. See issue #5955 for more details. svn path=/trunk/; revision=51445
This commit is contained in:
parent
28b188a8e9
commit
0e5118d97b
1 changed files with 5 additions and 3 deletions
|
@ -397,12 +397,14 @@ KiSwapContextExit(IN PKTHREAD OldThread,
|
|||
if (!NewThread->SpecialApcDisable)
|
||||
{
|
||||
/* Request APC delivery */
|
||||
if (SwitchFrame->ApcBypassDisable) HalRequestSoftwareInterrupt(APC_LEVEL);
|
||||
return TRUE;
|
||||
if (SwitchFrame->ApcBypassDisable)
|
||||
HalRequestSoftwareInterrupt(APC_LEVEL);
|
||||
else
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Return */
|
||||
/* Return stating that no kernel APCs are pending*/
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue