• Home
  • Raw
  • Download

Lines Matching refs:ptregs

166 		do_page_fault(&fp->ptregs, addr, errorcode);  in access_error060()
171 send_fault_sig(&fp->ptregs); in access_error060()
173 send_fault_sig(&fp->ptregs) > 0) { in access_error060()
174 pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, in access_error060()
280 send_fault_sig(&fp->ptregs); in do_040writebacks()
335 if (do_page_fault(&fp->ptregs, addr, errorcode)) { in access_error040()
337 if (user_mode(&fp->ptregs)){ in access_error040()
360 if (send_fault_sig(&fp->ptregs) >= 0) in access_error040()
387 fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 in bus_error030()
389 fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bus_error030()
394 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
409 if (fp->ptregs.sr & PS_S) { in bus_error030()
418 fp->ptregs.pc); in bus_error030()
421 if((fp->ptregs.pc >= (unsigned long)&_sun3_map_test_start) && in bus_error030()
422 (fp->ptregs.pc <= (unsigned long)&_sun3_map_test_end)) { in bus_error030()
423 send_fault_sig(&fp->ptregs); in bus_error030()
430 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
434 die_if_kernel("Oops", &fp->ptregs,0); in bus_error030()
465 fp->ptregs.pc); in bus_error030()
466 die_if_kernel ("Oops", &fp->ptregs, buserr_type); in bus_error030()
476 do_page_fault (&fp->ptregs, addr, errorcode); in bus_error030()
485 if (fp->ptregs.format == 0xA) in bus_error030()
486 addr = fp->ptregs.pc + 4; in bus_error030()
494 do_page_fault (&fp->ptregs, addr, 0); in bus_error030()
518 fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 in bus_error030()
520 fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bus_error030()
525 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
555 if (ssw & 4 && !search_exception_tables(fp->ptregs.pc)) { in bus_error030()
559 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
564 if (do_page_fault (&fp->ptregs, addr, errorcode) < 0) in bus_error030()
568 if (!(ssw & RM) && send_fault_sig(&fp->ptregs) > 0) in bus_error030()
574 fp->ptregs.pc); in bus_error030()
575 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
585 fp->ptregs.pc, ssw); in bus_error030()
602 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
621 if (fp->ptregs.sr & PS_S) { in bus_error030()
622 pr_err("Instruction fault at %#010lx\n", fp->ptregs.pc); in bus_error030()
625 die_if_kernel("Oops",&fp->ptregs,0); in bus_error030()
631 if (fp->ptregs.format == 10) in bus_error030()
632 addr = fp->ptregs.pc + 4; in bus_error030()
659 do_page_fault (&fp->ptregs, addr, 0); in bus_error030()
662 addr, fp->ptregs.pc); in bus_error030()
664 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
720 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 0); in access_errorcf()
721 addr = fp->ptregs.pc; in access_errorcf()
724 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 1); in access_errorcf()
725 addr = fp->ptregs.pc + sizeof(long); in access_errorcf()
728 need_page_fault = cf_tlb_miss(&fp->ptregs, 1, 1, 0); in access_errorcf()
731 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 1, 0); in access_errorcf()
754 do_page_fault(&fp->ptregs, addr, err_code); in access_errorcf()
762 if (user_mode(&fp->ptregs)) in buserr_c()
765 pr_debug("*** Bus Error *** Format is %x\n", fp->ptregs.format); in buserr_c()
770 fs = (fp->ptregs.vector & 0x3) | in buserr_c()
771 ((fp->ptregs.vector & 0xc00) >> 8); in buserr_c()
789 switch (fp->ptregs.format) { in buserr_c()
807 die_if_kernel("bad frame format",&fp->ptregs,0); in buserr_c()
977 int vector = (fp->ptregs.vector >> 2) & 0xff; in bad_super_trap()
983 fp->ptregs.format); in bad_super_trap()
986 vector, fp->ptregs.format); in bad_super_trap()
994 (fp->ptregs.format) == 0xA ? in bad_super_trap()
995 fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2); in bad_super_trap()
998 (fp->ptregs.format) == 0xA ? in bad_super_trap()
999 fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bad_super_trap()
1004 fp->ptregs.pc); in bad_super_trap()
1007 die_if_kernel("BAD KERNEL TRAP", &fp->ptregs, 0); in bad_super_trap()
1014 int vector = (fp->ptregs.vector >> 2) & 0xff; in trap_c()
1016 if (fp->ptregs.sr & PS_S) { in trap_c()
1024 if (fixup_exception(&fp->ptregs)) in trap_c()
1112 switch (fp->ptregs.format) { in trap_c()
1114 addr = (void __user *) fp->ptregs.pc; in trap_c()