Revision 3b21e03e cpu-exec.c

b/cpu-exec.c
458 458
                interrupt_request = env->interrupt_request;
459 459
                if (__builtin_expect(interrupt_request, 0)) {
460 460
#if defined(TARGET_I386)
461
                    /* if hardware interrupt pending, we execute it */
462
                    if ((interrupt_request & CPU_INTERRUPT_HARD) &&
461
                    if ((interrupt_request & CPU_INTERRUPT_SMI) &&
462
                        !(env->hflags & HF_SMM_MASK)) {
463
                        env->interrupt_request &= ~CPU_INTERRUPT_SMI;
464
                        do_smm_enter();
465
#if defined(__sparc__) && !defined(HOST_SOLARIS)
466
                        tmp_T0 = 0;
467
#else
468
                        T0 = 0;
469
#endif
470
                    } else if ((interrupt_request & CPU_INTERRUPT_HARD) &&
463 471
                        (env->eflags & IF_MASK) && 
464 472
                        !(env->hflags & HF_INHIBIT_IRQ_MASK)) {
465 473
                        int intno;

Also available in: Unified diff