/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kaif_start.c | 91 kaif_master_loop(kaif_cpusave_t *cpusave) in kaif_master_loop() argument 104 kmdb_kdi_stop_slaves(cpusave->krs_cpu_id, 0); in kaif_master_loop() 114 if (kmdb_dpi_switch_target == cpusave->krs_cpu_id) in kaif_master_loop() 118 cpusave->krs_cpu_state = KAIF_CPU_STATE_SLAVE; in kaif_master_loop() 126 kaif_trap_set_saved(cpusave); in kaif_master_loop() 145 kaif_trap_set_saved(cpusave); in kaif_master_loop() 185 if (cpusave->krs_cpu_id == 0) in kaif_master_loop() 206 kaif_slave_loop(kaif_cpusave_t *cpusave) in kaif_slave_loop() argument 225 kaif_slave_tgt == cpusave->krs_cpu_id) { in kaif_slave_loop() 227 cpusave->krs_cpu_state = KAIF_CPU_STATE_MASTER; in kaif_slave_loop() [all …]
|
/titanic_50/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_asmutil.h | 46 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument 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) \ argument 68 ldx [cpusave + KRS_CURCRUMB], tmp; \ 71 #define ADD_CRUMB_CONST(cpusave, offset, value, tmp1, tmp2) \ argument [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,
|
/titanic_50/usr/src/uts/intel/kdi/ |
H A D | kdi_idt.c | 373 kdi_idt_switch(kdi_cpusave_t *cpusave) in kdi_idt_switch() argument 375 if (cpusave == NULL) in kdi_idt_switch() 378 kdi_idtr_set(cpusave->krs_idt, (sizeof (*idt0) * NIDT) - 1); in kdi_idt_switch() 413 kdi_activate(kdi_main_t main, kdi_cpusave_t *cpusave, uint_t ncpusave) in kdi_activate() argument 420 kdi_cpusave = cpusave; in kdi_activate() 490 kdi_trap_pass(kdi_cpusave_t *cpusave) in kdi_trap_pass() argument 492 greg_t tt = cpusave->krs_gregs[KDIREG_TRAPNO]; in kdi_trap_pass() 493 greg_t pc = cpusave->krs_gregs[KDIREG_PC]; in kdi_trap_pass() 494 greg_t cs = cpusave->krs_gregs[KDIREG_CS]; in kdi_trap_pass() 522 kdi_debugger_entry(kdi_cpusave_t *cpusave) in kdi_debugger_entry() argument [all …]
|
/titanic_50/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) in kmdb_kdi_activate() argument 85 mdb.m_kdi->mkdi_activate(main, cpusave, ncpusave); in kmdb_kdi_activate() 95 kmdb_kdi_idt_switch(kdi_cpusave_t *cpusave) in kmdb_kdi_idt_switch() argument 97 mdb.m_kdi->mkdi_idt_switch(cpusave); in kmdb_kdi_idt_switch()
|
H A D | kaif.c | 775 kaif_trap_set_saved(kaif_cpusave_t *cpusave) in kaif_trap_set_saved() argument 777 kmdb_kdi_idt_switch(cpusave); in kaif_trap_set_saved() 834 kaif_kdi_entry(kdi_cpusave_t *cpusave) in kaif_kdi_entry() argument 836 int ret = kaif_main_loop(cpusave); in kaif_kdi_entry()
|
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif_start_isadep.c | 45 kaif_debugger_entry(kaif_cpusave_t *cpusave) in kaif_debugger_entry() argument 49 (void) kaif_main_loop(cpusave); in kaif_debugger_entry()
|
/titanic_50/usr/src/uts/intel/kdi/ia32/ |
H A D | kdi_asm.s | 181 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument 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); \ 202 #define ADD_CRUMB(cpusave, offset, value, tmp) \ argument 203 movl KRS_CURCRUMB(cpusave), tmp; \
|
/titanic_50/usr/src/uts/intel/kdi/amd64/ |
H A D | kdi_asm.s | 248 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument 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); \ 269 #define ADD_CRUMB(cpusave, offset, value, tmp) \ argument 270 movq KRS_CURCRUMB(cpusave), tmp; \
|