/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | db_disasm.c | 192 int inst, 254 struct inst { struct 307 struct inst db_inst_0f0x[] = { 327 struct inst db_inst_0f2x[] = { 346 struct inst db_inst_0f3x[] = { 366 struct inst db_inst_0f8x[] = { 386 struct inst db_inst_0f9x[] = { 406 struct inst db_inst_0fax[] = { 426 struct inst db_inst_0fbx[] = { 446 struct inst db_inst_0fc 1150 db_disasm_esc( db_addr_t loc, int inst, int short_addr, int size, char * seg, task_t task) argument 1242 int inst; local [all...] |
H A D | db_trace.c | 313 int inst; local 323 inst = db_get_task_value((int)argp, 4, FALSE, task); 324 if ((inst & 0xff) == 0x59) /* popl %ecx */ 326 else if ((inst & 0xffff) == 0xc483) /* addl %n, %esp */ 327 args = ((inst >> 16) & 0xff) / 4;
|
H A D | db_machdep.h | 85 #define BKPT_SIZE (1) /* size of breakpoint inst */ 86 #define BKPT_SET(inst) (BKPT_INST)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | db_disasm.c | 59 int inst; local 62 inst = db_get_task_value(loc, 4, FALSE, task); 65 p = in(inst);
|
H A D | trap.c | 576 unsigned int inst; local 578 if (copyin(ssp->save_srr0, (char *) &inst, 4 )) panic("copyin failed\n"); 581 if((inst & 0xFFFFFFF0) == 0x0FFFFFF0) { /* Is this a TWI 31,R31,0xFFFx? */ 582 if(diagTrap(ssp, inst & 0xF)) { /* Call the trap code */ 591 if(inst == 0x0FFFDDDD) { /* Is this the dtrace trap? */ 602 if (inst == 0x7FE00008) {
|
H A D | db_machdep.h | 85 #define BKPT_SIZE (4) /* size of breakpoint inst */ 86 #define BKPT_SET(inst) (BKPT_INST)
|
H A D | model_dep.c | 873 if (debugger_debug) kprintf("Call_DebuggerC(%d): exit - inst = %08X, cpu=%d(%d), run=%d\n", my_cpu, 947 int patchInst(task_t task, addr64_t vaddr, uint32_t inst); 948 int patchInst(task_t task, addr64_t vaddr, uint32_t inst) argument 1018 instr = inst; /* Place instruction in local memory */ 1019 ret = vm_map_write_user(map, &inst, (vm_map_address_t)vaddr, (vm_size_t)4); /* Write the instruction */
|
H A D | db_trace.c | 655 int inst; local 666 inst = db_get_task_value(calleep, 4, FALSE, task); 667 if ((inst & 0xffff0000) == (0x907f0000 + (narg << 21)) || 668 (inst & 0xffff0000) == (0x90610000 + (narg << 21))) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_run.c | 355 register unsigned int inst; local 362 inst = db_get_task_value(pc, sizeof(int), FALSE, task); 363 if (inst_branch(inst) || inst_call(inst)) { 366 brpc = branch_taken(inst, pc, getreg_val, (unsigned char*)regs); 380 unconditional = inst_unconditional_flow_transfer(inst);
|
H A D | db_break.c | 444 db_expr_t inst; local 465 inst = db_get_task_value(bkpt->address, BKPT_SIZE, FALSE, 467 if (inst == BKPT_SET(inst)) 469 bkpt->bkpt_inst = inst; 487 db_expr_t inst; local 505 inst = db_get_task_value(bkpt->address, BKPT_SIZE, FALSE, 507 if (inst != BKPT_SET(inst)) {
|
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSMetaClass.h | 93 @abstract Roughly analogous to (type *) inst, but check if valid first. 96 @param inst Pointer to object that you wish to attempt to type cast. May be 0. 97 @result inst if object non-zero and it is of the desired type, otherwise 0. 99 #define OSDynamicCast(type, inst) \ 100 ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) 105 @param inst Instance of object to check for type compatibility. 106 @result false if typeinst or inst are 0 or inst is not a subclass of typeinst's class. true otherwise. 108 #define OSCheckTypeInst(typeinst, inst) \ 109 OSMetaClassBase::checkTypeInst(inst, typeins [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOService.cpp | 767 _IOOpenServiceIterator * inst; local 772 inst = new _IOOpenServiceIterator; 774 if( inst && !inst->init()) { 775 inst->release(); 776 inst = 0; 778 if( inst) { 779 inst->iter = _iter; 780 inst->client = client; 781 inst 2396 IOService * inst; local 2866 _IOConfigThread * inst; local 3776 IOResources * inst; local [all...] |
H A D | IOUserClient.cpp | 157 IOMachPort * inst = 0; local 168 if( (inst = (IOMachPort *) 170 inst->mscount++; 171 inst->retain(); 175 inst = new IOMachPort; 176 if( inst && !inst->init()) { 177 inst = 0; 181 inst->port = iokit_alloc_object_port( obj, type ); 182 if( inst [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fasttrap_isa.c | 84 static int32_t dtrace_decode_ppc(uint32_t inst); 85 int patchInst(task_t task, addr64_t vaddr, uint32_t inst); 289 panic("fasttrap_tracepoint_init: invalid branch decode, inst = %08X, optype = %d\n", instr, optype); 687 static int32_t dtrace_decode_ppc(uint32_t inst) { argument 693 curdcd = inst >> 26; /* Isolate major op code to start decode */ 706 xop = inst & masktab[newmask]; /* Clear all extra bits to make match */ 722 spr = (inst >> (31 - 20)) & 0x3FF; /* Get the source */
|
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/ |
H A D | OSMetaClass.cpp | 128 checkTypeInst(const OSMetaClassBase *inst, const OSMetaClassBase *typeinst) argument 131 return typeinst && inst && (0 != inst->metaCast(toType));
|