Lines Matching refs:detail
27 exception2signal (struct hurd_signal_detail *detail, int *signo, int posix) in exception2signal() argument
29 detail->error = 0; in exception2signal()
31 switch (detail->exc) in exception2signal()
35 detail->code = detail->exc; in exception2signal()
39 switch (detail->exc_code) in exception2signal()
44 detail->code = posix ? SEGV_MAPERR : detail->exc_subcode; in exception2signal()
50 detail->code = posix ? SEGV_ACCERR : detail->exc_subcode; in exception2signal()
55 detail->code = posix ? BUS_ADRERR : detail->exc_subcode; in exception2signal()
58 detail->error = detail->exc_code; in exception2signal()
63 switch (detail->exc_code) in exception2signal()
66 detail->code = posix ? ILL_ILLOPC : ILL_INVOPR_FAULT; in exception2signal()
70 detail->code = posix ? ILL_BADSTK : ILL_STACK_FAULT; in exception2signal()
74 detail->code = 0; in exception2signal()
81 switch (detail->exc_code) in exception2signal()
84 detail->code = posix ? FPE_INTDIV : FPE_INTDIV_FAULT; in exception2signal()
88 detail->code = posix ? FPE_INTOVF : FPE_INTOVF_TRAP; in exception2signal()
95 detail->code = 0; in exception2signal()
101 if (detail->exc_subcode & FPS_IE) in exception2signal()
105 detail->code = posix ? FPE_FLTINV : 0 /*ILL_FPEOPR_FAULT*/; in exception2signal()
107 else if (detail->exc_subcode & FPS_DE) in exception2signal()
109 detail->code = posix ? FPE_FLTUND : FPE_FLTDNR_FAULT; in exception2signal()
111 else if (detail->exc_subcode & FPS_ZE) in exception2signal()
113 detail->code = posix ? FPE_FLTDIV : FPE_FLTDIV_FAULT; in exception2signal()
115 else if (detail->exc_subcode & FPS_OE) in exception2signal()
117 detail->code = posix ? FPE_FLTOVF : FPE_FLTOVF_FAULT; in exception2signal()
119 else if (detail->exc_subcode & FPS_UE) in exception2signal()
121 detail->code = posix ? FPE_FLTUND : FPE_FLTUND_FAULT; in exception2signal()
123 else if (detail->exc_subcode & FPS_PE) in exception2signal()
125 detail->code = posix ? FPE_FLTRES : FPE_FLTINX_FAULT; in exception2signal()
129 detail->code = 0; in exception2signal()
136 detail->code = posix ? 0 : FPE_EMERR_FAULT; in exception2signal()
139 detail->code = posix ? FPE_FLTSUB : FPE_EMBND_FAULT; in exception2signal()
147 detail->code = 0; in exception2signal()
153 if (detail->exc_code == EXC_I386_BOUND) in exception2signal()
156 detail->code = posix ? FPE_FLTSUB : FPE_SUBRNG_FAULT; in exception2signal()
161 detail->code = 0; in exception2signal()
167 switch (detail->exc_code) in exception2signal()
170 detail->code = posix ? TRAP_BRKPT : DBG_SINGLE_TRAP; in exception2signal()
174 detail->code = posix ? TRAP_BRKPT : DBG_BRKPNT_FAULT; in exception2signal()
178 detail->code = 0; in exception2signal()
187 _hurd_exception2signal (struct hurd_signal_detail *detail, int *signo) in libc_hidden_def()
189 exception2signal (detail, signo, 1); in libc_hidden_def()
193 _hurd_exception2signal_legacy (struct hurd_signal_detail *detail, int *signo) in _hurd_exception2signal_legacy() argument
195 exception2signal (detail, signo, 0); in _hurd_exception2signal_legacy()