Home
last modified time | relevance | path

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

12345678

/freebsd-9-stable/gnu/usr.bin/gdb/kgdb/
Dtrgt_mips.c104 offsetof(struct trapframe, zero),
105 offsetof(struct trapframe, ast),
106 offsetof(struct trapframe, v0),
107 offsetof(struct trapframe, v1),
108 offsetof(struct trapframe, a0),
109 offsetof(struct trapframe, a1),
110 offsetof(struct trapframe, a2),
111 offsetof(struct trapframe, a3),
112 offsetof(struct trapframe, t0),
113 offsetof(struct trapframe, t1),
[all …]
Dtrgt_amd64.c88 offsetof(struct trapframe, tf_rax),
89 offsetof(struct trapframe, tf_rbx),
90 offsetof(struct trapframe, tf_rcx),
91 offsetof(struct trapframe, tf_rdx),
92 offsetof(struct trapframe, tf_rsi),
93 offsetof(struct trapframe, tf_rdi),
94 offsetof(struct trapframe, tf_rbp),
95 offsetof(struct trapframe, tf_rsp),
96 offsetof(struct trapframe, tf_r8),
97 offsetof(struct trapframe, tf_r9),
[all …]
Dtrgt_arm.c104 offsetof(struct trapframe, tf_r0),
105 offsetof(struct trapframe, tf_r1),
106 offsetof(struct trapframe, tf_r2),
107 offsetof(struct trapframe, tf_r3),
108 offsetof(struct trapframe, tf_r4),
109 offsetof(struct trapframe, tf_r5),
110 offsetof(struct trapframe, tf_r6),
111 offsetof(struct trapframe, tf_r7),
112 offsetof(struct trapframe, tf_r8),
113 offsetof(struct trapframe, tf_r9),
[all …]
Dtrgt_i386.c253 offsetof(struct trapframe, tf_eax),
254 offsetof(struct trapframe, tf_ecx),
255 offsetof(struct trapframe, tf_edx),
256 offsetof(struct trapframe, tf_ebx),
257 offsetof(struct trapframe, tf_esp),
258 offsetof(struct trapframe, tf_ebp),
259 offsetof(struct trapframe, tf_esi),
260 offsetof(struct trapframe, tf_edi),
261 offsetof(struct trapframe, tf_eip),
262 offsetof(struct trapframe, tf_eflags),
[all …]
Dtrgt_powerpc64.c149 ofs = offsetof(struct trapframe, in kgdb_trgt_trapframe_prev_register()
152 ofs = offsetof(struct trapframe, lr); in kgdb_trgt_trapframe_prev_register()
154 ofs = offsetof(struct trapframe, cr); in kgdb_trgt_trapframe_prev_register()
156 ofs = offsetof(struct trapframe, xer); in kgdb_trgt_trapframe_prev_register()
158 ofs = offsetof(struct trapframe, ctr); in kgdb_trgt_trapframe_prev_register()
160 ofs = offsetof(struct trapframe, srr0); in kgdb_trgt_trapframe_prev_register()
Dtrgt_powerpc.c147 ofs = offsetof(struct trapframe, in kgdb_trgt_trapframe_prev_register()
150 ofs = offsetof(struct trapframe, lr); in kgdb_trgt_trapframe_prev_register()
152 ofs = offsetof(struct trapframe, cr); in kgdb_trgt_trapframe_prev_register()
154 ofs = offsetof(struct trapframe, xer); in kgdb_trgt_trapframe_prev_register()
156 ofs = offsetof(struct trapframe, ctr); in kgdb_trgt_trapframe_prev_register()
158 ofs = offsetof(struct trapframe, srr0); in kgdb_trgt_trapframe_prev_register()
Dtrgt_sparc64.c104 cache->fp += BIAS - sizeof(struct trapframe); in kgdb_trgt_frame_cache()
142 ofs = offsetof(struct trapframe, tf_sp); in kgdb_trgt_trapframe_prev_register()
145 ofs = offsetof(struct trapframe, tf_tpc); in kgdb_trgt_trapframe_prev_register()
148 ofs = offsetof(struct trapframe, tf_tnpc); in kgdb_trgt_trapframe_prev_register()
157 ofs = offsetof(struct trapframe, tf_out) + in kgdb_trgt_trapframe_prev_register()
/freebsd-9-stable/sys/powerpc/powerpc/
Dgenassym.c135 ASSYM(FRAME_0, offsetof(struct trapframe, fixreg[0]));
136 ASSYM(FRAME_1, offsetof(struct trapframe, fixreg[1]));
137 ASSYM(FRAME_2, offsetof(struct trapframe, fixreg[2]));
138 ASSYM(FRAME_3, offsetof(struct trapframe, fixreg[3]));
139 ASSYM(FRAME_4, offsetof(struct trapframe, fixreg[4]));
140 ASSYM(FRAME_5, offsetof(struct trapframe, fixreg[5]));
141 ASSYM(FRAME_6, offsetof(struct trapframe, fixreg[6]));
142 ASSYM(FRAME_7, offsetof(struct trapframe, fixreg[7]));
143 ASSYM(FRAME_8, offsetof(struct trapframe, fixreg[8]));
144 ASSYM(FRAME_9, offsetof(struct trapframe, fixreg[9]));
[all …]
Dexec_machdep.c122 struct trapframe *tf; in sendsig()
356 makectx(struct trapframe *tf, struct pcb *pcb) in makectx()
378 memcpy(&mcp->mc_frame, td->td_frame, sizeof(struct trapframe)); in grab_mcontext()
443 struct trapframe *tf; in set_mcontext()
504 struct trapframe *tf; in exec_setregs()
510 tf = trapframe(td); in exec_setregs()
578 struct trapframe *tf; in ppc32_setregs()
581 tf = trapframe(td); in ppc32_setregs()
608 struct trapframe *tf; in fill_regs()
641 struct trapframe *tf; in set_regs()
[all …]
/freebsd-9-stable/sys/mips/mips/
Dvm_machdep.c253 struct trapframe *locr0 = td->td_frame; in cpu_set_syscall_retval()
390 struct trapframe *tf; in cpu_set_upcall_kse()
406 bzero(tf, sizeof(struct trapframe)); in cpu_set_upcall_kse()
573 dump_trapframe(struct trapframe *trapframe) in dump_trapframe() argument
576 db_printf("Trapframe at %p\n", trapframe); in dump_trapframe()
578 DB_PRINT_REG(trapframe, zero); in dump_trapframe()
579 DB_PRINT_REG(trapframe, ast); in dump_trapframe()
580 DB_PRINT_REG(trapframe, v0); in dump_trapframe()
581 DB_PRINT_REG(trapframe, v1); in dump_trapframe()
582 DB_PRINT_REG(trapframe, a0); in dump_trapframe()
[all …]
Dtrap.c100 static void log_illegal_instruction(const char *, struct trapframe *);
101 static void log_bad_page_fault(char *, struct trapframe *, int);
102 static void log_frame_dump(struct trapframe *frame);
106 static void trap_frame_dump(struct trapframe *frame);
222 void stacktrace(struct trapframe *);
223 void logstacktrace(struct trapframe *);
260 static int emulate_unaligned_access(struct trapframe *frame, int mode);
267 struct trapframe *locr0 = td->td_frame; in cpu_fetch_syscall_args()
274 td->td_pcb->pcb_tpc = sa->trapframe->pc; /* Remember if restart */ in cpu_fetch_syscall_args()
275 if (DELAYBRANCH(sa->trapframe->cause)) /* Check BD bit */ in cpu_fetch_syscall_args()
[all …]
/freebsd-9-stable/sys/sparc64/sparc64/
Dgenassym.c210 ASSYM(TF_G0, offsetof(struct trapframe, tf_global[0]));
211 ASSYM(TF_G1, offsetof(struct trapframe, tf_global[1]));
212 ASSYM(TF_G2, offsetof(struct trapframe, tf_global[2]));
213 ASSYM(TF_G3, offsetof(struct trapframe, tf_global[3]));
214 ASSYM(TF_G4, offsetof(struct trapframe, tf_global[4]));
215 ASSYM(TF_G5, offsetof(struct trapframe, tf_global[5]));
216 ASSYM(TF_G6, offsetof(struct trapframe, tf_global[6]));
217 ASSYM(TF_G7, offsetof(struct trapframe, tf_global[7]));
218 ASSYM(TF_O0, offsetof(struct trapframe, tf_out[0]));
219 ASSYM(TF_O1, offsetof(struct trapframe, tf_out[1]));
[all …]
Dtrap.c88 void trap(struct trapframe *tf);
89 void syscall(struct trapframe *tf);
92 static int trap_pfault(struct thread *td, struct trapframe *tf);
221 CTASSERT(sizeof(struct trapframe) == 256);
255 trap(struct trapframe *tf) in trap()
443 trap_pfault(struct thread *td, struct trapframe *tf) in trap_pfault()
566 struct trapframe *tf; in cpu_fetch_syscall_args()
619 syscall(struct trapframe *tf) in syscall()
/freebsd-9-stable/sys/powerpc/booke/
Dinterrupt.c64 extern void decr_intr(struct trapframe *);
66 void powerpc_decr_interrupt(struct trapframe *);
67 void powerpc_extr_interrupt(struct trapframe *);
68 void powerpc_crit_interrupt(struct trapframe *);
69 void powerpc_mchk_interrupt(struct trapframe *);
71 static void dump_frame(struct trapframe *framep);
74 dump_frame(struct trapframe *frame) in dump_frame()
96 void powerpc_crit_interrupt(struct trapframe *framep) in powerpc_crit_interrupt()
104 void powerpc_mchk_interrupt(struct trapframe *framep) in powerpc_mchk_interrupt()
116 powerpc_decr_interrupt(struct trapframe *framep) in powerpc_decr_interrupt()
[all …]
Dtrap.c86 static void trap_fatal(struct trapframe *frame);
87 static void printtrap(u_int vector, struct trapframe *frame, int isfatal,
89 static int trap_pfault(struct trapframe *frame, int user);
90 static int fix_unaligned(struct thread *td, struct trapframe *frame);
91 static int handle_onfault(struct trapframe *frame);
92 static void syscall(struct trapframe *frame);
139 trap(struct trapframe *frame) in trap()
249 trap_fatal(struct trapframe *frame) in trap_fatal()
262 printtrap(u_int vector, struct trapframe *frame, int isfatal, int user) in printtrap()
299 handle_onfault(struct trapframe *frame) in handle_onfault()
[all …]
/freebsd-9-stable/sys/amd64/amd64/
Dgenassym.c167 ASSYM(TF_R15, offsetof(struct trapframe, tf_r15));
168 ASSYM(TF_R14, offsetof(struct trapframe, tf_r14));
169 ASSYM(TF_R13, offsetof(struct trapframe, tf_r13));
170 ASSYM(TF_R12, offsetof(struct trapframe, tf_r12));
171 ASSYM(TF_R11, offsetof(struct trapframe, tf_r11));
172 ASSYM(TF_R10, offsetof(struct trapframe, tf_r10));
173 ASSYM(TF_R9, offsetof(struct trapframe, tf_r9));
174 ASSYM(TF_R8, offsetof(struct trapframe, tf_r8));
175 ASSYM(TF_RDI, offsetof(struct trapframe, tf_rdi));
176 ASSYM(TF_RSI, offsetof(struct trapframe, tf_rsi));
[all …]
/freebsd-9-stable/sys/ia64/include/
Dmd_var.h65 struct trapframe;
83 int do_ast(struct trapframe *);
84 void ia32_trap(int, struct trapframe *);
86 int ia64_emulate(struct trapframe *, struct thread *);
90 int ia64_highfp_enable(struct thread *, struct trapframe *);
103 void interrupt(struct trapframe *);
109 int syscall(struct trapframe *);
110 void trap(int, struct trapframe *);
111 void trap_panic(int, struct trapframe *);
112 int unaligned_fixup(struct trapframe *, struct thread *);
Dunwind.h33 struct trapframe;
38 struct trapframe *frame;
44 int unw_create_from_frame(struct unw_regstate *s, struct trapframe *tf);
Dintr.h41 struct trapframe;
65 typedef u_int (ia64_ihtype)(struct thread *, u_int, struct trapframe *);
70 void ia64_handle_intr(struct trapframe *);
/freebsd-9-stable/sys/ia64/ia64/
Dvm_machdep.c119 sp -= sizeof(struct trapframe); in cpu_thread_alloc()
120 td->td_frame = (struct trapframe *)sp; in cpu_thread_alloc()
121 td->td_frame->tf_length = sizeof(struct trapframe); in cpu_thread_alloc()
145 struct trapframe *tf; in cpu_set_syscall_retval()
175 struct trapframe *tf; in cpu_set_upcall()
182 tf->tf_length = sizeof(struct trapframe); in cpu_set_upcall()
210 struct trapframe *tf; in cpu_set_upcall_kse()
299 stackp -= sizeof(struct trapframe); in cpu_fork()
300 td2->td_frame = (struct trapframe *)stackp; in cpu_fork()
301 bcopy(td1->td_frame, td2->td_frame, sizeof(struct trapframe)); in cpu_fork()
[all …]
/freebsd-9-stable/sys/powerpc/aim/
Dtrap.c81 static void trap_fatal(struct trapframe *frame);
82 static void printtrap(u_int vector, struct trapframe *frame, int isfatal,
84 static int trap_pfault(struct trapframe *frame, int user);
85 static int fix_unaligned(struct thread *td, struct trapframe *frame);
86 static int ppc_instr_emulate(struct trapframe *frame);
87 static int handle_onfault(struct trapframe *frame);
88 static void syscall(struct trapframe *frame);
149 trap(struct trapframe *frame) in trap()
304 trap_fatal(struct trapframe *frame) in trap_fatal()
317 printtrap(u_int vector, struct trapframe *frame, int isfatal, int user) in printtrap()
[all …]
/freebsd-9-stable/sys/mips/nlm/
Dclock.h38 void count_compare_clockhandler(struct trapframe *);
39 void pic_hardclockhandler(struct trapframe *);
40 void pic_timecounthandler(struct trapframe *);
/freebsd-9-stable/sys/powerpc/fpu/
Dfpu_extern.h35 struct trapframe;
41 int fpu_emulate(struct trapframe *, struct fpreg *);
42 int fpu_execute(struct trapframe *, struct fpemu *, union instr *);
/freebsd-9-stable/sys/sys/
Ddtrace_bsd.h36 struct trapframe;
48 typedef void (*cyclic_clock_func_t)(struct trapframe *);
58 typedef int (*dtrace_trap_func_t)(struct trapframe *, u_int);
60 int dtrace_trap(struct trapframe *, u_int);
/freebsd-9-stable/sys/powerpc/include/
Dframe.h50 struct trapframe { struct
79 #define FRAMELEN roundup(sizeof(struct trapframe) + \
81 #define trapframe(td) ((td)->td_frame) macro

12345678