mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Checked in Petr Matousek's APC fix.
svn path=/trunk/; revision=5183
This commit is contained in:
parent
4c772af134
commit
ae921ed9bb
1 changed files with 8 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: irq.c,v 1.33 2003/07/11 01:23:15 royce Exp $
|
||||
/* $Id: irq.c,v 1.34 2003/07/20 12:14:46 dwelch Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/i386/irq.c
|
||||
|
@ -526,6 +526,13 @@ KiInterruptDispatch (ULONG irq, PKIRQ_TRAPFRAME Trapframe)
|
|||
__asm__("cli\n\t");
|
||||
HalEndSystemInterrupt (old_level, 0);
|
||||
|
||||
if (old_level==PASSIVE_LEVEL && CurrentThread!=NULL &&
|
||||
CurrentThread->Alerted[1] != 0 &&
|
||||
CurrentThread->TrapFrame->Cs != KERNEL_CS)
|
||||
{
|
||||
KiDeliverNormalApc();
|
||||
}
|
||||
|
||||
assert(KeGetCurrentThread() == CurrentThread);
|
||||
if (NULL != CurrentThread && CurrentThread->TrapFrame == &KernelTrapFrame)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue