Revision b09ea7d5 cpu-exec.c

b/cpu-exec.c
380 380
                    }
381 381
#endif
382 382
#if defined(TARGET_I386)
383
                    if (env->hflags2 & HF2_GIF_MASK) {
383
                    if (interrupt_request & CPU_INTERRUPT_INIT) {
384
                            svm_check_intercept(SVM_EXIT_INIT);
385
                            do_cpu_init(env);
386
                            env->exception_index = EXCP_HALTED;
387
                            cpu_loop_exit();
388
                    } else if (interrupt_request & CPU_INTERRUPT_SIPI) {
389
                            do_cpu_sipi(env);
390
                    } else if (env->hflags2 & HF2_GIF_MASK) {
384 391
                        if ((interrupt_request & CPU_INTERRUPT_SMI) &&
385 392
                            !(env->hflags & HF_SMM_MASK)) {
386 393
                            svm_check_intercept(SVM_EXIT_SMI);

Also available in: Unified diff