Home
last modified time | relevance | path

Searched refs:cpusave (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/cmd/mdb/common/kmdb/
H A Dkaif_start.c91 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 Dkaif_asmutil.h46 #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 Dkaif_resume.s82 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 Dkaif_startup.s125 * %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 Dkdi_idt.c373 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 Dkmdb_kdi_isadep.c83 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 Dkaif.c775 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 Dkaif_start_isadep.c45 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 Dkdi_asm.s181 #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 Dkdi_asm.s248 #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; \