Home
last modified time | relevance | path

Searched refs:kreg_t (Results 1 – 25 of 37) sorted by relevance

12

/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_fault.h38 extern void kmdb_fault(kreg_t, kreg_t, kreg_t, int);
39 extern void kmdb_fault_display(kreg_t, kreg_t, kreg_t, int);
H A Dkmdb_fault.c45 kmdb_fault(kreg_t tt, kreg_t pc, kreg_t sp, int cpuid) in kmdb_fault()
H A Dkmdb_dpi_impl.h71 int (*dpo_get_register)(const char *, kreg_t *);
72 int (*dpo_set_register)(const char *, kreg_t);
H A Dkmdb_dpi.h104 extern int kmdb_dpi_get_register(const char *, kreg_t *);
105 extern int kmdb_dpi_set_register(const char *, kreg_t);
/titanic_41/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_dpi_isadep.h38 extern int kmdb_dpi_get_register(const char *, kreg_t *);
39 extern int kmdb_dpi_set_register(const char *, kreg_t);
44 extern void kmdb_dpi_handle_fault(kreg_t, kreg_t, kreg_t, kreg_t, int);
H A Dkmdb_dpi_isadep.c48 kmdb_dpi_handle_fault(kreg_t tt, kreg_t tpc, kreg_t tnpc, kreg_t sp, int cpuid) in kmdb_dpi_handle_fault()
79 kmdb_dpi_get_register(const char *regname, kreg_t *kregp) in kmdb_dpi_get_register()
85 kmdb_dpi_set_register(const char *regname, kreg_t kreg) in kmdb_dpi_set_register()
122 kreg_t pc, tt; in kmdb_dpi_resume_common()
H A Dkmdb_fault_isadep.c81 print_stack(kreg_t sp, int safe) in print_stack()
115 kmdb_fault_display(kreg_t tt, kreg_t pc, kreg_t sp, int safe) in kmdb_fault_display()
H A Dkvm_isadep.h38 uintptr_t kmt_invoke(uintptr_t, uint_t, const uintptr_t *, kreg_t, kreg_t);
H A Dkaif.c202 static kreg_t *
229 return ((kreg_t *)&save->krs_rwins[win].rw_in[idx]); in kaif_find_regp()
231 return ((kreg_t *)&save->krs_rwins[win].rw_local[idx]); in kaif_find_regp()
247 kaif_get_register(const char *regname, kreg_t *valp) in kaif_get_register()
250 kreg_t *regp; in kaif_get_register()
268 kaif_set_register(const char *regname, kreg_t val) in kaif_set_register()
271 kreg_t *regp; in kaif_set_register()
576 kreg_t pc, npc, brtgt, pstate, tt; in kaif_step()
603 kreg_t pstate; in kaif_step()
614 kreg_t rs1, rs2, val; in kaif_step()
[all …]
H A Dkvm_isadep.c76 kreg_t *kregs = &gregs.kregs[0]; in kmt_stack_iter()
140 bcopy(&kregs[KREG_I0], &kregs[KREG_O0], 8 * sizeof (kreg_t)); in kmt_stack_iter()
172 int cpuid, mdb_tgt_stack_f *func, kreg_t saved_pc) in kmt_stack_common()
351 kreg_t pc, i7, o7; in kmt_step_out()
411 kreg_t pc, npc; in kmt_next()
423 kreg_t reg; in kmt_next()
H A Dkaif.h87 kreg_t, kreg_t);
/titanic_41/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_dpi_isadep.c44 kmdb_dpi_handle_fault(kreg_t trapno, kreg_t pc, kreg_t sp, int cpuid) in kmdb_dpi_handle_fault()
69 kmdb_dpi_get_register(const char *regname, kreg_t *kregp) in kmdb_dpi_get_register()
76 kmdb_dpi_set_register(const char *regname, kreg_t kreg) in kmdb_dpi_set_register()
95 kreg_t pc, trapno; in kmdb_dpi_resume_common()
H A Dkaif.c195 static kreg_t *
234 kaif_get_register(const char *regname, kreg_t *valp) in kaif_get_register()
236 kreg_t *regp; in kaif_get_register()
247 kaif_set_register(const char *regname, kreg_t val) in kaif_set_register()
249 kreg_t *regp; in kaif_set_register()
440 kreg_t pc, fl, oldfl, newfl, sp; in kaif_step()
531 if (mdb_tgt_vread(mdb.m_target, &newfl, sizeof (kreg_t), in kaif_step()
532 sp) != sizeof (kreg_t)) { in kaif_step()
540 if (mdb_tgt_vwrite(mdb.m_target, &fl, sizeof (kreg_t), in kaif_step()
541 sp) != sizeof (kreg_t)) { in kaif_step()
[all …]
H A Dkmdb_dpi_isadep.h42 extern void kmdb_dpi_handle_fault(kreg_t, kreg_t, kreg_t, int);
H A Dkmdb_fault_isadep.c72 print_stack(kreg_t sp, int safe) in print_stack()
93 kmdb_fault_display(kreg_t trapno, kreg_t pc, kreg_t sp, int safe) in kmdb_fault_display()
/titanic_41/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_amd64util.h43 extern int mdb_amd64_next(mdb_tgt_t *, uintptr_t *, kreg_t, mdb_instr_t);
44 extern int mdb_amd64_step_out(mdb_tgt_t *, uintptr_t *, kreg_t, kreg_t, kreg_t,
H A Dmdb_ia32util.h43 extern int mdb_ia32_next(mdb_tgt_t *, uintptr_t *, kreg_t, mdb_instr_t);
44 extern int mdb_ia32_step_out(mdb_tgt_t *, uintptr_t *, kreg_t, kreg_t, kreg_t,
H A Dmdb_ia32util.c94 const kreg_t *kregs = &gregs->kregs[0]; in mdb_ia32_printregs()
95 kreg_t eflags = kregs[KREG_EFLAGS]; in mdb_ia32_printregs()
196 kreg_t *kregs = &gregs.kregs[0]; in mdb_ia32_kvm_stack_iter()
304 mdb_ia32_step_out(mdb_tgt_t *t, uintptr_t *p, kreg_t pc, kreg_t fp, kreg_t sp, in mdb_ia32_step_out()
340 mdb_ia32_next(mdb_tgt_t *t, uintptr_t *p, kreg_t pc, mdb_instr_t curinstr) in mdb_ia32_next()
H A Dmdb_amd64util.c142 const kreg_t *kregs = &gregs->kregs[0]; in mdb_amd64_printregs()
143 kreg_t rflags = kregs[KREG_RFLAGS]; in mdb_amd64_printregs()
203 kreg_t *kregs = &gregs.kregs[0]; in mdb_amd64_kvm_stack_iter()
414 mdb_amd64_step_out(mdb_tgt_t *t, uintptr_t *p, kreg_t pc, kreg_t fp, kreg_t sp, in mdb_amd64_step_out()
449 mdb_amd64_next(mdb_tgt_t *t, uintptr_t *p, kreg_t pc, mdb_instr_t curinstr) in mdb_amd64_next()
H A Dmdb_kreg.h42 typedef uint64_t kreg_t; typedef
44 typedef uint32_t kreg_t;
/titanic_41/usr/src/cmd/mdb/sparc/v9/kmdb/
H A Dkaif_regs.h87 kreg_t krs_tstate; /* Saved %tstate */
88 kreg_t krs_mmu_pcontext; /* Context # at kmdb entry */
H A Dkaif_invoke.s62 kreg_t g6, kreg_t g7)
/titanic_41/usr/src/cmd/mdb/sparc/mdb/
H A Dmdb_v9util.c116 pstate_mm_to_str(kreg_t pstate) in pstate_mm_to_str()
133 const kreg_t *kregs = gregs->kregs; in mdb_v9printregs()
256 kreg_t *kregs = &gregs.kregs[0]; in mdb_kvm_v9stack_iter()
285 bcopy(&kregs[KREG_I0], &kregs[KREG_O0], 8 * sizeof (kreg_t)); in mdb_kvm_v9stack_iter()
346 const kreg_t *kregs = &gregs->kregs[0]; in mdb_kvm_v9framer()
H A Dmdb_kreg.h43 typedef uint64_t kreg_t; typedef
48 typedef uint32_t kreg_t;
H A Dkvm_v7dep.c59 kreg_t kregs[KREG_NGREG];
155 kreg_t *kregs = &gregs.kregs[0]; in kt_stack_iter()
175 bcopy(&kregs[KREG_I0], &kregs[KREG_O0], 8 * sizeof (kreg_t)); in kt_stack_iter()
201 const kreg_t *kregs = &k_regs->kregs[0]; in kt_regs()
434 kreg_t *kregs; in kt_sparcv7_init()

12