/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ |
H A D | kdp.h | 40 void *saved_state
|
H A D | kdp_internal.h | 40 void *saved_state; member in struct:__anon783
|
H A D | kdp_udp.c | 828 void *saved_state 834 kdp.saved_state = saved_state; // see comment in kdp_raise_exception 1051 void *saved_state 1066 if (saved_state == 0) 1084 kdp.saved_state = saved_state; 1122 kdp_handler(saved_state);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_machdep.c | 141 struct savearea *saved_state; local 143 saved_state = kdp.saved_state; 147 state->srr0 = (unsigned int)saved_state->save_srr0; 148 state->srr1 = (unsigned int)saved_state->save_srr1; 149 state->r0 = (unsigned int)saved_state->save_r0; 150 state->r1 = (unsigned int)saved_state->save_r1; 151 state->r2 = (unsigned int)saved_state->save_r2; 152 state->r3 = (unsigned int)saved_state->save_r3; 153 state->r4 = (unsigned int)saved_state 192 struct savearea *saved_state; local 277 struct savearea *saved_state; local 326 struct savearea *saved_state; local 472 struct ppc_thread_state *saved_state; local 587 kdp_raise_exception(kdp_code(exception), 0, 0, saved_state); local 636 kdp_print_backtrace( unsigned int exception, struct savearea *saved_state) argument [all...] |
H A D | kdp_vm.c | 306 kdp_raise_exception(EXC_BAD_ACCESS, 0, 0, kdp.saved_state);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | pcb.c | 126 zone_t iss_zone; /* zone for saved_state area */ 373 x86_debug_state32_t *saved_state; local 375 saved_state = thread->machine.pcb->ids; 377 if (saved_state) { 378 ds->dr0 = saved_state->dr0; 379 ds->dr1 = saved_state->dr1; 380 ds->dr2 = saved_state->dr2; 381 ds->dr3 = saved_state->dr3; 382 ds->dr4 = saved_state->dr4; 383 ds->dr5 = saved_state 393 x86_debug_state64_t *saved_state; local 705 x86_saved_state64_t *saved_state; local 717 x86_saved_state32_t *saved_state; local 730 x86_saved_state32_t *saved_state; local 782 x86_saved_state64_t *saved_state; local 820 x86_saved_state32_t *saved_state; local 846 x86_saved_state64_t *saved_state; local 878 x86_saved_state32_t *saved_state; local 911 x86_saved_state64_t *saved_state; local 955 x86_saved_state32_t *saved_state; local 1017 x86_saved_state64_t *saved_state; local 1270 x86_saved_state32_t *saved_state; local 1297 x86_saved_state64_t *saved_state; local 1563 x86_saved_state32_t *saved_state; local 1602 x86_saved_state32_t *saved_state; local [all...] |
H A D | trap.c | 122 static void panic_trap(x86_saved_state32_t *saved_state); 123 static void set_recovery_ip(x86_saved_state32_t *saved_state, vm_offset_t ip); 322 x86_saved_state32_t *saved_state; local 344 saved_state = saved_state32(state); 346 vaddr = (user_addr_t)saved_state->cr2; 347 type = saved_state->trapno; 348 code = saved_state->err & 0xffff; 349 intr = (saved_state->efl & EFL_IF) != 0; /* state of ints at trap */ 351 kern_ip = (vm_offset_t)saved_state->eip; 459 if ((saved_state 657 set_recovery_ip(x86_saved_state32_t *saved_state, vm_offset_t ip) argument 944 user_trap( x86_saved_state_t *saved_state) argument 1309 sync_iss_to_iks(x86_saved_state32_t *saved_state) argument 1360 sync_iss_to_iks_unconditionally(__unused x86_saved_state_t *saved_state) argument [all...] |
H A D | thread.h | 206 x86_saved_state_t *saved_state; member in struct:i386_exception_link
|
H A D | machine_routines.c | 558 boolean_t ml_state_is64bit(void *saved_state) { argument 560 return is_saved_state64(saved_state);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/ |
H A D | kdp_machdep.c | 143 x86_saved_state32_t *saved_state; local 145 saved_state = (x86_saved_state32_t *)kdp.saved_state; 148 state->eax = saved_state->eax; 149 state->ebx = saved_state->ebx; 150 state->ecx = saved_state->ecx; 151 state->edx = saved_state->edx; 152 state->edi = saved_state->edi; 153 state->esi = saved_state->esi; 154 state->ebp = saved_state 182 x86_saved_state32_t *saved_state; local 331 x86_saved_state32_t *saved_state; local 385 kdp_i386_trap( unsigned int trapno, x86_saved_state32_t *saved_state, kern_return_t result, vm_offset_t va ) argument [all...] |
H A D | kdp_vm.c | 275 __unused x86_saved_state32_t *saved_state) 286 kdp_raise_exception(EXC_BAD_ACCESS, 0, 0, kdp.saved_state); 273 kdp_dump_trap( int type, __unused x86_saved_state32_t *saved_state) argument
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | model_dep.c | 716 Call_DebuggerC(unsigned int type, struct savearea *saved_state) argument 731 kdb_trap(type, saved_state); /* Then reenter it... */ 747 kprintf("Call_DebuggerC(%d): %08X %08X, debact = %d\n", my_cpu, type, (uint32_t)saved_state, debug_mode); /* (TEST/DEBUG) */ 750 my_cpu, PerProcTable[my_cpu].ppe_vaddr->debugger_is_slave, debugger_cpu, saved_state->save_srr0); 753 instr_pp = (vm_offset_t)pmap_find_phys(kernel_pmap, (addr64_t)(saved_state->save_srr0)); 756 instr_ptr = (addr64_t)(((addr64_t)instr_pp << 12) | (saved_state->save_srr0 & 0xFFF)); /* Make physical address */ 789 print_backtrace(saved_state); 795 if (saved_state->save_srr1 & MASK(SRR1_PRG_TRAP)) { /* Trap instruction? */ 805 kdp_trap(type, saved_state); /* Enter it */ 812 kdb_trap(type, saved_state); /* Ente [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | fbt_x86.c | 298 x86_saved_state32_t *saved_state = saved_state32(tagged_regs); local 299 struct x86_saved_state32_from_kernel *regs = (struct x86_saved_state32_from_kernel *)saved_state; 301 if (FBT_EXCEPTION_CODE == trapno && !IS_USER_TRAP(saved_state)) { 311 esp_probe = saved_state->uesp; /* Easy, x86_64 establishes this value in idt64.s */ 316 emul = dtrace_invop( saved_state->eip, (uintptr_t *)esp_probe, saved_state->eax ); 322 saved_state->eip += DTRACE_INVOP_NOP_SKIP; /* Skip over the patched NOP */ 327 saved_state->ebp = esp_probe; /* Emulate patched movl %esp,%ebp */ 328 saved_state->eip += DTRACE_INVOP_MOVL_ESP_EBP_SKIP; /* Skip over the bytes of the patched movl %esp,%ebp */ 339 fp = saved_state [all...] |