target/i386/smm_helper: Perform comparison pass with qemu

Ensure code and formatting stay in sync where relevant
This commit is contained in:
Lioncash 2018-03-12 13:25:36 -04:00
parent 73426a7e79
commit 27c283bb3c
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -59,7 +59,6 @@ void do_smm_enter(X86CPU *cpu)
} else {
env->hflags2 |= HF2_NMI_MASK;
}
cpu_smm_update(env);
sm_state = env->smbase + 0x8000;
@ -323,7 +322,6 @@ void helper_rsm(CPUX86State *env)
}
env->hflags2 &= ~HF2_SMM_INSIDE_NMI_MASK;
env->hflags &= ~HF_SMM_MASK;
cpu_smm_update(env);
qemu_log_mask(CPU_LOG_INT, "SMM: after RSM\n");
log_cpu_state_mask(CPU_LOG_INT, CPU(cpu), CPU_DUMP_CCOP);