Home
last modified time | relevance | path

Searched refs:trapframe (Results 1 – 25 of 232) sorted by relevance

12345678910

/freebsd-12.1/gnu/usr.bin/gdb/kgdb/
H A Dtrgt_mips.c112 offsetof(struct trapframe, v0),
113 offsetof(struct trapframe, v1),
114 offsetof(struct trapframe, a0),
115 offsetof(struct trapframe, a1),
116 offsetof(struct trapframe, a2),
117 offsetof(struct trapframe, a3),
119 offsetof(struct trapframe, a4),
120 offsetof(struct trapframe, a5),
121 offsetof(struct trapframe, a6),
122 offsetof(struct trapframe, a7),
[all …]
H A Dtrgt_amd64.c94 offsetof(struct trapframe, tf_rax),
95 offsetof(struct trapframe, tf_rbx),
96 offsetof(struct trapframe, tf_rcx),
97 offsetof(struct trapframe, tf_rdx),
98 offsetof(struct trapframe, tf_rsi),
99 offsetof(struct trapframe, tf_rdi),
100 offsetof(struct trapframe, tf_rbp),
102 offsetof(struct trapframe, tf_r8),
103 offsetof(struct trapframe, tf_r9),
112 offsetof(struct trapframe, tf_cs),
[all …]
H A Dtrgt_arm.c103 offsetof(struct trapframe, tf_r0),
104 offsetof(struct trapframe, tf_r1),
105 offsetof(struct trapframe, tf_r2),
106 offsetof(struct trapframe, tf_r3),
107 offsetof(struct trapframe, tf_r4),
108 offsetof(struct trapframe, tf_r5),
109 offsetof(struct trapframe, tf_r6),
110 offsetof(struct trapframe, tf_r7),
111 offsetof(struct trapframe, tf_r8),
112 offsetof(struct trapframe, tf_r9),
[all …]
H A Dtrgt_i386.c261 offsetof(struct trapframe, tf_eax),
262 offsetof(struct trapframe, tf_ecx),
263 offsetof(struct trapframe, tf_edx),
264 offsetof(struct trapframe, tf_ebx),
265 offsetof(struct trapframe, tf_esp),
266 offsetof(struct trapframe, tf_ebp),
271 offsetof(struct trapframe, tf_cs),
272 offsetof(struct trapframe, tf_ss),
273 offsetof(struct trapframe, tf_ds),
274 offsetof(struct trapframe, tf_es),
[all …]
H A Dtrgt_powerpc64.c155 ofs = offsetof(struct trapframe, in kgdb_trgt_trapframe_prev_register()
158 ofs = offsetof(struct trapframe, lr); in kgdb_trgt_trapframe_prev_register()
160 ofs = offsetof(struct trapframe, cr); in kgdb_trgt_trapframe_prev_register()
162 ofs = offsetof(struct trapframe, xer); in kgdb_trgt_trapframe_prev_register()
164 ofs = offsetof(struct trapframe, ctr); in kgdb_trgt_trapframe_prev_register()
166 ofs = offsetof(struct trapframe, srr0); in kgdb_trgt_trapframe_prev_register()
H A Dtrgt_powerpc.c158 ofs = offsetof(struct trapframe, in kgdb_trgt_trapframe_prev_register()
161 ofs = offsetof(struct trapframe, lr); in kgdb_trgt_trapframe_prev_register()
163 ofs = offsetof(struct trapframe, cr); in kgdb_trgt_trapframe_prev_register()
165 ofs = offsetof(struct trapframe, xer); in kgdb_trgt_trapframe_prev_register()
167 ofs = offsetof(struct trapframe, ctr); in kgdb_trgt_trapframe_prev_register()
169 ofs = offsetof(struct trapframe, srr0); in kgdb_trgt_trapframe_prev_register()
/freebsd-12.1/sys/mips/mips/
H A Dvm_machdep.c418 struct trapframe *tf; in cpu_set_upcall()
513 dump_trapframe(struct trapframe *trapframe) in dump_trapframe() argument
520 DB_PRINT_REG(trapframe, v0); in dump_trapframe()
521 DB_PRINT_REG(trapframe, v1); in dump_trapframe()
522 DB_PRINT_REG(trapframe, a0); in dump_trapframe()
523 DB_PRINT_REG(trapframe, a1); in dump_trapframe()
524 DB_PRINT_REG(trapframe, a2); in dump_trapframe()
525 DB_PRINT_REG(trapframe, a3); in dump_trapframe()
573 struct trapframe *trapframe; in DB_SHOW_COMMAND() local
587 trapframe = &pcb->pcb_regs; in DB_SHOW_COMMAND()
[all …]
H A Dtrap.c515 trap(struct trapframe *trapframe) in trap() argument
579 (intmax_t)trapframe->badvaddr, (intmax_t)trapframe->pc, (intmax_t)trapframe->ra, in trap()
580 (intmax_t)trapframe->sp, (intmax_t)trapframe->sr, in trap()
793 td->td_sa.trapframe = trapframe; in trap()
838 va = trapframe->pc; in trap()
870 va = trapframe->pc; in trap()
886 va = trapframe->pc; in trap()
975 trapframe); in trap()
1027 (intmax_t)trapframe->pc, (unsigned)trapframe->cause, (unsigned)trapframe->sr); in trap()
1037 MipsFPTrap(trapframe->sr, trapframe->cause, trapframe->pc); in trap()
[all …]
/freebsd-12.1/sys/powerpc/powerpc/
H A Dgenassym.c146 ASSYM(FRAME_0, offsetof(struct trapframe, fixreg[0]));
147 ASSYM(FRAME_1, offsetof(struct trapframe, fixreg[1]));
148 ASSYM(FRAME_2, offsetof(struct trapframe, fixreg[2]));
149 ASSYM(FRAME_3, offsetof(struct trapframe, fixreg[3]));
178 ASSYM(FRAME_LR, offsetof(struct trapframe, lr));
179 ASSYM(FRAME_CR, offsetof(struct trapframe, cr));
180 ASSYM(FRAME_CTR, offsetof(struct trapframe, ctr));
181 ASSYM(FRAME_XER, offsetof(struct trapframe, xer));
182 ASSYM(FRAME_SRR0, offsetof(struct trapframe, srr0));
183 ASSYM(FRAME_SRR1, offsetof(struct trapframe, srr1));
[all …]
H A Dtrap.c86 static void trap_fatal(struct trapframe *frame);
92 static void syscall(struct trapframe *frame);
114 int (*dtrace_invop_jump_addr)(struct trapframe *);
187 frame_is_trap_inst(struct trapframe *frame) in frame_is_trap_inst()
197 trap(struct trapframe *frame) in trap()
450 trap_fatal(struct trapframe *frame) in trap_fatal()
549 handle_onfault(struct trapframe *frame) in handle_onfault()
574 struct trapframe *frame; in cpu_fetch_syscall_args()
661 syscall(struct trapframe *frame) in syscall()
767 trap_pfault(struct trapframe *frame, int user) in trap_pfault()
[all …]
/freebsd-12.1/sys/sparc64/sparc64/
H A Dgenassym.c220 ASSYM(TF_O0, offsetof(struct trapframe, tf_out[0]));
221 ASSYM(TF_O1, offsetof(struct trapframe, tf_out[1]));
222 ASSYM(TF_O2, offsetof(struct trapframe, tf_out[2]));
223 ASSYM(TF_O3, offsetof(struct trapframe, tf_out[3]));
229 ASSYM(TF_FSR, offsetof(struct trapframe, tf_fsr));
230 ASSYM(TF_GSR, offsetof(struct trapframe, tf_gsr));
231 ASSYM(TF_PIL, offsetof(struct trapframe, tf_pil));
235 ASSYM(TF_TAR, offsetof(struct trapframe, tf_tar));
237 ASSYM(TF_Y, offsetof(struct trapframe, tf_y));
239 ASSYM(TF_TPC, offsetof(struct trapframe, tf_tpc));
[all …]
/freebsd-12.1/sys/amd64/amd64/
H A Dgenassym.c162 ASSYM(TF_R15, offsetof(struct trapframe, tf_r15));
163 ASSYM(TF_R14, offsetof(struct trapframe, tf_r14));
168 ASSYM(TF_R9, offsetof(struct trapframe, tf_r9));
169 ASSYM(TF_R8, offsetof(struct trapframe, tf_r8));
181 ASSYM(TF_CS, offsetof(struct trapframe, tf_cs));
184 ASSYM(TF_SS, offsetof(struct trapframe, tf_ss));
185 ASSYM(TF_DS, offsetof(struct trapframe, tf_ds));
186 ASSYM(TF_ES, offsetof(struct trapframe, tf_es));
187 ASSYM(TF_FS, offsetof(struct trapframe, tf_fs));
188 ASSYM(TF_GS, offsetof(struct trapframe, tf_gs));
[all …]
H A Dtrap.c111 void trap_check(struct trapframe *frame);
118 int (**hook)(struct trapframe *));
189 trap(struct trapframe *frame) in trap()
675 trap_check(struct trapframe *frame) in trap_check()
687 trap_is_smap(struct trapframe *frame) in trap_is_smap()
705 trap_is_pti(struct trapframe *frame) in trap_is_pti()
876 struct trapframe *frame; in trap_fatal()
954 trap_user_dtrace(struct trapframe *frame, int (**hookp)(struct trapframe *)) in trap_user_dtrace() argument
956 int (*hook)(struct trapframe *); in trap_user_dtrace()
1009 struct trapframe *frame; in cpu_fetch_syscall_args_fallback()
[all …]
/freebsd-12.1/sys/riscv/riscv/
H A Dgenassym.c89 ASSYM(TF_SIZE, sizeof(struct trapframe));
90 ASSYM(TF_RA, offsetof(struct trapframe, tf_ra));
91 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
92 ASSYM(TF_GP, offsetof(struct trapframe, tf_gp));
93 ASSYM(TF_TP, offsetof(struct trapframe, tf_tp));
94 ASSYM(TF_T, offsetof(struct trapframe, tf_t));
95 ASSYM(TF_S, offsetof(struct trapframe, tf_s));
96 ASSYM(TF_A, offsetof(struct trapframe, tf_a));
97 ASSYM(TF_SEPC, offsetof(struct trapframe, tf_sepc));
98 ASSYM(TF_STVAL, offsetof(struct trapframe, tf_stval));
[all …]
H A Dvm_machdep.c71 struct trapframe *tf; in cpu_fork()
84 tf = (struct trapframe *)STACKALIGN((struct trapframe *)pcb2 - 1); in cpu_fork()
131 struct trapframe *frame; in cpu_set_syscall_retval()
164 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
185 struct trapframe *tf; in cpu_set_upcall()
221 td->td_frame = (struct trapframe *)STACKALIGN( in cpu_thread_alloc()
222 (caddr_t)td->td_pcb - 8 - sizeof(struct trapframe)); in cpu_thread_alloc()
/freebsd-12.1/sys/arm64/arm64/
H A Dtrap.c76 void do_el1h_sync(struct thread *, struct trapframe *);
77 void do_el0_sync(struct thread *, struct trapframe *);
78 void do_el0_error(struct trapframe *);
79 void do_serror(struct trapframe *);
80 void unhandled_exception(struct trapframe *);
82 static void print_registers(struct trapframe *frame);
84 int (*dtrace_invop_jump_addr)(struct trapframe *);
265 print_registers(struct trapframe *frame) in print_registers()
282 struct trapframe *oframe; in do_el1h_sync()
477 do_serror(struct trapframe *frame) in do_serror()
[all …]
H A Dvm_machdep.c69 struct trapframe *tf; in cpu_fork()
96 tf = (struct trapframe *)STACKALIGN((struct trapframe *)pcb2 - 1); in cpu_fork()
141 struct trapframe *frame; in cpu_set_syscall_retval()
173 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
196 struct trapframe *tf = td->td_frame; in cpu_set_upcall()
230 td->td_frame = (struct trapframe *)STACKALIGN( in cpu_thread_alloc()
231 (struct trapframe *)td->td_pcb - 1); in cpu_thread_alloc()
H A Dgenassym.c68 ASSYM(TF_SIZE, sizeof(struct trapframe));
69 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
70 ASSYM(TF_ELR, offsetof(struct trapframe, tf_elr));
71 ASSYM(TF_SPSR, offsetof(struct trapframe, tf_spsr));
72 ASSYM(TF_X, offsetof(struct trapframe, tf_x));
/freebsd-12.1/sys/cddl/dev/dtrace/mips/
H A Ddtrace_subr.c49 extern int (*dtrace_invop_jump_addr)(struct trapframe *);
52 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
57 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);
64 dtrace_invop(uintptr_t addr, struct trapframe *stack, uintptr_t eax) in dtrace_invop()
77 dtrace_invop_add(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_add() argument
88 dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_remove() argument
181 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap()
247 dtrace_invop_start(struct trapframe *frame) in dtrace_invop_start()
/freebsd-12.1/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_subr.c53 extern int (*dtrace_invop_jump_addr)(struct trapframe *);
56 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
61 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);
68 dtrace_invop(uintptr_t addr, struct trapframe *frame, uintptr_t eax) in dtrace_invop()
81 dtrace_invop_add(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_add() argument
92 dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_remove() argument
186 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap()
250 dtrace_invop_start(struct trapframe *frame) in dtrace_invop_start()
/freebsd-12.1/sys/cddl/dev/dtrace/arm/
H A Ddtrace_subr.c55 extern int (*dtrace_invop_jump_addr)(struct trapframe *);
58 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
63 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);
70 dtrace_invop(uintptr_t addr, struct trapframe *frame, uintptr_t eax) in dtrace_invop()
84 dtrace_invop_add(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_add() argument
95 dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_remove() argument
184 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap()
235 dtrace_invop_start(struct trapframe *frame) in dtrace_invop_start()
/freebsd-12.1/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c50 extern int (*dtrace_invop_jump_addr)(struct trapframe *);
53 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
58 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);
65 dtrace_invop(uintptr_t addr, struct trapframe *frame, uintptr_t eax) in dtrace_invop()
79 dtrace_invop_add(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_add() argument
90 dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_remove() argument
184 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap()
235 dtrace_invop_start(struct trapframe *frame) in dtrace_invop_start()
/freebsd-12.1/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_subr.c50 extern int (*dtrace_invop_jump_addr)(struct trapframe *);
54 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
59 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);
66 dtrace_invop(uintptr_t addr, struct trapframe *frame, uintptr_t arg0) in dtrace_invop()
79 dtrace_invop_add(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_add() argument
90 dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t)) in dtrace_invop_remove() argument
268 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap()
337 dtrace_invop_start(struct trapframe *frame) in dtrace_invop_start()
/freebsd-12.1/sys/sys/
H A Ddtrace_bsd.h38 struct trapframe;
43 int dtrace_trap(struct trapframe *, u_int);
50 typedef int (*dtrace_trap_func_t)(struct trapframe *, u_int);
62 typedef int (*dtrace_pid_probe_ptr_t)(struct trapframe *);
64 typedef int (*dtrace_return_probe_ptr_t)(struct trapframe *);
/freebsd-12.1/sys/powerpc/include/
H A Dtrap.h151 struct trapframe;
153 extern int (*hmi_handler)(struct trapframe *);
154 void trap(struct trapframe *);
155 int ppc_instr_emulate(struct trapframe *, struct thread *);

12345678910