• Home
  • Raw
  • Download

Lines Matching refs:ptregs

164 		do_page_fault(&fp->ptregs, addr, errorcode);  in access_error060()
169 send_fault_sig(&fp->ptregs); in access_error060()
171 send_fault_sig(&fp->ptregs) > 0) { in access_error060()
172 pr_err("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, in access_error060()
278 send_fault_sig(&fp->ptregs); in do_040writebacks()
333 if (do_page_fault(&fp->ptregs, addr, errorcode)) { in access_error040()
335 if (user_mode(&fp->ptregs)){ in access_error040()
358 if (send_fault_sig(&fp->ptregs) >= 0) in access_error040()
385 fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 in bus_error030()
387 fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bus_error030()
392 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
407 if (fp->ptregs.sr & PS_S) { in bus_error030()
416 fp->ptregs.pc); in bus_error030()
419 if((fp->ptregs.pc >= (unsigned long)&_sun3_map_test_start) && in bus_error030()
420 (fp->ptregs.pc <= (unsigned long)&_sun3_map_test_end)) { in bus_error030()
421 send_fault_sig(&fp->ptregs); in bus_error030()
428 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
432 die_if_kernel("Oops", &fp->ptregs,0); in bus_error030()
463 fp->ptregs.pc); in bus_error030()
464 die_if_kernel ("Oops", &fp->ptregs, buserr_type); in bus_error030()
474 do_page_fault (&fp->ptregs, addr, errorcode); in bus_error030()
483 if (fp->ptregs.format == 0xA) in bus_error030()
484 addr = fp->ptregs.pc + 4; in bus_error030()
492 do_page_fault (&fp->ptregs, addr, 0); in bus_error030()
516 fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 in bus_error030()
518 fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bus_error030()
523 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
556 space_names[ssw & DFC], fp->ptregs.pc); in bus_error030()
561 if (do_page_fault (&fp->ptregs, addr, errorcode) < 0) in bus_error030()
565 if (!(ssw & RM) && send_fault_sig(&fp->ptregs) > 0) in bus_error030()
571 fp->ptregs.pc); in bus_error030()
572 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
582 fp->ptregs.pc, ssw); in bus_error030()
599 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
618 if (fp->ptregs.sr & PS_S) { in bus_error030()
619 pr_err("Instruction fault at %#010lx\n", fp->ptregs.pc); in bus_error030()
622 die_if_kernel("Oops",&fp->ptregs,0); in bus_error030()
628 if (fp->ptregs.format == 10) in bus_error030()
629 addr = fp->ptregs.pc + 4; in bus_error030()
656 do_page_fault (&fp->ptregs, addr, 0); in bus_error030()
659 addr, fp->ptregs.pc); in bus_error030()
661 die_if_kernel("Oops",&fp->ptregs,mmusr); in bus_error030()
717 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 0); in access_errorcf()
718 addr = fp->ptregs.pc; in access_errorcf()
721 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 0, 1); in access_errorcf()
722 addr = fp->ptregs.pc + sizeof(long); in access_errorcf()
725 need_page_fault = cf_tlb_miss(&fp->ptregs, 1, 1, 0); in access_errorcf()
728 need_page_fault = cf_tlb_miss(&fp->ptregs, 0, 1, 0); in access_errorcf()
751 do_page_fault(&fp->ptregs, addr, err_code); in access_errorcf()
759 if (user_mode(&fp->ptregs)) in buserr_c()
762 pr_debug("*** Bus Error *** Format is %x\n", fp->ptregs.format); in buserr_c()
767 fs = (fp->ptregs.vector & 0x3) | in buserr_c()
768 ((fp->ptregs.vector & 0xc00) >> 8); in buserr_c()
786 switch (fp->ptregs.format) { in buserr_c()
804 die_if_kernel("bad frame format",&fp->ptregs,0); in buserr_c()
974 int vector = (fp->ptregs.vector >> 2) & 0xff; in bad_super_trap()
980 fp->ptregs.format); in bad_super_trap()
983 vector, fp->ptregs.format); in bad_super_trap()
991 (fp->ptregs.format) == 0xA ? in bad_super_trap()
992 fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2); in bad_super_trap()
995 (fp->ptregs.format) == 0xA ? in bad_super_trap()
996 fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bad_super_trap()
1001 fp->ptregs.pc); in bad_super_trap()
1004 die_if_kernel("BAD KERNEL TRAP", &fp->ptregs, 0); in bad_super_trap()
1010 int vector = (fp->ptregs.vector >> 2) & 0xff; in trap_c()
1013 if (fp->ptregs.sr & PS_S) { in trap_c()
1018 } else if (!handle_kernel_fault(&fp->ptregs)) in trap_c()
1106 switch (fp->ptregs.format) { in trap_c()
1108 info.si_addr = (void *) fp->ptregs.pc; in trap_c()