Lines Matching refs:printf
431 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
441 printf("xmon: WARNING: bad recursive fault " in xmon_core()
462 printf("cpu 0x%x stopped at breakpoint 0x%lx (", in xmon_core()
467 printf("WARNING: exception is not recoverable, " in xmon_core()
506 printf("enter ? for help\n"); in xmon_core()
545 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
556 printf("Stopped at breakpoint %lx (", BP_NUM(bp)); in xmon_core()
560 printf("WARNING: exception is not recoverable, " in xmon_core()
567 printf("enter ? for help\n"); in xmon_core()
593 printf("Couldn't single-step %s instruction\n", in xmon_core()
624 printf("Keyboard interrupt\n"); in xmon_irq()
757 printf("Sorry, no free breakpoints. Please clear one first.\n"); in new_breakpoint()
771 printf("Couldn't read instruction at %lx, " in insert_bpts()
777 printf("Breakpoint at %lx is on an mtmsrd or rfid " in insert_bpts()
786 printf("Couldn't write instruction at %lx, " in insert_bpts()
823 printf("Couldn't remove breakpoint at %lx\n", in remove_bpts()
854 printf("%x:", smp_processor_id()); in cmds()
856 printf("mon> "); in cmds()
921 printf(" <no input ...>\n"); in cmds()
957 printf("Unrecognized command: "); in cmds()
962 printf("\\x%x", cmd); in cmds()
965 printf(" (type ? for help)\n"); in cmds()
993 printf("Couldn't single-step %s instruction\n", in do_step()
999 printf("stepped to "); in do_step()
1033 printf("cpus stopped:"); in cpu_cmd()
1041 printf("-0x%lx", last_cpu); in cpu_cmd()
1043 printf(" 0x%lx", cpu); in cpu_cmd()
1048 printf("-0x%lx", last_cpu); in cpu_cmd()
1049 printf("\n"); in cpu_cmd()
1054 printf("cpu 0x%x isn't in xmon\n", cpu); in cpu_cmd()
1068 printf("cpu 0x%x didn't take control\n", cpu); in cpu_cmd()
1130 printf("csum stopped at "REG"\n", adrs+i); in csum()
1135 printf("%x\n", fcs); in csum()
1147 printf("Breakpoints may only be placed at kernel addresses\n"); in check_bp_loc()
1151 printf("Can't read instruction at address %lx\n", addr); in check_bp_loc()
1155 printf("Breakpoints may not be placed on mtmsrd or rfid " in check_bp_loc()
1198 printf(badaddr); in bpt_cmds()
1208 printf("Hardware instruction breakpoint " in bpt_cmds()
1235 printf("All breakpoints cleared\n"); in bpt_cmds()
1246 printf("No breakpoint at %lx\n", a); in bpt_cmds()
1251 printf("Cleared breakpoint %lx (", BP_NUM(bp)); in bpt_cmds()
1260 printf(breakpoint_help_string); in bpt_cmds()
1266 printf(" type address\n"); in bpt_cmds()
1268 printf(" data "REG" [", dabr.address); in bpt_cmds()
1270 printf("r"); in bpt_cmds()
1272 printf("w"); in bpt_cmds()
1273 printf("]\n"); in bpt_cmds()
1278 printf("%2x %s ", BP_NUM(bp), in bpt_cmds()
1366 printf("SP (%lx) is in userspace\n", sp); in xmon_show_stack()
1372 printf("Couldn't read stack frame at %lx\n", sp); in xmon_show_stack()
1399 printf("[link register ] "); in xmon_show_stack()
1403 printf("["REG"] ", sp); in xmon_show_stack()
1409 printf("["REG"] ", sp); in xmon_show_stack()
1419 printf("Couldn't read registers at %lx\n", in xmon_show_stack()
1423 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1466 printf("kernel BUG at %s:%u!\n", in print_bug_trap()
1469 printf("kernel BUG at %p!\n", (void *)bug->bug_addr); in print_bug_trap()
1479 printf("cpu 0x%x: ", smp_processor_id()); in excprint()
1483 printf("Vector: %lx %s at [%lx]\n", fp->trap, getvecname(trap), fp); in excprint()
1484 printf(" pc: "); in excprint()
1487 printf(" lr: ", fp->link); in excprint()
1490 printf(" sp: %lx\n", fp->gpr[1]); in excprint()
1491 printf(" msr: %lx\n", fp->msr); in excprint()
1494 printf(" dar: %lx\n", fp->dar); in excprint()
1496 printf(" dsisr: %lx\n", fp->dsisr); in excprint()
1499 printf(" current = 0x%lx\n", current); in excprint()
1501 printf(" paca = 0x%lx\t softe: %d\t irq_happened: 0x%02x\n", in excprint()
1505 printf(" pid = %ld, comm = %s\n", in excprint()
1528 printf("*** Error reading registers from "REG"\n", in prregs()
1539 printf("R%.2ld = "REG" R%.2ld = "REG"\n", in prregs()
1543 printf("R%.2ld = "REG" R%.2ld = "REG"\n", in prregs()
1548 printf("R%.2d = %.8x%s", n, fp->gpr[n], in prregs()
1551 printf("\n"); in prregs()
1556 printf("pc = "); in prregs()
1559 printf("cfar= "); in prregs()
1562 printf("lr = "); in prregs()
1564 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()
1565 printf("ctr = "REG" xer = "REG" trap = %4lx\n", in prregs()
1569 printf("dar = "REG" dsisr = %.8lx\n", fp->dar, fp->dsisr); in prregs()
1691 printf("msr = "REG" sprg0= "REG"\n", in super_regs()
1693 printf("pvr = "REG" sprg1= "REG"\n", in super_regs()
1695 printf("dec = "REG" sprg2= "REG"\n", in super_regs()
1697 printf("sp = "REG" sprg3= "REG"\n", sp, mfspr(SPRN_SPRG3)); in super_regs()
1698 printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); in super_regs()
1711 printf("spr %lx = %lx\n", regno, read_spr(regno)); in super_regs()
1790 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
1894 printf(memex_help_string); in memex()
1918 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
1924 printf("%.2x", val[i]); in memex()
1926 printf("%s", fault_chars[fault_type]); in memex()
2027 printf(memex_subcmd_help_string); in memex()
2061 printf("%.2x", temp[m]); in xmon_rawdump()
2063 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2069 printf("\n"); in xmon_rawdump()
2078 printf("*** Error dumping paca for cpu 0x%x!\n", cpu); in dump_one_paca()
2087 printf("paca for cpu 0x%x @ %p:\n", cpu, p); in dump_one_paca()
2089 printf(" %-*s = %s\n", 16, "possible", cpu_possible(cpu) ? "yes" : "no"); in dump_one_paca()
2090 printf(" %-*s = %s\n", 16, "present", cpu_present(cpu) ? "yes" : "no"); in dump_one_paca()
2091 printf(" %-*s = %s\n", 16, "online", cpu_online(cpu) ? "yes" : "no"); in dump_one_paca()
2094 printf(" %-*s = %#-*"format"\t(0x%lx)\n", 16, #name, 18, paca->name, \ in dump_one_paca()
2133 printf("No possible cpus, use 'dp #' to dump individual cpus\n"); in dump_all_pacas()
2216 printf(REG, adrs); in prdump()
2225 printf("%.2x", temp[m]); in prdump()
2227 printf("%s", fault_chars[fault_type]); in prdump()
2232 printf(" "); in prdump()
2234 printf(" |"); in prdump()
2245 printf("|\n"); in prdump()
2268 printf(REG" %s%s%s%s\n", adr, x, x, x, x); in generic_inst_dump()
2275 printf(" ...\n"); in generic_inst_dump()
2283 printf(REG" %.8x", adr, inst); in generic_inst_dump()
2284 printf("\t"); in generic_inst_dump()
2286 printf("\n"); in generic_inst_dump()
2311 printf("Error dumping printk buffer!\n"); in dump_log_buf()
2321 printf("%s", buf); in dump_log_buf()
2374 printf("%.16x %.2x # %.16x %.2x\n", p1 - 1, in memdiffs()
2377 printf("Total of %d differences\n", prt); in memdiffs()
2406 printf("%.16x: %.16x\n", a, GETWORD(val)); in memlocate()
2432 printf("%.8x .. ", a); in memzcan()
2434 printf("%.8x\n", a - mskip); in memzcan()
2440 printf("%.8x\n", a - mskip); in memzcan()
2472 printf("return value is 0x%lx\n", ret); in proccall()
2474 printf("*** %x exception occurred\n", fault_except); in proccall()
2534 printf("regs not available\n"); in scanhex()
2541 printf("invalid register name '%%%s'\n", regname); in scanhex()
2579 printf("unknown symbol '%s'\n", tmpstr); in scanhex()
2689 printf("%s: %lx\n", tmp, addr); in symbol_lookup()
2691 printf("Symbol '%s' not found.\n", tmp); in symbol_lookup()
2709 printf(REG, address); in xmon_print_symbol()
2723 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()
2725 printf(" [%s]", modname); in xmon_print_symbol()
2727 printf("%s", after); in xmon_print_symbol()
2737 printf("SLB contents of cpu 0x%x\n", smp_processor_id()); in dump_segments()
2744 printf("%02d %016lx %016lx", i, esid, vsid); in dump_segments()
2748 printf(" 1T ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
2753 printf(" 256M ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
2759 printf("\n"); in dump_segments()
2770 printf("sr0-15 ="); in dump_segments()
2772 printf(" %x", mfsrin(i)); in dump_segments()
2773 printf("\n"); in dump_segments()
2787 printf("[%02x] %08x %08x %08x ", i, w0, w1, w2); in dump_tlb_44x()
2789 printf("V %08x -> %01x%08x %c%c%c%c%c", in dump_tlb_44x()
2799 printf("\n"); in dump_tlb_44x()
2855 printf("Book3E MMU MAV=%d.0,%d TLBs,%d-bit PID,%d-bit LPID,%d-bit RA\n", in dump_tlb_book3e()
2864 printf("TLB %d:\n------\n", tlb); in dump_tlb_book3e()
2879 printf("Unsupported TLB number !\n"); in dump_tlb_book3e()
2910 printf("%04x- ", i); in dump_tlb_book3e()
2912 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
2914 printf(" |%c", 'A' + esel); in dump_tlb_book3e()
2916 printf(" %016llx %04x %s %c%c AS%c", in dump_tlb_book3e()
2923 printf(" %c%c%c%c%c%c%c", in dump_tlb_book3e()
2931 printf(" %016llx", mas7_mas3 & ramask & ~0x7ffull); in dump_tlb_book3e()
2933 printf(" %s\n", in dump_tlb_book3e()
2936 printf(" U%c%c%c S%c%c%c\n", in dump_tlb_book3e()
3083 printf("Stopped spu %.2d (was %s)\n", i, in stop_spus()
3088 printf("*** Error stopping spu %.2d\n", i); in stop_spus()
3104 printf("*** Error, spu %d was not successfully stopped" in restart_spus()
3121 printf("Restarted spu %.2d\n", i); in restart_spus()
3124 printf("*** Error restarting spu %.2d\n", i); in restart_spus()
3136 printf(" %-*s = "format"\n", DUMP_WIDTH, \
3142 printf(" %-*s = *** Error reading field.\n", \
3153 printf("Dumping spu fields at address %p:\n", spu); in dump_spu_fields()
3205 printf("*** Error: accessing spu info for spu %d\n", num); in dump_spu_ls()
3216 printf("*** Error: address outside of local store\n"); in dump_spu_ls()
3255 printf("*** Error: invalid spu number\n"); in do_spu_cmd()