Commit 60ea3b61371387dbb34c584076da690c0d873302
1 parent
fab94c0e
Fix A20 debug dumps.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4556 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-i386/helper2.c
... | ... | @@ -513,7 +513,7 @@ void cpu_dump_state(CPUState *env, FILE *f, |
513 | 513 | eflags & CC_C ? 'C' : '-', |
514 | 514 | env->hflags & HF_CPL_MASK, |
515 | 515 | (env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1, |
516 | - (env->a20_mask >> 20) & 1, | |
516 | + (int)(env->a20_mask >> 20) & 1, | |
517 | 517 | (env->hflags >> HF_SMM_SHIFT) & 1, |
518 | 518 | (env->hflags >> HF_HALTED_SHIFT) & 1); |
519 | 519 | } else |
... | ... | @@ -540,7 +540,7 @@ void cpu_dump_state(CPUState *env, FILE *f, |
540 | 540 | eflags & CC_C ? 'C' : '-', |
541 | 541 | env->hflags & HF_CPL_MASK, |
542 | 542 | (env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1, |
543 | - (env->a20_mask >> 20) & 1, | |
543 | + (int)(env->a20_mask >> 20) & 1, | |
544 | 544 | (env->hflags >> HF_SMM_SHIFT) & 1, |
545 | 545 | (env->hflags >> HF_HALTED_SHIFT) & 1); |
546 | 546 | } | ... | ... |