Lines Matching refs:printf
432 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
442 printf("xmon: WARNING: bad recursive fault " in xmon_core()
463 printf("cpu 0x%x stopped at breakpoint 0x%lx (", in xmon_core()
468 printf("WARNING: exception is not recoverable, " in xmon_core()
507 printf("enter ? for help\n"); in xmon_core()
546 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
557 printf("Stopped at breakpoint %lx (", BP_NUM(bp)); in xmon_core()
561 printf("WARNING: exception is not recoverable, " in xmon_core()
568 printf("enter ? for help\n"); in xmon_core()
594 printf("Couldn't single-step %s instruction\n", in xmon_core()
625 printf("Keyboard interrupt\n"); in xmon_irq()
758 printf("Sorry, no free breakpoints. Please clear one first.\n"); in new_breakpoint()
772 printf("Couldn't read instruction at %lx, " in insert_bpts()
778 printf("Breakpoint at %lx is on an mtmsrd or rfid " in insert_bpts()
787 printf("Couldn't write instruction at %lx, " in insert_bpts()
824 printf("Couldn't remove breakpoint at %lx\n", in remove_bpts()
842 printf("Invalid number.\n"); in set_lpp_cmd()
865 printf("%x:", smp_processor_id()); in cmds()
867 printf("mon> "); in cmds()
932 printf(" <no input ...>\n"); in cmds()
971 printf("Unrecognized command: "); in cmds()
976 printf("\\x%x", cmd); in cmds()
979 printf(" (type ? for help)\n"); in cmds()
1007 printf("Couldn't single-step %s instruction\n", in do_step()
1013 printf("stepped to "); in do_step()
1047 printf("cpus stopped:"); in cpu_cmd()
1055 printf("-0x%lx", last_cpu); in cpu_cmd()
1057 printf(" 0x%lx", cpu); in cpu_cmd()
1062 printf("-0x%lx", last_cpu); in cpu_cmd()
1063 printf("\n"); in cpu_cmd()
1068 printf("cpu 0x%x isn't in xmon\n", cpu); in cpu_cmd()
1082 printf("cpu 0x%x didn't take control\n", cpu); in cpu_cmd()
1144 printf("csum stopped at "REG"\n", adrs+i); in csum()
1149 printf("%x\n", fcs); in csum()
1161 printf("Breakpoints may only be placed at kernel addresses\n"); in check_bp_loc()
1165 printf("Can't read instruction at address %lx\n", addr); in check_bp_loc()
1169 printf("Breakpoints may not be placed on mtmsrd or rfid " in check_bp_loc()
1212 printf(badaddr); in bpt_cmds()
1222 printf("Hardware instruction breakpoint " in bpt_cmds()
1249 printf("All breakpoints cleared\n"); in bpt_cmds()
1260 printf("No breakpoint at %lx\n", a); in bpt_cmds()
1265 printf("Cleared breakpoint %lx (", BP_NUM(bp)); in bpt_cmds()
1274 printf(breakpoint_help_string); in bpt_cmds()
1280 printf(" type address\n"); in bpt_cmds()
1282 printf(" data "REG" [", dabr.address); in bpt_cmds()
1284 printf("r"); in bpt_cmds()
1286 printf("w"); in bpt_cmds()
1287 printf("]\n"); in bpt_cmds()
1292 printf("%2x %s ", BP_NUM(bp), in bpt_cmds()
1380 printf("SP (%lx) is in userspace\n", sp); in xmon_show_stack()
1386 printf("Couldn't read stack frame at %lx\n", sp); in xmon_show_stack()
1413 printf("[link register ] "); in xmon_show_stack()
1417 printf("["REG"] ", sp); in xmon_show_stack()
1423 printf("["REG"] ", sp); in xmon_show_stack()
1433 printf("Couldn't read registers at %lx\n", in xmon_show_stack()
1437 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1480 printf("kernel BUG at %s:%u!\n", in print_bug_trap()
1483 printf("kernel BUG at %p!\n", (void *)bug->bug_addr); in print_bug_trap()
1493 printf("cpu 0x%x: ", smp_processor_id()); in excprint()
1497 printf("Vector: %lx %s at [%lx]\n", fp->trap, getvecname(trap), fp); in excprint()
1498 printf(" pc: "); in excprint()
1501 printf(" lr: ", fp->link); in excprint()
1504 printf(" sp: %lx\n", fp->gpr[1]); in excprint()
1505 printf(" msr: %lx\n", fp->msr); in excprint()
1508 printf(" dar: %lx\n", fp->dar); in excprint()
1510 printf(" dsisr: %lx\n", fp->dsisr); in excprint()
1513 printf(" current = 0x%lx\n", current); in excprint()
1515 printf(" paca = 0x%lx\t softe: %d\t irq_happened: 0x%02x\n", in excprint()
1519 printf(" pid = %ld, comm = %s\n", in excprint()
1542 printf("*** Error reading registers from "REG"\n", in prregs()
1553 printf("R%.2ld = "REG" R%.2ld = "REG"\n", in prregs()
1557 printf("R%.2ld = "REG" R%.2ld = "REG"\n", in prregs()
1562 printf("R%.2d = %.8x%s", n, fp->gpr[n], in prregs()
1565 printf("\n"); in prregs()
1570 printf("pc = "); in prregs()
1573 printf("cfar= "); in prregs()
1576 printf("lr = "); in prregs()
1578 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()
1579 printf("ctr = "REG" xer = "REG" trap = %4lx\n", in prregs()
1583 printf("dar = "REG" dsisr = %.8lx\n", fp->dar, fp->dsisr); in prregs()
1705 printf("msr = "REG" sprg0= "REG"\n", in super_regs()
1707 printf("pvr = "REG" sprg1= "REG"\n", in super_regs()
1709 printf("dec = "REG" sprg2= "REG"\n", in super_regs()
1711 printf("sp = "REG" sprg3= "REG"\n", sp, mfspr(SPRN_SPRG3)); in super_regs()
1712 printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); in super_regs()
1725 printf("spr %lx = %lx\n", regno, read_spr(regno)); in super_regs()
1804 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
1908 printf(memex_help_string); in memex()
1932 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
1938 printf("%.2x", val[i]); in memex()
1940 printf("%s", fault_chars[fault_type]); in memex()
2040 printf(memex_subcmd_help_string); in memex()
2074 printf("%.2x", temp[m]); in xmon_rawdump()
2076 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2082 printf("\n"); in xmon_rawdump()
2094 printf("*** Error dumping paca for cpu 0x%x!\n", cpu); in dump_one_paca()
2103 printf("paca for cpu 0x%x @ %p:\n", cpu, p); in dump_one_paca()
2105 printf(" %-*s = %s\n", 20, "possible", cpu_possible(cpu) ? "yes" : "no"); in dump_one_paca()
2106 printf(" %-*s = %s\n", 20, "present", cpu_present(cpu) ? "yes" : "no"); in dump_one_paca()
2107 printf(" %-*s = %s\n", 20, "online", cpu_online(cpu) ? "yes" : "no"); in dump_one_paca()
2110 printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \ in dump_one_paca()
2139 printf(" slb_shadow[%d]: = 0x%016lx 0x%016lx\n", in dump_one_paca()
2146 printf(" slb_cache[%d]: = 0x%016lx\n", i, p->slb_cache[i]); in dump_one_paca()
2199 printf("No possible cpus, use 'dp #' to dump individual cpus\n"); in dump_all_pacas()
2284 printf(REG, adrs); in prdump()
2293 printf("%.2x", temp[m]); in prdump()
2295 printf("%s", fault_chars[fault_type]); in prdump()
2300 printf(" "); in prdump()
2302 printf(" |"); in prdump()
2313 printf("|\n"); in prdump()
2336 printf(REG" %s%s%s%s\n", adr, x, x, x, x); in generic_inst_dump()
2343 printf(" ...\n"); in generic_inst_dump()
2351 printf(REG" %.8x", adr, inst); in generic_inst_dump()
2352 printf("\t"); in generic_inst_dump()
2354 printf("\n"); in generic_inst_dump()
2379 printf("Error dumping printk buffer!\n"); in dump_log_buf()
2390 printf("%s", buf); in dump_log_buf()
2444 printf("%.16x %.2x # %.16x %.2x\n", p1 - 1, in memdiffs()
2447 printf("Total of %d differences\n", prt); in memdiffs()
2476 printf("%.16x: %.16x\n", a, GETWORD(val)); in memlocate()
2502 printf("%.8x .. ", a); in memzcan()
2504 printf("%.8x\n", a - mskip); in memzcan()
2510 printf("%.8x\n", a - mskip); in memzcan()
2542 printf("return value is 0x%lx\n", ret); in proccall()
2544 printf("*** %x exception occurred\n", fault_except); in proccall()
2604 printf("regs not available\n"); in scanhex()
2611 printf("invalid register name '%%%s'\n", regname); in scanhex()
2649 printf("unknown symbol '%s'\n", tmpstr); in scanhex()
2759 printf("%s: %lx\n", tmp, addr); in symbol_lookup()
2761 printf("Symbol '%s' not found.\n", tmp); in symbol_lookup()
2779 printf(REG, address); in xmon_print_symbol()
2793 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()
2795 printf(" [%s]", modname); in xmon_print_symbol()
2797 printf("%s", after); in xmon_print_symbol()
2807 printf("SLB contents of cpu 0x%x\n", smp_processor_id()); in dump_segments()
2813 printf("%02d %016lx %016lx", i, esid, vsid); in dump_segments()
2817 printf(" 1T ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
2822 printf(" 256M ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
2828 printf("\n"); in dump_segments()
2839 printf("sr0-15 ="); in dump_segments()
2841 printf(" %x", mfsrin(i)); in dump_segments()
2842 printf("\n"); in dump_segments()
2856 printf("[%02x] %08x %08x %08x ", i, w0, w1, w2); in dump_tlb_44x()
2858 printf("V %08x -> %01x%08x %c%c%c%c%c", in dump_tlb_44x()
2868 printf("\n"); in dump_tlb_44x()
2924 printf("Book3E MMU MAV=%d.0,%d TLBs,%d-bit PID,%d-bit LPID,%d-bit RA\n", in dump_tlb_book3e()
2933 printf("TLB %d:\n------\n", tlb); in dump_tlb_book3e()
2948 printf("Unsupported TLB number !\n"); in dump_tlb_book3e()
2979 printf("%04x- ", i); in dump_tlb_book3e()
2981 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
2983 printf(" |%c", 'A' + esel); in dump_tlb_book3e()
2985 printf(" %016llx %04x %s %c%c AS%c", in dump_tlb_book3e()
2992 printf(" %c%c%c%c%c%c%c", in dump_tlb_book3e()
3000 printf(" %016llx", mas7_mas3 & ramask & ~0x7ffull); in dump_tlb_book3e()
3002 printf(" %s\n", in dump_tlb_book3e()
3005 printf(" U%c%c%c S%c%c%c\n", in dump_tlb_book3e()
3152 printf("Stopped spu %.2d (was %s)\n", i, in stop_spus()
3157 printf("*** Error stopping spu %.2d\n", i); in stop_spus()
3173 printf("*** Error, spu %d was not successfully stopped" in restart_spus()
3190 printf("Restarted spu %.2d\n", i); in restart_spus()
3193 printf("*** Error restarting spu %.2d\n", i); in restart_spus()
3205 printf(" %-*s = "format"\n", DUMP_WIDTH, \
3211 printf(" %-*s = *** Error reading field.\n", \
3222 printf("Dumping spu fields at address %p:\n", spu); in dump_spu_fields()
3274 printf("*** Error: accessing spu info for spu %d\n", num); in dump_spu_ls()
3285 printf("*** Error: address outside of local store\n"); in dump_spu_ls()
3324 printf("*** Error: invalid spu number\n"); in do_spu_cmd()