/openbmc/qemu/target/s390x/ |
H A D | cpu-dump.c | 33 qemu_fprintf(f, "PSW=mask %016" PRIx64 " addr %016" PRIx64, in s390_cpu_dump_state() 36 qemu_fprintf(f, "\n"); in s390_cpu_dump_state() 38 qemu_fprintf(f, " cc %15s\n", cc_name(env->cc_op)); in s390_cpu_dump_state() 40 qemu_fprintf(f, " cc %02x\n", env->cc_op); in s390_cpu_dump_state() 44 qemu_fprintf(f, "R%02d=%016" PRIx64, i, env->regs[i]); in s390_cpu_dump_state() 46 qemu_fprintf(f, "\n"); in s390_cpu_dump_state() 48 qemu_fprintf(f, " "); in s390_cpu_dump_state() 61 qemu_fprintf(f, "F%02d=%016" PRIx64 "%c", in s390_cpu_dump_state() 72 qemu_fprintf(f, "\n"); in s390_cpu_dump_state() 74 qemu_fprintf(f, " "); in s390_cpu_dump_state() [all …]
|
/openbmc/qemu/target/i386/ |
H A D | cpu-dump.c | 117 qemu_fprintf(f, " DPL=%d ", in cpu_x86_dump_seg_cache() 126 qemu_fprintf(f, (sc->flags & DESC_B_MASK in cpu_x86_dump_seg_cache() 148 qemu_fprintf(f, "%s", in cpu_x86_dump_seg_cache() 153 qemu_fprintf(f, "\n"); in cpu_x86_dump_seg_cache() 443 qemu_fprintf(f, "GDT= %08x %08x\n", in x86_cpu_dump_state() 445 qemu_fprintf(f, "IDT= %08x %08x\n", in x86_cpu_dump_state() 476 qemu_fprintf(f, "EFER=%016" PRIx64 "\n", env->efer); in x86_cpu_dump_state() 501 qemu_fprintf(f, "\n"); in x86_cpu_dump_state() 503 qemu_fprintf(f, " "); in x86_cpu_dump_state() 556 qemu_fprintf(f, "Code="); in x86_cpu_dump_state() [all …]
|
/openbmc/qemu/target/avr/ |
H A D | cpu.c | 167 qemu_fprintf(f, "\n"); in avr_cpu_dump_state() 169 qemu_fprintf(f, "SP: %04x\n", env->sp); in avr_cpu_dump_state() 170 qemu_fprintf(f, "rampD: %02x\n", env->rampD >> 16); in avr_cpu_dump_state() 171 qemu_fprintf(f, "rampX: %02x\n", env->rampX >> 16); in avr_cpu_dump_state() 172 qemu_fprintf(f, "rampY: %02x\n", env->rampY >> 16); in avr_cpu_dump_state() 173 qemu_fprintf(f, "rampZ: %02x\n", env->rampZ >> 16); in avr_cpu_dump_state() 174 qemu_fprintf(f, "EIND: %02x\n", env->eind >> 16); in avr_cpu_dump_state() 187 qemu_fprintf(f, "SKIP: %02x\n", env->skip); in avr_cpu_dump_state() 189 qemu_fprintf(f, "\n"); in avr_cpu_dump_state() 194 qemu_fprintf(f, "\n"); in avr_cpu_dump_state() [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | cpu.c | 136 qemu_fprintf(f, " v%d = ( ", regnum); in print_vreg() 141 qemu_fprintf(f, " )\n"); in print_vreg() 165 qemu_fprintf(f, " q%d = ( ", regnum); in print_qreg() 166 qemu_fprintf(f, "0x%02x", in print_qreg() 171 qemu_fprintf(f, " )\n"); in print_qreg() 214 qemu_fprintf(f, " cause = 0x000000db\n"); in hexagon_dump() 215 qemu_fprintf(f, " badva = 0x00000000\n"); in hexagon_dump() 216 qemu_fprintf(f, " cs0 = 0x00000000\n"); in hexagon_dump() 217 qemu_fprintf(f, " cs1 = 0x00000000\n"); in hexagon_dump() 224 qemu_fprintf(f, "}\n"); in hexagon_dump() [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | helper.c | 133 qemu_fprintf(f, "IA_F %08" PRIx64 ":%0*" PRIx64 " (" TARGET_FMT_lx ")\n" in hppa_cpu_dump_state() 162 qemu_fprintf(f, "PSW %0*" PRIx64 " CB %0*" PRIx64 " %s\n", in hppa_cpu_dump_state() 166 qemu_fprintf(f, "GR%02d %0*" PRIx64 "%c", in hppa_cpu_dump_state() 172 qemu_fprintf(f, "%-4s %0*" PRIx64 "%c", in hppa_cpu_dump_state() 176 qemu_fprintf(f, "ISQB %0*" PRIx64 " IOQB %0*" PRIx64 "\n", in hppa_cpu_dump_state() 179 qemu_fprintf(f, "SR%02d %08x%c", i, (uint32_t)(env->sr[i] >> 32), in hppa_cpu_dump_state() 203 qemu_fprintf(f, "FPSR %08x flag %s enable %s %s\n", in hppa_cpu_dump_state() 207 qemu_fprintf(f, "FR%02d %016" PRIx64 "%c", in hppa_cpu_dump_state() 212 qemu_fprintf(f, "\n"); in hppa_cpu_dump_state()
|
/openbmc/qemu/target/sparc/ |
H A D | cpu.c | 606 qemu_fprintf(f, "%c%c%c%c", cc & PSR_NEG ? 'N' : '-', in cpu_print_cc() 629 qemu_fprintf(f, " " TARGET_FMT_lx, env->gregs[i]); in sparc_cpu_dump_state() 631 qemu_fprintf(f, "\n"); in sparc_cpu_dump_state() 637 qemu_fprintf(f, "%%%c%d-%d: ", in sparc_cpu_dump_state() 643 qemu_fprintf(f, "\n"); in sparc_cpu_dump_state() 651 qemu_fprintf(f, "%%f%02d: ", i * 2); in sparc_cpu_dump_state() 653 qemu_fprintf(f, " %016" PRIx64, env->fpr[i].ll); in sparc_cpu_dump_state() 655 qemu_fprintf(f, "\n"); in sparc_cpu_dump_state() 664 qemu_fprintf(f, " xcc: "); in sparc_cpu_dump_state() 678 qemu_fprintf(f, "psr: %08x (icc: ", cpu_get_psr(env)); in sparc_cpu_dump_state() [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu.c | 693 qemu_fprintf(f, " PC=%016" PRIx64 " ", env->pc); in loongarch_cpu_dump_state() 694 qemu_fprintf(f, " FCSR0 0x%08x\n", env->fcsr0); in loongarch_cpu_dump_state() 699 qemu_fprintf(f, " GPR%02d:", i); in loongarch_cpu_dump_state() 703 qemu_fprintf(f, "\n"); in loongarch_cpu_dump_state() 707 qemu_fprintf(f, "CRMD=%016" PRIx64 "\n", env->CSR_CRMD); in loongarch_cpu_dump_state() 708 qemu_fprintf(f, "PRMD=%016" PRIx64 "\n", env->CSR_PRMD); in loongarch_cpu_dump_state() 709 qemu_fprintf(f, "EUEN=%016" PRIx64 "\n", env->CSR_EUEN); in loongarch_cpu_dump_state() 711 qemu_fprintf(f, "ERA=%016" PRIx64 "\n", env->CSR_ERA); in loongarch_cpu_dump_state() 712 qemu_fprintf(f, "BADV=%016" PRIx64 "\n", env->CSR_BADV); in loongarch_cpu_dump_state() 713 qemu_fprintf(f, "BADI=%016" PRIx64 "\n", env->CSR_BADI); in loongarch_cpu_dump_state() [all …]
|
/openbmc/qemu/target/mips/ |
H A D | cpu.c | 58 qemu_fprintf(f, "w:%08x d:%016" PRIx64 " fd:%13g fs:%13g psu:%13g\n", in fpu_dump_fpr() 71 qemu_fprintf(f, in fpu_dump_state() 76 qemu_fprintf(f, "%3s: ", fregnames[i]); in fpu_dump_state() 86 qemu_fprintf(f, "pc=0x" TARGET_FMT_lx " HI=0x" TARGET_FMT_lx in mips_cpu_dump_state() 93 qemu_fprintf(f, "GPR%02d:", i); in mips_cpu_dump_state() 95 qemu_fprintf(f, " %s " TARGET_FMT_lx, in mips_cpu_dump_state() 98 qemu_fprintf(f, "\n"); in mips_cpu_dump_state() 102 qemu_fprintf(f, "CP0 Status 0x%08x Cause 0x%08x EPC 0x" in mips_cpu_dump_state() 105 qemu_fprintf(f, " Config0 0x%08x Config1 0x%08x LLAddr 0x%016" in mips_cpu_dump_state() 108 qemu_fprintf(f, " Config2 0x%08x Config3 0x%08x\n", in mips_cpu_dump_state() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | helper.c | 490 qemu_fprintf(f, "PC " TARGET_FMT_lx " PS %02x\n", in alpha_cpu_dump_state() 493 qemu_fprintf(f, "%-8s" TARGET_FMT_lx "%c", in alpha_cpu_dump_state() 498 qemu_fprintf(f, "lock_a " TARGET_FMT_lx " lock_v " TARGET_FMT_lx "\n", in alpha_cpu_dump_state() 503 qemu_fprintf(f, "f%-7d%016" PRIx64 "%c", i, env->fir[i], in alpha_cpu_dump_state() 506 qemu_fprintf(f, "fpcr %016" PRIx64 "\n", cpu_alpha_load_fpcr(env)); in alpha_cpu_dump_state() 508 qemu_fprintf(f, "\n"); in alpha_cpu_dump_state()
|
/openbmc/qemu/target/arm/ |
H A D | cpu.c | 1226 qemu_fprintf(f, " PC=%016" PRIx64 " ", env->pc); in aarch64_cpu_dump_state() 1241 qemu_fprintf(f, "PSTATE=%08x %c%c%c%c %sEL%d%c", in aarch64_cpu_dump_state() 1260 qemu_fprintf(f, "%s%s%s", in aarch64_cpu_dump_state() 1265 qemu_fprintf(f, "\n"); in aarch64_cpu_dump_state() 1269 qemu_fprintf(f, " FPU disabled\n"); in aarch64_cpu_dump_state() 1272 qemu_fprintf(f, " FPCR=%08x FPSR=%08x\n", in aarch64_cpu_dump_state() 1289 qemu_fprintf(f, "FFR="); in aarch64_cpu_dump_state() 1293 qemu_fprintf(f, "P%02d=", i); in aarch64_cpu_dump_state() 1336 qemu_fprintf(f, "Z%02d=", i); in aarch64_cpu_dump_state() 1395 qemu_fprintf(f, "\n"); in arm_cpu_dump_state() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | qemu-print.h | 21 int qemu_fprintf(FILE *stream, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
|
/openbmc/qemu/util/ |
H A D | qemu-print.c | 61 int qemu_fprintf(FILE *stream, const char *fmt, ...) in qemu_fprintf() function
|
/openbmc/qemu/target/microblaze/ |
H A D | translate.c | 1802 qemu_fprintf(f, "iflags: 0x%08x", iflags); in mb_cpu_dump_state() 1804 qemu_fprintf(f, " IMM(0x%08x)", env->imm); in mb_cpu_dump_state() 1807 qemu_fprintf(f, " BIMM"); in mb_cpu_dump_state() 1810 qemu_fprintf(f, " D(btarget=0x%08x)", env->btarget); in mb_cpu_dump_state() 1813 qemu_fprintf(f, " DRTI"); in mb_cpu_dump_state() 1816 qemu_fprintf(f, " DRTE"); in mb_cpu_dump_state() 1819 qemu_fprintf(f, " DRTB"); in mb_cpu_dump_state() 1822 qemu_fprintf(f, " ESR_ESS(0x%04x)", iflags & ESR_ESS_MASK); in mb_cpu_dump_state() 1825 qemu_fprintf(f, "\nesr=0x%04x fsr=0x%02x btr=0x%08x edr=0x%x\n" in mb_cpu_dump_state() 1831 qemu_fprintf(f, "r%2.2d=%08x%c", in mb_cpu_dump_state() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | cpu_init.c | 7609 qemu_fprintf(f, "TB %08" PRIu32 " %08" PRIu64 in ppc_cpu_dump_state() 7619 qemu_fprintf(f, "GPR%02d", i); in ppc_cpu_dump_state() 7621 qemu_fprintf(f, " %016" PRIx64, ppc_dump_gpr(env, i)); in ppc_cpu_dump_state() 7623 qemu_fprintf(f, "\n"); in ppc_cpu_dump_state() 7626 qemu_fprintf(f, "CR "); in ppc_cpu_dump_state() 7628 qemu_fprintf(f, "%01x", env->crf[i]); in ppc_cpu_dump_state() 7629 qemu_fprintf(f, " ["); in ppc_cpu_dump_state() 7641 qemu_fprintf(f, " ] RES %03x@" TARGET_FMT_lx "\n", in ppc_cpu_dump_state() 7647 qemu_fprintf(f, "FPR%02d", i); in ppc_cpu_dump_state() 7651 qemu_fprintf(f, "\n"); in ppc_cpu_dump_state() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | cpu.c | 770 qemu_fprintf(f, " %s %d\n", "V = ", env->virt_enabled); in riscv_cpu_dump_state() 773 qemu_fprintf(f, " %s " TARGET_FMT_lx "\n", "pc ", env->pc); in riscv_cpu_dump_state() 827 qemu_fprintf(f, " %-8s " TARGET_FMT_lx "\n", in riscv_cpu_dump_state() 835 qemu_fprintf(f, " %-8s " TARGET_FMT_lx, in riscv_cpu_dump_state() 838 qemu_fprintf(f, "\n"); in riscv_cpu_dump_state() 843 qemu_fprintf(f, " %-8s %016" PRIx64, in riscv_cpu_dump_state() 846 qemu_fprintf(f, "\n"); in riscv_cpu_dump_state() 870 qemu_fprintf(f, " %-8s " TARGET_FMT_lx "\n", in riscv_cpu_dump_state() 877 qemu_fprintf(f, " %-8s ", riscv_rvv_regnames[i]); in riscv_cpu_dump_state() 880 qemu_fprintf(f, "%02x", *(p + i * vlenb + BYTE(j))); in riscv_cpu_dump_state() [all …]
|
/openbmc/qemu/target/m68k/ |
H A D | translate.c | 6152 qemu_fprintf(f, "PC = %08x ", env->pc); in m68k_cpu_dump_state() 6169 qemu_fprintf(f, "X "); in m68k_cpu_dump_state() 6172 qemu_fprintf(f, "S "); in m68k_cpu_dump_state() 6175 qemu_fprintf(f, "D "); in m68k_cpu_dump_state() 6180 qemu_fprintf(f, "RN "); in m68k_cpu_dump_state() 6183 qemu_fprintf(f, "RZ "); in m68k_cpu_dump_state() 6186 qemu_fprintf(f, "RM "); in m68k_cpu_dump_state() 6189 qemu_fprintf(f, "RP "); in m68k_cpu_dump_state() 6192 qemu_fprintf(f, "\n"); in m68k_cpu_dump_state() 6198 qemu_fprintf(f, "VBR = 0x%08x\n", env->vbr); in m68k_cpu_dump_state() [all …]
|
/openbmc/qemu/target/sh4/ |
H A D | translate.c | 164 qemu_fprintf(f, "pc=0x%08x sr=0x%08x pr=0x%08x fpscr=0x%08x\n", in superh_cpu_dump_state() 166 qemu_fprintf(f, "spc=0x%08x ssr=0x%08x gbr=0x%08x vbr=0x%08x\n", in superh_cpu_dump_state() 168 qemu_fprintf(f, "sgr=0x%08x dbr=0x%08x delayed_pc=0x%08x fpul=0x%08x\n", in superh_cpu_dump_state() 171 qemu_fprintf(f, "r%d=0x%08x r%d=0x%08x r%d=0x%08x r%d=0x%08x\n", in superh_cpu_dump_state() 176 qemu_fprintf(f, "in delay slot (delayed_pc=0x%08x)\n", in superh_cpu_dump_state() 179 qemu_fprintf(f, "in conditional delay slot (delayed_pc=0x%08x)\n", in superh_cpu_dump_state() 182 qemu_fprintf(f, "in rte delay slot (delayed_pc=0x%08x)\n", in superh_cpu_dump_state()
|
/openbmc/qemu/target/cris/ |
H A D | translate.c | 3173 qemu_fprintf(f, "PC=%x CCS=%x btaken=%d btarget=%x\n" in cris_cpu_dump_state() 3181 qemu_fprintf(f, "%s=%8.8x ", regnames[i], env->regs[i]); in cris_cpu_dump_state() 3183 qemu_fprintf(f, "\n"); in cris_cpu_dump_state() 3186 qemu_fprintf(f, "\nspecial regs:\n"); in cris_cpu_dump_state() 3188 qemu_fprintf(f, "%s=%8.8x ", pregnames[i], env->pregs[i]); in cris_cpu_dump_state() 3190 qemu_fprintf(f, "\n"); in cris_cpu_dump_state() 3195 qemu_fprintf(f, "\nsupport function regs bank %x:\n", srs); in cris_cpu_dump_state() 3198 qemu_fprintf(f, "s%2.2d=%8.8x ", in cris_cpu_dump_state() 3201 qemu_fprintf(f, "\n"); in cris_cpu_dump_state() 3206 qemu_fprintf(f, "\n\n"); in cris_cpu_dump_state()
|
/openbmc/qemu/target/xtensa/ |
H A D | translate.c | 1244 qemu_fprintf(f, "PC=%08x\n\n", env->pc); in xtensa_cpu_dump_state() 1252 qemu_fprintf(f, "%12s=%08x%c", in xtensa_cpu_dump_state() 1259 qemu_fprintf(f, (j % 4) == 0 ? "\n" : "\n\n"); in xtensa_cpu_dump_state() 1262 qemu_fprintf(f, " A%02d=%08x%c", in xtensa_cpu_dump_state() 1267 qemu_fprintf(f, "\n"); in xtensa_cpu_dump_state() 1270 qemu_fprintf(f, "AR%02d=%08x ", i, env->phys_regs[i]); in xtensa_cpu_dump_state() 1275 qemu_fprintf(f, "%c%c\n", ws ? '<' : ' ', cw ? '=' : ' '); in xtensa_cpu_dump_state() 1281 qemu_fprintf(f, "\n"); in xtensa_cpu_dump_state() 1284 qemu_fprintf(f, "F%02d=%08x (%-+15.8e)%c", i, in xtensa_cpu_dump_state() 1294 qemu_fprintf(f, "\n"); in xtensa_cpu_dump_state() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 103 qemu_fprintf(f, "PC: " TARGET_FMT_lx, env->PC); in tricore_cpu_dump_state() 104 qemu_fprintf(f, " PSW: " TARGET_FMT_lx, psw); in tricore_cpu_dump_state() 105 qemu_fprintf(f, " ICR: " TARGET_FMT_lx, env->ICR); in tricore_cpu_dump_state() 106 qemu_fprintf(f, "\nPCXI: " TARGET_FMT_lx, env->PCXI); in tricore_cpu_dump_state() 107 qemu_fprintf(f, " FCX: " TARGET_FMT_lx, env->FCX); in tricore_cpu_dump_state() 108 qemu_fprintf(f, " LCX: " TARGET_FMT_lx, env->LCX); in tricore_cpu_dump_state() 112 qemu_fprintf(f, "\nGPR A%02d:", i); in tricore_cpu_dump_state() 114 qemu_fprintf(f, " " TARGET_FMT_lx, env->gpr_a[i]); in tricore_cpu_dump_state() 118 qemu_fprintf(f, "\nGPR D%02d:", i); in tricore_cpu_dump_state() 120 qemu_fprintf(f, " " TARGET_FMT_lx, env->gpr_d[i]); in tricore_cpu_dump_state() [all …]
|
/openbmc/qemu/target/openrisc/ |
H A D | translate.c | 1662 qemu_fprintf(f, "PC=%08x\n", env->pc); in openrisc_cpu_dump_state() 1664 qemu_fprintf(f, "R%02d=%08x%c", i, cpu_get_gpr(env, i), in openrisc_cpu_dump_state()
|
/openbmc/qemu/target/rx/ |
H A D | translate.c | 141 qemu_fprintf(f, "pc=0x%08x psw=0x%08x\n", in rx_cpu_dump_state() 144 qemu_fprintf(f, "r%d=0x%08x r%d=0x%08x r%d=0x%08x r%d=0x%08x\n", in rx_cpu_dump_state()
|