mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
moved halted field to CPU_COMMON
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4609 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d377440d74
commit
ce5232c5c2
16 changed files with 11 additions and 28 deletions
|
@ -314,21 +314,15 @@ static void do_info_cpus(void)
|
|||
env->cpu_index);
|
||||
#if defined(TARGET_I386)
|
||||
term_printf(" pc=0x" TARGET_FMT_lx, env->eip + env->segs[R_CS].base);
|
||||
if (env->hflags & HF_HALTED_MASK)
|
||||
term_printf(" (halted)");
|
||||
#elif defined(TARGET_PPC)
|
||||
term_printf(" nip=0x" TARGET_FMT_lx, env->nip);
|
||||
if (env->halted)
|
||||
term_printf(" (halted)");
|
||||
#elif defined(TARGET_SPARC)
|
||||
term_printf(" pc=0x" TARGET_FMT_lx " npc=0x" TARGET_FMT_lx, env->pc, env->npc);
|
||||
if (env->halted)
|
||||
term_printf(" (halted)");
|
||||
#elif defined(TARGET_MIPS)
|
||||
term_printf(" PC=0x" TARGET_FMT_lx, env->PC[env->current_tc]);
|
||||
#endif
|
||||
if (env->halted)
|
||||
term_printf(" (halted)");
|
||||
#endif
|
||||
term_printf("\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue