/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOTimeStamp.h | 85 #define IODBG_STORAGE(code) (KDBG_CODE(DBG_IOKIT, DBG_IOSTORAGE, code)) 86 #define IODBG_NETWORK(code) (KDBG_CODE(DBG_IOKIT, DBG_IONETWORK, code)) 87 #define IODBG_KEYBOARD(code) (KDBG_CODE(DBG_IOKIT, DBG_IOKEYBOARD, code)) 88 #define IODBG_HID(code) (KDBG_CODE(DBG_IOKIT, DBG_IOHID, code)) 89 #define IODBG_AUDIO(code) (KDBG_CODE(DBG_IOKIT, DBG_IOAUDIO, code)) [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_trap.h | 70 int code, 75 int code);
|
H A D | db_trap.c | 88 db_task_trap(__unused int type, __unused int code, boolean_t user_space) argument 97 bkpt = IS_BREAKPOINT_TRAP(type, code); 98 watchpt = IS_WATCHPOINT_TRAP(type, code);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ |
H A D | kdp.h | 38 unsigned int code,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kdebug.h | 62 /* The debug code consists of the following 225 #define DBG_DLIL_STATIC 1 /* Static DLIL code */ 267 #define KDBG_CODE(Class, SubClass, code) (((Class & 0xff) << 24) | ((SubClass & 0xff) << 16) | ((code & 0x3fff) << 2)) 271 #define MACHDBG_CODE(SubClass, code) KDBG_CODE(DBG_MACH, SubClass, code) 272 #define NETDBG_CODE(SubClass, code) KDBG_CODE(DBG_NETWORK, SubClass, code) 273 #define FSDBG_CODE(SubClass, code) KDBG_CODE(DBG_FSYSTEM, SubClass, code) [all...] |
H A D | ux_exception.h | 66 boolean_t machine_exception(int exception, mach_exception_code_t code,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | exception.h | 54 mach_exception_data_t code, 61 extern kern_return_t abnormal_exit_notify(mach_exception_data_type_t code,
|
H A D | counters.h | 72 #define counter_always(code) code 76 #define counter(code) counter_always(code) 80 #define counter(code)
|
H A D | exception.c | 117 mach_exception_data_t code, 125 mach_exception_data_t code, 145 mach_exception_data_t code, 195 small_code[0] = CAST_DOWN(exception_data_type_t, code[0]); 196 small_code[1] = CAST_DOWN(exception_data_type_t, code[1]); 214 code, 243 code, 272 code, 319 mach_exception_data_t code, 340 kr = exception_deliver(thread, exception, code, codeCn 142 exception_deliver( thread_t thread, exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt, struct exception_action *excp, mutex_t *mutex) argument 317 exception_triage( exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt) argument 389 bsd_exception( exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt) argument 422 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; local 448 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | systemcalls.c | 79 unsigned int code; local 113 code = regs->eax & I386_SYSCALL_NUMBER_MASK; 119 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code]; 122 code = fuword(params); 124 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code]; 146 if (code != 180) { 149 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START, 164 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_STAR 248 unsigned int code; local 425 unsigned int code; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | systemcalls.c | 88 unsigned int code; local 94 code = regs->save_r3; 96 code = regs->save_r0; 98 if (kdebug_enable && (code != 180)) { 100 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START, 103 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START, 130 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code]; 186 AUDIT_SYSCALL_ENTER(code, proc, uthread); 188 AUDIT_SYSCALL_EXIT(code, pro 294 unsigned int code; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | bpf.h | 32 * This code is derived from the Stanford/CMU enet packet filter, 33 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 40 * 1. Redistributions of source code must retain the above copyright 142 * It has nothing to do with the source code version. 308 #define BPF_CLASS(code) ((code) & 0x07) 319 #define BPF_SIZE(code) ((code) & 0x18) 323 #define BPF_MODE(code) ((code) 364 u_short code; member in struct:bpf_insn [all...] |
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | table.h | 48 code_desc_t code; member in union:dt_entry 65 code_desc_t code; member in union:gdt_entry 92 code_desc_t code; member in union:ldt_entry
|
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/ |
H A D | exc_catcher.c | 46 exception_data_t code, 61 return (*func)(exception_port, thread, task, exception, code, codeCnt); 64 return catch_exception_raise(exception_port, thread, task, exception, code, codeCnt); 41 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 D | mach_error_string.c | 141 int sub, system, code; local 148 code = err_get_code(err); 162 code = err_sparse_mapit(code, sub_p->map_table, sub_p->map_count); 163 if (code >= sub_p->max_code) 167 return( (char *)sub_p->codes[code] );
|
H A D | exc_catcher_state.c | 44 exception_data_t code, 64 return (*func)(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 67 return catch_exception_raise_state(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 41 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 D | exc_catcher_state_identity.c | 46 exception_data_t code, 66 return (*func)(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 69 return catch_exception_raise_state_identity(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt); 41 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
|
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/ |
H A D | ux_exception.c | 89 static void ux_exception(int exception, mach_exception_code_t code, 151 mach_exception_data_t code; member in struct:exc_msg 203 exception_data_t code, 208 big_code[0] = code[0]; 209 big_code[1] = code[1]; 226 mach_exception_data_t code, 262 * Convert exception to unix signal and code. 264 ux_exception(exception, code[0], code[1], &ux_signal, &ucode); 285 if (code[ 198 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 221 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...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | trap.h | 77 extern void doexception(int exc, mach_exception_code_t code, 98 int64_t code,
|
H A D | trap.c | 132 mach_exception_code_t code = 0; local 340 code = vm_fault(map, vm_map_trunc_page(offset), 344 if (code != KERN_SUCCESS) { 376 code = vm_fault(map, vm_map_trunc_page(offset), 383 if (code != KERN_SUCCESS) { 420 code = vm_fault(map, vm_map_trunc_page(ssp->save_srr0), 423 if (code != KERN_SUCCESS) { 527 code = EXC_PPC_UNALIGNED; 548 code = EXC_PPC_TRACE; 557 code 811 syscall_error( int exception, mach_exception_code_t code, mach_exception_subcode_t subcode, struct savearea *ssp) argument 834 doexception( int exc, mach_exception_code_t code, mach_exception_subcode_t sub) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | trap.h | 71 #define T_INVALID_OPCODE 6 /* invalid op code */ 115 mach_exception_code_t code, 127 extern void panic_double_fault(int code); 131 extern void panic_machine_check(int code);
|
H A D | trap.c | 323 int code; local 348 code = saved_state->err & 0xffff; 485 if (code & T_PF_WRITE) 488 if (code & T_PF_EXECUTE) 498 (code & T_PF_WRITE) && vaddr < vm_map_max(map) && 516 * recovery handling code in "case T_GENERAL_PROTECTION:". 535 if (map == kernel_map && db_watchpoint_list && db_watchpoints_inserted && (code & T_PF_WRITE) && 635 if (kdb_trap(type, code, saved_state)) { 690 "Error code: 0x%08x\n", 714 __unused int code 949 mach_exception_code_t code; local 1218 i386_exception( int exc, mach_exception_code_t code, mach_exception_subcode_t subcode) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | aurp_tx.c | 104 void AURPcmdx(code, mdata, param) 105 int code; 115 if (code != AURPCODE_DEBUGINFO) 120 switch (code) { 148 dPrintf(D_M_AURP, D_L_ERROR, ("AURPcmdx: bad code, %d\n", code));
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | kext.cpp | 108 unsigned char ** code, 152 if (code) { 154 /* If asking for code, the caller must provide a return buffer 163 *code = 0; 169 *code = (unsigned char *)kld_file_getaddr(bundleid, 171 if (*code) { 178 driverCode = OSDynamicCast(OSData, extDict->getObject("code")); 180 *code = (unsigned char *)driverCode->getBytesNoCopy(); 184 } else { // Look for compressed code and uncompress it 190 IOLog("extension \"%s\": couldn't uncompress code\ 105 getKext( const char * bundleid, OSDictionary ** plist, unsigned char ** code, unsigned long * code_size, bool * caller_owns_code) argument 516 unsigned char * code = 0; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/ |
H A D | kdp_machdep.c | 86 unsigned int code, 101 rq->exc_info[0].code = code; 392 unsigned int exception, subcode = 0, code; local 413 code = EXC_I386_DIVERR; 418 code = EXC_I386_INTOFLT; 423 code = EXC_I386_BOUNDFLT; 428 code = EXC_I386_INVOPFLT; 433 code = EXC_I386_SEGNPFLT; 439 code 81 kdp_exception( unsigned char *pkt, int *len, unsigned short *remote_port, unsigned int exception, unsigned int code, unsigned int subcode ) argument [all...] |