trapframe64
struct trapframe64;
int fpu_emulate(struct lwp *, struct trapframe64 *, struct fpstate64 *);
struct trapframe64 t;
int fixalign(struct lwp *, struct trapframe64 *);
int emulinstr(vaddr_t, struct trapframe64 *);
int kdb_trap(int, struct trapframe64 *);
struct trapframe64 db_tf;
struct trapframe64 md_tf;
struct trapframe64 *md_tf; /* trap/syscall registers */
void (*md_syscall)(struct trapframe64 *, __register_t, __register_t);
#define trapframe trapframe64
static __inline void share_fpu(struct lwp *, struct trapframe64 *);
share_fpu(struct lwp *l, struct trapframe64 *tf)
struct trapframe64 *tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf;
void kdb_kbd_trap(struct trapframe64 *);
static void ddb_suspend(struct trapframe64 *);
ddb_suspend(struct trapframe64 *tf)
kdb_kbd_trap(struct trapframe64 *tf)
fill_ddb_regs_from_tf(struct trapframe64 *tf)
kdb_trap(int type, struct trapframe64 *tf)
void fill_ddb_regs_from_tf(struct trapframe64 *tf);
struct trapframe64 *tf;
tf = (struct trapframe64 *)(uintptr_t)addr;
decodeaddr(struct trapframe64 *tf, union instr *code, void *val)
muldiv(struct trapframe64 *tf, union instr *code, int32_t *rd, int32_t *rs1,
fixalign(struct lwp *l, struct trapframe64 *tf)
emulinstr(vaddr_t pc, struct trapframe64 *tf)
static inline int readgpreg(struct trapframe64 *, int, void *);
static inline int writegpreg(struct trapframe64 *, int, const void *);
static inline int decodeaddr(struct trapframe64 *, union instr *, void *);
static int muldiv(struct trapframe64 *, union instr *, int32_t *, int32_t *,
readgpreg(struct trapframe64 *tf, int i, void *val)
writegpreg(struct trapframe64 *tf, int i, const void *val)
void strayintr(const struct trapframe64 *, int);
strayintr(const struct trapframe64 *fp, int vectored)
extern void fill_ddb_regs_from_tf(struct trapframe64 *tf);
struct trapframe64 *tf = ®s->db_tf;
struct trapframe64 *tf = ®s->db_tf;
struct trapframe64 *tf = l->l_md.md_tf;
const struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
void trapdump(struct trapframe64*);
trapdump(struct trapframe64* tf)
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64* tf = l->l_md.md_tf;
struct trapframe64* tf = l->l_md.md_tf;
const struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf;
struct trapframe64 *tf;
struct trapframe64 *tf;
lwp0.l_md.md_tf = (struct trapframe64*)(u0va + USPACE
- sizeof(struct trapframe64));
struct trapframe64* tf = l->l_md.md_tf;
struct trapframe64* tf = l->l_md.md_tf;
struct trapframe64 *tf = l->l_md.md_tf;
struct trapframe64 *tf;
struct trapframe64 *tf;
struct trapframe64 *tf;
tf = (struct trapframe64 *)l->l_md.md_tf;
register struct trapframe64 *tf;
tf = (struct trapframe64 *)l->l_md.md_tf;
static inline int handle_old(struct trapframe64 *, register_t *);
static inline int getargs(struct proc *, struct trapframe64 *,
void syscall(struct trapframe64 *, register_t, register_t);
handle_old(struct trapframe64 *tf, register_t *code)
getargs(struct proc *p, struct trapframe64 *tf, register_t *code,
syscall(struct trapframe64 *tf, register_t code, register_t pc)
data_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
data_access_error(struct trapframe64 *tf, unsigned int type, vaddr_t afva,
text_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
text_access_error(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
void trap(struct trapframe64 *, unsigned int, vaddr_t, long);
void data_access_fault(struct trapframe64 *, unsigned int, vaddr_t, vaddr_t,
void data_access_error(struct trapframe64 *, unsigned int, vaddr_t, u_long,
void text_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
void text_access_error(struct trapframe64 *, unsigned int, vaddr_t, u_long,
void print_trapframe(struct trapframe64 *);
print_trapframe(struct trapframe64 *tf)
trap(struct trapframe64 *tf, unsigned int type, vaddr_t pc, long tstate)
#define trapframe trapframe64