Lines Matching refs:kregs
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()
209 kreg_t *kregs = &gregs.kregs[0]; in mdb_amd64_kvm_stack_iter() local
210 int got_pc = (gsp->kregs[KREG_RIP] != 0); in mdb_amd64_kvm_stack_iter()
222 uintptr_t fp = gsp->kregs[KREG_RBP]; in mdb_amd64_kvm_stack_iter()
223 uintptr_t pc = gsp->kregs[KREG_RIP]; in mdb_amd64_kvm_stack_iter()
388 kregs[KREG_RSP] = kregs[KREG_RBP]; in mdb_amd64_kvm_stack_iter()
404 kregs[KREG_RBP] = fp; in mdb_amd64_kvm_stack_iter()
405 kregs[KREG_RIP] = pc = fr.fr_savpc; in mdb_amd64_kvm_stack_iter()
534 mdb_printf("%0?lr %a(", gregs->kregs[KREG_RBP], pc); in mdb_amd64_kvm_framev()