• Home
  • Raw
  • Download

Lines Matching refs:cpu_fprintf

410 void x86_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...))  in x86_cpu_list()
415 (*cpu_fprintf)(f, "x86 %16s\n", x86_defs[i].name); in x86_cpu_list()
602 int (*cpu_fprintf)(FILE *f, const char *fmt, ...), in cpu_x86_dump_seg_cache()
607 cpu_fprintf(f, "%-3s=%04x %016" PRIx64 " %08x %08x", name, in cpu_x86_dump_seg_cache()
612 cpu_fprintf(f, "%-3s=%04x %08x %08x %08x", name, sc->selector, in cpu_x86_dump_seg_cache()
619 cpu_fprintf(f, " DPL=%d ", (sc->flags & DESC_DPL_MASK) >> DESC_DPL_SHIFT); in cpu_x86_dump_seg_cache()
622 cpu_fprintf(f, (sc->flags & DESC_L_MASK) ? "CS64" : in cpu_x86_dump_seg_cache()
624 cpu_fprintf(f, " [%c%c", (sc->flags & DESC_C_MASK) ? 'C' : '-', in cpu_x86_dump_seg_cache()
627 cpu_fprintf(f, (sc->flags & DESC_B_MASK) ? "DS " : "DS16"); in cpu_x86_dump_seg_cache()
628 cpu_fprintf(f, " [%c%c", (sc->flags & DESC_E_MASK) ? 'E' : '-', in cpu_x86_dump_seg_cache()
631 cpu_fprintf(f, "%c]", (sc->flags & DESC_A_MASK) ? 'A' : '-'); in cpu_x86_dump_seg_cache()
647 cpu_fprintf(f, sys_type_name[(env->hflags & HF_LMA_MASK) ? 1 : 0] in cpu_x86_dump_seg_cache()
652 cpu_fprintf(f, "\n"); in cpu_x86_dump_seg_cache()
656 int (*cpu_fprintf)(FILE *f, const char *fmt, ...), in cpu_dump_state()
675 cpu_fprintf(f, in cpu_dump_state()
713 cpu_fprintf(f, "EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n" in cpu_dump_state()
740 cpu_x86_dump_seg_cache(env, f, cpu_fprintf, seg_name[i], in cpu_dump_state()
743 cpu_x86_dump_seg_cache(env, f, cpu_fprintf, "LDT", &env->ldt); in cpu_dump_state()
744 cpu_x86_dump_seg_cache(env, f, cpu_fprintf, "TR", &env->tr); in cpu_dump_state()
748 cpu_fprintf(f, "GDT= %016" PRIx64 " %08x\n", in cpu_dump_state()
750 cpu_fprintf(f, "IDT= %016" PRIx64 " %08x\n", in cpu_dump_state()
752 cpu_fprintf(f, "CR0=%08x CR2=%016" PRIx64 " CR3=%016" PRIx64 " CR4=%08x\n", in cpu_dump_state()
758 cpu_fprintf(f, "DR%d=%016" PRIx64 " ", i, env->dr[i]); in cpu_dump_state()
759 cpu_fprintf(f, "\nDR6=%016" PRIx64 " DR7=%016" PRIx64 "\n", in cpu_dump_state()
764 cpu_fprintf(f, "GDT= %08x %08x\n", in cpu_dump_state()
766 cpu_fprintf(f, "IDT= %08x %08x\n", in cpu_dump_state()
768 cpu_fprintf(f, "CR0=%08x CR2=%08x CR3=%08x CR4=%08x\n", in cpu_dump_state()
774 cpu_fprintf(f, "DR%d=%08x ", i, env->dr[i]); in cpu_dump_state()
775 cpu_fprintf(f, "\nDR6=%08x DR7=%08x\n", env->dr[6], env->dr[7]); in cpu_dump_state()
784 cpu_fprintf(f, "CCS=%016" PRIx64 " CCD=%016" PRIx64 " CCO=%-8s\n", in cpu_dump_state()
790 cpu_fprintf(f, "CCS=%08x CCD=%08x CCO=%-8s\n", in cpu_dump_state()
801 cpu_fprintf(f, "FCW=%04x FSW=%04x [ST=%d] FTW=%02x MXCSR=%08x\n", in cpu_dump_state()
808 cpu_fprintf(f, "FPR%d=%016" PRIx64, in cpu_dump_state()
811 cpu_fprintf(f, "\n"); in cpu_dump_state()
813 cpu_fprintf(f, " "); in cpu_dump_state()
820 cpu_fprintf(f, "XMM%02d=%08x%08x%08x%08x", in cpu_dump_state()
827 cpu_fprintf(f, "\n"); in cpu_dump_state()
829 cpu_fprintf(f, " "); in cpu_dump_state()