Lines Matching defs:siginfo
70 int vis1_partial_support(struct regs *rp, k_siginfo_t *siginfo, uint_t *fault);
148 k_siginfo_t siginfo;
225 siginfo.si_signo = 0;
294 bzero(&siginfo, sizeof (siginfo));
295 siginfo.si_signo = SIGILL;
296 siginfo.si_code = ILL_ILLTRP;
297 siginfo.si_addr = (caddr_t)rp->r_pc;
298 siginfo.si_trapno = type &~ T_USER;
505 bzero(&siginfo, sizeof (siginfo));
506 siginfo.si_addr = (caddr_t)rp->r_pc;
507 siginfo.si_signo = SIGSEGV;
508 siginfo.si_code = X_FAULT_TYPE(mmu_fsr) == FT_PRIV ?
589 bzero(&siginfo, sizeof (siginfo));
590 siginfo.si_signo = SIGTRAP;
591 siginfo.si_code = watchcode;
592 siginfo.si_addr = vaddr;
593 siginfo.si_trapafter = 0;
594 siginfo.si_pc = (caddr_t)rp->r_pc;
646 bzero(&siginfo, sizeof (siginfo));
647 siginfo.si_addr = addr;
648 (void) stop_on_fault(FLTPAGE, &siginfo);
702 bzero(&siginfo, sizeof (siginfo));
703 siginfo.si_addr = addr;
705 siginfo.si_errno = FC_ERRNO(res);
706 if (siginfo.si_errno != EINTR) {
707 siginfo.si_signo = SIGBUS;
708 siginfo.si_code = BUS_OBJERR;
712 siginfo.si_signo = SIGSEGV;
713 siginfo.si_code = (res == FC_NOMAP) ?
725 siginfo.si_signo = 0;
738 if ((fault = undo_watch_step(&siginfo)) == 0 &&
740 siginfo.si_signo = SIGTRAP;
741 siginfo.si_code = TRAP_TRACE;
742 siginfo.si_addr = (caddr_t)rp->r_pc;
752 bzero(&siginfo, sizeof (siginfo));
754 &siginfo, &fault) == 0)
767 bzero(&siginfo, sizeof (siginfo));
768 siginfo.si_addr = addr;
780 siginfo.si_signo = SIGSEGV;
781 siginfo.si_code = SEGV_ACCERR;
786 siginfo.si_signo = SIGILL;
787 siginfo.si_code = ILL_ILLADR;
791 siginfo.si_signo = SIGSEGV;
792 siginfo.si_code = SEGV_MAPERR;
808 bzero(&siginfo, sizeof (siginfo));
810 &siginfo, &fault) == 0)
814 bzero(&siginfo, sizeof (siginfo));
821 siginfo.si_signo = SIGBUS;
822 siginfo.si_code = BUS_ADRALN;
823 siginfo.si_addr = addr;
839 siginfo.si_signo = SIGSEGV;
840 siginfo.si_code = SEGV_MAPERR;
841 siginfo.si_addr = badaddr;
846 siginfo.si_signo = SIGBUS;
847 siginfo.si_code = BUS_ADRALN;
849 siginfo.si_addr = (caddr_t)rp->r_pc;
852 siginfo.si_addr = badaddr;
854 siginfo.si_addr = (caddr_t)rp->r_pc;
864 bzero(&siginfo, sizeof (siginfo));
884 siginfo.si_signo = SIGILL;
885 siginfo.si_code = ILL_PRVOPC;
886 siginfo.si_addr = (caddr_t)rp->r_pc;
943 bzero(&siginfo, sizeof (siginfo));
960 siginfo.si_signo = SIGSEGV;
961 siginfo.si_code = SEGV_MAPERR;
962 siginfo.si_addr = badaddr;
967 siginfo.si_signo = SIGFPE;
968 siginfo.si_code = FPE_INTDIV;
969 siginfo.si_addr = (caddr_t)rp->r_pc;
974 siginfo.si_signo = SIGBUS;
975 siginfo.si_code = BUS_ADRALN;
976 siginfo.si_addr = badaddr;
982 siginfo.si_signo = SIGILL;
986 siginfo.si_code = ILL_ILLADR;
988 siginfo.si_code = ILL_ILLOPC;
989 siginfo.si_addr = (caddr_t)rp->r_pc;
1010 siginfo.si_signo = SIGSEGV;
1011 siginfo.si_code = SEGV_MAPERR;
1012 siginfo.si_addr = badaddr;
1019 siginfo.si_signo = SIGBUS;
1020 siginfo.si_code = BUS_ADRALN;
1021 siginfo.si_addr = badaddr;
1027 siginfo.si_signo = SIGILL;
1028 siginfo.si_code = ILL_ILLOPC;
1029 siginfo.si_addr = (caddr_t)rp->r_pc;
1068 bzero(&siginfo, sizeof (siginfo));
1069 siginfo.si_signo = SIGFPE;
1070 siginfo.si_code = FPE_INTDIV;
1071 siginfo.si_addr = (caddr_t)rp->r_pc;
1078 bzero(&siginfo, sizeof (siginfo));
1079 siginfo.si_signo = SIGFPE;
1080 siginfo.si_code = FPE_INTOVF;
1081 siginfo.si_addr = (caddr_t)rp->r_pc;
1088 bzero(&siginfo, sizeof (siginfo));
1089 siginfo.si_signo = SIGTRAP;
1090 siginfo.si_code = TRAP_BRKPT;
1091 siginfo.si_addr = (caddr_t)rp->r_pc;
1098 bzero(&siginfo, sizeof (siginfo));
1099 siginfo.si_signo = SIGEMT;
1100 siginfo.si_code = EMT_TAGOVF;
1101 siginfo.si_addr = (caddr_t)rp->r_pc;
1138 bzero(&siginfo, sizeof (siginfo));
1139 siginfo.si_signo = SIGSEGV;
1140 siginfo.si_code = SEGV_MAPERR;
1141 siginfo.si_addr = sp;
1146 bzero(&siginfo, sizeof (siginfo));
1147 siginfo.si_signo = SIGILL;
1148 siginfo.si_code = ILL_BADSTK;
1149 siginfo.si_addr = (caddr_t)rp->r_pc;
1183 bzero(&siginfo, sizeof (siginfo));
1184 siginfo.si_signo = SIGEMT;
1185 siginfo.si_code = EMT_CPCOVF;
1186 siginfo.si_addr = (caddr_t)rp->r_pc;
1195 * siginfo and set fault, so the checks below must not
1222 trap_cleanup(rp, fault, &siginfo, oldpc == rp->r_pc);
1364 k_siginfo_t siginfo;
1403 siginfo.si_signo = 0;
1413 bzero(&siginfo, sizeof (siginfo));
1414 siginfo.si_code = code;
1415 siginfo.si_addr = addr;
1453 siginfo.si_code = FPE_FLTRES;
1460 siginfo.si_code = FPE_FLTRES;
1476 siginfo.si_signo = SIGFPE;
1481 siginfo.si_signo = SIGSEGV;
1490 bzero(&siginfo, sizeof (siginfo));
1492 &siginfo, &fault) == 0)
1502 siginfo.si_signo = SIGSEGV;
1503 siginfo.si_code = SEGV_MAPERR;
1504 siginfo.si_addr = badaddr;
1521 siginfo.si_signo = SIGSEGV;
1522 siginfo.si_code = SEGV_MAPERR;
1523 siginfo.si_addr = badaddr;
1526 siginfo.si_signo = SIGBUS;
1527 siginfo.si_code = BUS_ADRALN;
1529 siginfo.si_addr = (caddr_t)rp->r_pc;
1532 siginfo.si_addr = badaddr;
1534 siginfo.si_addr = (caddr_t)rp->r_pc;
1541 siginfo.si_signo = SIGILL;
1545 siginfo.si_code = ILL_ILLADR;
1547 siginfo.si_code = ILL_ILLTRP;
1562 trap_cleanup(rp, fault, &siginfo, 0);