Searched refs:kregs (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | mdb_ia32util.c | 101 const kreg_t *kregs = &gregs->kregs[0]; in mdb_ia32_printregs() local 102 kreg_t eflags = kregs[KREG_EFLAGS]; in mdb_ia32_printregs() 105 kregs[KREG_CS], kregs[KREG_EAX], kregs[KREG_EAX]); in mdb_ia32_printregs() 108 kregs[KREG_DS], kregs[KREG_EBX], kregs[KREG_EBX]); in mdb_ia32_printregs() 111 kregs[KREG_SS], kregs[KREG_ECX], kregs[KREG_ECX]); in mdb_ia32_printregs() 114 kregs[KREG_ES], kregs[KREG_EDX], kregs[KREG_EDX]); in mdb_ia32_printregs() 117 kregs[KREG_FS], kregs[KREG_ESI], kregs[KREG_ESI]); in mdb_ia32_printregs() 120 kregs[KREG_GS], kregs[KREG_EDI], kregs[KREG_EDI]); in mdb_ia32_printregs() 122 mdb_printf("%%eip = 0x%08p %A\n", kregs[KREG_EIP], kregs[KREG_EIP]); in mdb_ia32_printregs() 123 mdb_printf("%%ebp = 0x%08p\n", kregs[KREG_EBP]); in mdb_ia32_printregs() [all …]
|
H A D | kvm_ia32dep.c | 76 gregs.kregs[KREG_EBP] = addr; in kt_stack_common() 165 gregs->kregs[KREG_SAVFP] = regs->r_savfp; in kt_regs_to_kregs() 166 gregs->kregs[KREG_SAVPC] = regs->r_savpc; in kt_regs_to_kregs() 167 gregs->kregs[KREG_EAX] = regs->r_eax; in kt_regs_to_kregs() 168 gregs->kregs[KREG_EBX] = regs->r_ebx; in kt_regs_to_kregs() 169 gregs->kregs[KREG_ECX] = regs->r_ecx; in kt_regs_to_kregs() 170 gregs->kregs[KREG_EDX] = regs->r_edx; in kt_regs_to_kregs() 171 gregs->kregs[KREG_ESI] = regs->r_esi; in kt_regs_to_kregs() 172 gregs->kregs[KREG_EDI] = regs->r_edi; in kt_regs_to_kregs() 173 gregs->kregs[KREG_EBP] = regs->r_ebp; in kt_regs_to_kregs() [all …]
|
H A D | kvm_amd64dep.c | 76 gregs.kregs[KREG_RBP] = addr; in kt_stack_common() 165 gregs->kregs[KREG_SAVFP] = regs->r_savfp; in kt_regs_to_kregs() 166 gregs->kregs[KREG_SAVPC] = regs->r_savpc; in kt_regs_to_kregs() 167 gregs->kregs[KREG_RDI] = regs->r_rdi; in kt_regs_to_kregs() 168 gregs->kregs[KREG_RSI] = regs->r_rsi; in kt_regs_to_kregs() 169 gregs->kregs[KREG_RDX] = regs->r_rdx; in kt_regs_to_kregs() 170 gregs->kregs[KREG_RCX] = regs->r_rcx; in kt_regs_to_kregs() 171 gregs->kregs[KREG_R8] = regs->r_r8; in kt_regs_to_kregs() 172 gregs->kregs[KREG_R9] = regs->r_r9; in kt_regs_to_kregs() 173 gregs->kregs[KREG_RAX] = regs->r_rax; in kt_regs_to_kregs() [all …]
|
H A D | mdb_amd64util.c | 147 const kreg_t *kregs = &gregs->kregs[0]; in mdb_amd64_printregs() local 148 kreg_t rflags = kregs[KREG_RFLAGS]; in mdb_amd64_printregs() 150 #define GETREG2(x) ((uintptr_t)kregs[(x)]), ((uintptr_t)kregs[(x)]) in mdb_amd64_printregs() 168 mdb_printf("%%rbp = 0x%0?p\n", kregs[KREG_RBP]); in mdb_amd64_printregs() 169 mdb_printf("%%rsp = 0x%0?p\n", kregs[KREG_RSP]); in mdb_amd64_printregs() 195 "%%es = 0x%04x\t%%fs = 0x%04x\n", kregs[KREG_CS], kregs[KREG_DS], in mdb_amd64_printregs() 196 kregs[KREG_ES], kregs[KREG_FS] & 0xffff); in mdb_amd64_printregs() 198 kregs[KREG_GS] & 0xffff, kregs[KREG_GSBASE], kregs[KREG_KGSBASE]); in mdb_amd64_printregs() 200 "%%cr3 = 0x%lx\n", kregs[KREG_TRAPNO], kregs[KREG_ERR], in mdb_amd64_printregs() 201 kregs[KREG_CR2], kregs[KREG_CR3]); in mdb_amd64_printregs() [all …]
|
H A D | kvm_isadep.c | 60 *rp = kt->k_regs->kregs[rdp->rd_num]; in kt_getareg() 96 kt->k_regs->kregs[rdp->rd_num] = (kreg_t)r; in kt_putareg() 105 kt_kvmregs(mdb_tgt_t *t, uint_t cpuid, mdb_tgt_gregset_t *kregs) in kt_kvmregs() argument 114 kt_regs_to_kregs(&mregs.pm_gregs, kregs); in kt_kvmregs() 165 addr = regs.kregs[KREG_FP]; in kt_cpustack()
|
H A D | mdb_kreg_impl.h | 41 kreg_t kregs[KREG_NGREG]; member
|
H A D | mdb_bhyve.c | 268 &gregs->kregs[0]) != 0) { in bhyve_get_gregset() 280 gregs->kregs[KREG_SAVFP] = 0; in bhyve_get_gregset() 281 gregs->kregs[KREG_SAVPC] = 0; in bhyve_get_gregset() 282 gregs->kregs[KREG_KGSBASE] = 0; in bhyve_get_gregset() 283 gregs->kregs[KREG_TRAPNO] = 0; in bhyve_get_gregset() 284 gregs->kregs[KREG_ERR] = 0; in bhyve_get_gregset() 286 gregs->kregs[KREG_FSBASE] = fs.vd_base; in bhyve_get_gregset() 287 gregs->kregs[KREG_GSBASE] = gs.vd_base; in bhyve_get_gregset() 366 gregs.kregs[KREG_RBP] = addr; in bhyve_stack_common()
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_isadep.c | 133 gregs.kregs[KREG_FP] = addr; in kmt_stack_common()
|
H A D | kaif.c | 226 return (®s->kregs[rd->rd_num]); in kaif_find_regp()
|