Searched refs:exception (Results 1 - 25 of 35) sorted by relevance

12

/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp.h33 /* Raise exception in debugger. */
37 unsigned int exception,
H A Dkdp_protocol.h75 * and exception). This allows multiple KDBs to run on one host.
103 /* exception and termination notification, NOT true requests */
566 * per <mach/exception.h>
568 uint32_t exception; member in struct:__anon1059
675 kdp_exception_t exception; member in union:__anon1069
H A Dkdp_udp.c1223 unsigned int exception,
1237 (unsigned int)exception,
1265 printf("kdp: exception ack timeout\n");
1274 unsigned int exception,
1299 index = exception;
1300 if (exception != EXC_BREAKPOINT) {
1301 if (exception > EXC_BREAKPOINT || exception < EXC_BAD_ACCESS) {
1304 printf("%s exception (%x,%x,%x)\n",
1306 exception, cod
1222 kdp_send_exception( unsigned int exception, unsigned int code, unsigned int subcode ) argument
1273 kdp_raise_exception( unsigned int exception, unsigned int code, unsigned int subcode, void *saved_state ) argument
[all...]
/darwin-on-arm/xnu/libsyscall/mach/
H A Dexc_catcher.c36 #include <mach/exception.h>
47 exception_type_t exception,
61 return (*exc_raise_func)(exception_port, thread, task, exception, code, codeCnt);
64 return catch_exception_raise(exception_port, thread, task, exception, code, codeCnt);
43 internal_catch_exception_raise( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt) argument
H A Dexc_catcher_state.c36 #include <mach/exception.h>
46 exception_type_t exception,
65 return (*exc_raise_state_func)(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
68 return catch_exception_raise_state(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
44 internal_catch_exception_raise_state( mach_port_t exception_port, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
H A Dexc_catcher_state_identity.c36 #include <mach/exception.h>
48 exception_type_t exception,
67 return (*exc_raise_state_identity_func)(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
70 return catch_exception_raise_state_identity(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
44 internal_catch_exception_raise_state_identity( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
/darwin-on-arm/xnu/osfmk/kern/
H A Dexception.c99 exception_type_t exception,
107 exception_type_t exception,
115 * Make an upcall to the exception server provided.
118 * Called from an exception context, so
122 * KERN_SUCCESS if the exception was handled
127 exception_type_t exception,
148 * Snapshot the exception action data under lock for consistency.
196 exception,
203 kr = exception_raise_state(exc_port, exception,
225 exception,
125 exception_deliver( thread_t thread, exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt, struct exception_action *excp, lck_mtx_t *mutex) argument
300 exception_triage( exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt) argument
357 bsd_exception( exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt) argument
387 task_exception_notify(exception_type_t exception, mach_exception_data_type_t exccode, mach_exception_data_type_t excsubcode) argument
[all...]
H A Dexception.h41 * Common storage for exception actions.
45 struct ipc_port *port; /* exception port */
47 exception_behavior_t behavior; /* exception type to raise */
51 /* Make an up-call to a thread's exception server */
53 exception_type_t exception,
61 extern kern_return_t task_exception_notify(exception_type_t exception,
H A Dhost.h73 #include <kern/exception.h>
/darwin-on-arm/xnu/osfmk/mach/
H A Dexc.defs60 * MiG definitions file for Mach exception interface.
87 exception : exception_type_t;
97 exception : exception_type_t;
113 exception : exception_type_t;
H A Dmach_exc.defs60 * MiG definitions file for Mach exception interface.
87 exception : exception_type_t;
97 exception : exception_type_t;
113 exception : exception_type_t;
H A Dexception_types.h62 #include <mach/machine/exception.h>
65 * Machine-independent exception definitions.
75 #define EXC_ARITHMETIC 3 /* Arithmetic exception */
76 /* Exact nature of exception is in code field */
82 #define EXC_SOFTWARE 5 /* Software generated exception */
83 /* Exact exception is in code field. */
102 * Machine-independent exception behaviors
120 /* Send 64-bit code and subcode in the exception header */
123 * Masks for exception definitions, above
124 * bit zero is unused, therefore 1 word = 31 exception type
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dux_exception.h59 * Kernel data structures for Unix exception handler.
70 boolean_t machine_exception(int exception, mach_exception_code_t code,
/darwin-on-arm/xnu/bsd/uxkern/
H A Dux_exception.c44 #include <mach/exception.h>
86 * Unix exception handler.
89 static void ux_exception(int exception, mach_exception_code_t code,
119 * Allocate an exception port and use object_copyin to
153 exception_type_t exception; member in struct:exc_msg
210 exception_type_t exception,
222 exception,
233 exception_type_t exception,
269 * Convert exception to unix signal and code.
271 ux_exception(exception, cod
206 catch_exception_raise( __unused mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, __unused mach_msg_type_number_t codeCnt ) argument
229 catch_mach_exception_raise( __unused mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, mach_exception_data_t code, __unused mach_msg_type_number_t codeCnt ) argument
357 catch_exception_raise_state( __unused mach_port_t exception_port, __unused exception_type_t exception, __unused const exception_data_t code, __unused mach_msg_type_number_t codeCnt, __unused int *flavor, __unused const thread_state_t old_state, __unused mach_msg_type_number_t old_stateCnt, __unused thread_state_t new_state, __unused mach_msg_type_number_t *new_stateCnt) argument
372 catch_mach_exception_raise_state( __unused mach_port_t exception_port, __unused exception_type_t exception, __unused const mach_exception_data_t code, __unused mach_msg_type_number_t codeCnt, __unused int *flavor, __unused const thread_state_t old_state, __unused mach_msg_type_number_t old_stateCnt, __unused thread_state_t new_state, __unused mach_msg_type_number_t *new_stateCnt) argument
387 catch_exception_raise_state_identity( __unused mach_port_t exception_port, __unused mach_port_t thread, __unused mach_port_t task, __unused exception_type_t exception, __unused exception_data_t code, __unused mach_msg_type_number_t codeCnt, __unused int *flavor, __unused thread_state_t old_state, __unused mach_msg_type_number_t old_stateCnt, __unused thread_state_t new_state, __unused mach_msg_type_number_t *new_stateCnt) argument
404 catch_mach_exception_raise_state_identity( __unused mach_port_t exception_port, __unused mach_port_t thread, __unused mach_port_t task, __unused exception_type_t exception, __unused mach_exception_data_t code, __unused mach_msg_type_number_t codeCnt, __unused int *flavor, __unused thread_state_t old_state, __unused mach_msg_type_number_t old_stateCnt, __unused thread_state_t new_state, __unused mach_msg_type_number_t *new_stateCnt) argument
428 ux_exception( int exception, mach_exception_code_t code, mach_exception_subcode_t subcode, int *ux_signal, mach_exception_code_t *ux_code) argument
[all...]
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c84 unsigned int exception,
99 rq->exc_info[0].exception = exception;
388 unsigned int exception, subcode = 0, code; local
408 exception = EXC_ARITHMETIC;
413 exception = EXC_SOFTWARE;
418 exception = EXC_ARITHMETIC;
423 exception = EXC_BAD_INSTRUCTION;
428 exception = EXC_BAD_INSTRUCTION;
434 exception
80 kdp_exception( unsigned char *pkt, int *len, unsigned short *remote_port, unsigned int exception, unsigned int code, unsigned int subcode ) argument
[all...]
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/
H A Dkdp_machdep.c84 unsigned int exception,
99 rq->exc_info[0].exception = exception;
390 unsigned int exception, subcode = 0, code; local
410 exception = EXC_ARITHMETIC;
415 exception = EXC_SOFTWARE;
420 exception = EXC_ARITHMETIC;
425 exception = EXC_BAD_INSTRUCTION;
430 exception = EXC_BAD_INSTRUCTION;
436 exception
80 kdp_exception( unsigned char *pkt, int *len, unsigned short *remote_port, unsigned int exception, unsigned int code, unsigned int subcode ) argument
[all...]
/darwin-on-arm/xnu/osfmk/mach/arm/
H A DMakefile12 boolean.h exception.h \
H A D_structs.h14 __uint32_t __exception; /* number of arm exception taken */
22 __uint32_t exception; /* number of arm exception taken */ variable
34 __uint32_t __exception; /* number of arm exception taken */
42 __uint32_t exception; /* number of arm exception taken */ variable
/darwin-on-arm/xnu/osfmk/mach/i386/
H A DMakefile12 boolean.h exception.h fp_reg.h \
/darwin-on-arm/xnu/osfmk/mach/machine/
H A DMakefile12 asm.h boolean.h exception.h kern_return.h ndr_def.h rpc.h \
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dunix_signals.c37 #include <mach/exception.h>
404 * of a mach exception to a unix signal and code.
407 boolean_t machine_exception(int exception, mach_exception_code_t code, __unused mach_exception_subcode_t subcode, int *unix_signal, mach_exception_code_t * unix_code) argument
410 switch (exception) {
H A Dunix_syscalls.c61 #include <mach/exception.h>
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/
H A Dkdp_machdep.c85 unsigned int exception,
100 rq->exc_info[0].exception = exception;
373 * Called at exception/panic time when extering or exiting kdp.
81 kdp_exception( unsigned char *pkt, int *len, unsigned short *remote_port, unsigned int exception, unsigned int code, unsigned int subcode ) argument
/darwin-on-arm/xnu/osfmk/i386/
H A Dtrap_native.c70 #include <mach/exception.h>
81 #include <kern/exception.h>
/darwin-on-arm/xnu/osfmk/arm/
H A Dstatus.c339 thread->machine.es.exception = es->exception;

Completed in 86 milliseconds

12