Fix A20 debug dumps.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4556 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fab94c0e98
commit
60ea3b6137
|
@ -513,7 +513,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
|
||||||
eflags & CC_C ? 'C' : '-',
|
eflags & CC_C ? 'C' : '-',
|
||||||
env->hflags & HF_CPL_MASK,
|
env->hflags & HF_CPL_MASK,
|
||||||
(env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1,
|
(env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1,
|
||||||
(env->a20_mask >> 20) & 1,
|
(int)(env->a20_mask >> 20) & 1,
|
||||||
(env->hflags >> HF_SMM_SHIFT) & 1,
|
(env->hflags >> HF_SMM_SHIFT) & 1,
|
||||||
(env->hflags >> HF_HALTED_SHIFT) & 1);
|
(env->hflags >> HF_HALTED_SHIFT) & 1);
|
||||||
} else
|
} else
|
||||||
|
@ -540,7 +540,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
|
||||||
eflags & CC_C ? 'C' : '-',
|
eflags & CC_C ? 'C' : '-',
|
||||||
env->hflags & HF_CPL_MASK,
|
env->hflags & HF_CPL_MASK,
|
||||||
(env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1,
|
(env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1,
|
||||||
(env->a20_mask >> 20) & 1,
|
(int)(env->a20_mask >> 20) & 1,
|
||||||
(env->hflags >> HF_SMM_SHIFT) & 1,
|
(env->hflags >> HF_SMM_SHIFT) & 1,
|
||||||
(env->hflags >> HF_HALTED_SHIFT) & 1);
|
(env->hflags >> HF_HALTED_SHIFT) & 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue