/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_asmutil.h | 41 * Each cpusave buffer has an area set aside for a ring buffer of breadcrumbs. 46 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 47 ld [cpusave + KRS_CURCRUMBIDX], tmp1; \ 52 st tmp1, [cpusave + KRS_CURCRUMBIDX]; \ 53 ldx [cpusave + KRS_CURCRUMB], tmp1; \ 57 st %g0, [cpusave + KRS_CURCRUMBIDX]; \ 58 add cpusave, KRS_CRUMBS, tmp1; \ 59 2: stx tmp1, [cpusave + KRS_CURCRUMB]; \ 67 #define ADD_CRUMB(cpusave, offset, value, tmp) \ 68 ldx [cpusave [all...] |
H A D | kaif_resume.s | 82 add %g6, KRS_FPREGS, %g4 ! %g4 = &cpusave[this_cpuid].krs_fpregs 105 ldx [%g6 + KRS_RWINS], %g3 ! %g3 = &cpusave[this_cpuid].krs_wins
|
H A D | kaif_startup.s | 125 * %g6 - cpusave area 292 * We'll need to access cpusave and gregs for our final state-saving,
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kaif_start.c | 91 kaif_master_loop(kaif_cpusave_t *cpusave) argument 104 kmdb_kdi_stop_slaves(cpusave->krs_cpu_id, 0); 114 if (kmdb_dpi_switch_target == cpusave->krs_cpu_id) 118 cpusave->krs_cpu_state = KAIF_CPU_STATE_SLAVE; 126 kaif_trap_set_saved(cpusave); 145 kaif_trap_set_saved(cpusave); 185 if (cpusave->krs_cpu_id == 0) 206 kaif_slave_loop(kaif_cpusave_t *cpusave) argument 225 kaif_slave_tgt == cpusave->krs_cpu_id) { 227 cpusave 267 kaif_select_master(kaif_cpusave_t *cpusave) argument 290 kaif_main_loop(kaif_cpusave_t *cpusave) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif_start_isadep.c | 45 kaif_debugger_entry(kaif_cpusave_t *cpusave) argument 49 (void) kaif_main_loop(cpusave);
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kmdb_kdi_isadep.c | 83 kmdb_kdi_activate(kdi_main_t main, kdi_cpusave_t *cpusave, int ncpusave) argument 85 mdb.m_kdi->mkdi_activate(main, cpusave, ncpusave); 95 kmdb_kdi_idt_switch(kdi_cpusave_t *cpusave) argument 97 mdb.m_kdi->mkdi_idt_switch(cpusave);
|
H A D | kaif.c | 775 kaif_trap_set_saved(kaif_cpusave_t *cpusave) argument 777 kmdb_kdi_idt_switch(cpusave); 834 kaif_kdi_entry(kdi_cpusave_t *cpusave) argument 836 int ret = kaif_main_loop(cpusave);
|
/illumos-gate/usr/src/uts/intel/kdi/ |
H A D | kdi_idt.c | 373 kdi_idt_switch(kdi_cpusave_t *cpusave) argument 375 if (cpusave == NULL) 378 kdi_idtr_set(cpusave->krs_idt, (sizeof (*idt0) * NIDT) - 1); 413 kdi_activate(kdi_main_t main, kdi_cpusave_t *cpusave, uint_t ncpusave) argument 420 kdi_cpusave = cpusave; 490 kdi_trap_pass(kdi_cpusave_t *cpusave) argument 492 greg_t tt = cpusave->krs_gregs[KDIREG_TRAPNO]; 493 greg_t pc = cpusave->krs_gregs[KDIREG_PC]; 494 greg_t cs = cpusave->krs_gregs[KDIREG_CS]; 522 kdi_debugger_entry(kdi_cpusave_t *cpusave) argument [all...] |
/illumos-gate/usr/src/uts/intel/kdi/amd64/ |
H A D | kdi_asm.s | 163 * Given the address of the current CPU's cpusave area in %rax, the following 172 * Takes the cpusave area in %rdi as a parameter, clobbers %rax-%rdx 243 * Each cpusave buffer has an area set aside for a ring buffer of breadcrumbs. 248 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 249 movq KRS_CURCRUMBIDX(cpusave), tmp1; \ 254 movq tmp1, KRS_CURCRUMBIDX(cpusave); \ 255 movq KRS_CURCRUMB(cpusave), tmp1; \ 259 movq $0, KRS_CURCRUMBIDX(cpusave); \ 260 leaq KRS_CRUMBS(cpusave), tmp1; \ 261 2: movq tmp1, KRS_CURCRUMB(cpusave); \ [all...] |
/illumos-gate/usr/src/uts/intel/kdi/ia32/ |
H A D | kdi_asm.s | 78 * Given the address of the current CPU's cpusave area in %edi, the following 87 * Takes the cpusave area in %edi as a parameter, clobbers %eax-%edx 176 * Each cpusave buffer has an area set aside for a ring buffer of breadcrumbs. 181 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 182 movl KRS_CURCRUMBIDX(cpusave), tmp1; \ 187 movl tmp1, KRS_CURCRUMBIDX(cpusave); \ 188 movl KRS_CURCRUMB(cpusave), tmp1; \ 192 movw $0, KRS_CURCRUMBIDX(cpusave); \ 193 leal KRS_CRUMBS(cpusave), tmp1; \ 194 2: movl tmp1, KRS_CURCRUMB(cpusave); \ [all...] |