| /f-stack/freebsd/mips/mips/ |
| H A D | vm_machdep.c | 417 struct trapframe *tf; in cpu_set_upcall() 496 dump_trapframe(struct trapframe *trapframe) in dump_trapframe() argument 503 DB_PRINT_REG(trapframe, v0); in dump_trapframe() 504 DB_PRINT_REG(trapframe, v1); in dump_trapframe() 505 DB_PRINT_REG(trapframe, a0); in dump_trapframe() 506 DB_PRINT_REG(trapframe, a1); in dump_trapframe() 507 DB_PRINT_REG(trapframe, a2); in dump_trapframe() 508 DB_PRINT_REG(trapframe, a3); in dump_trapframe() 556 struct trapframe *trapframe; in DB_SHOW_COMMAND() local 570 trapframe = &pcb->pcb_regs; in DB_SHOW_COMMAND() [all …]
|
| H A D | trap.c | 511 trap(struct trapframe *trapframe) in trap() argument 578 (intmax_t)trapframe->badvaddr, (intmax_t)trapframe->pc, (intmax_t)trapframe->ra, in trap() 579 (intmax_t)trapframe->sp, (intmax_t)trapframe->sr, in trap() 779 addr = trapframe->pc; in trap() 829 va = trapframe->pc; in trap() 862 va = trapframe->pc; in trap() 878 va = trapframe->pc; in trap() 967 trapframe); in trap() 1019 (intmax_t)trapframe->pc, (unsigned)trapframe->cause, (unsigned)trapframe->sr); in trap() 1029 MipsFPTrap(trapframe->sr, trapframe->cause, trapframe->pc); in trap() [all …]
|
| H A D | db_trace.c | 98 bool trapframe; in stacktrace_subr() local 113 trapframe = false; in stacktrace_subr() 138 trapframe = true; in stacktrace_subr() 143 trapframe = true; in stacktrace_subr() 149 trapframe = true; in stacktrace_subr() 176 if (trapframe) in stacktrace_subr() 361 if (trapframe) { in stacktrace_subr()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | genassym.c | 164 ASSYM(TF_R15, offsetof(struct trapframe, tf_r15)); 165 ASSYM(TF_R14, offsetof(struct trapframe, tf_r14)); 170 ASSYM(TF_R9, offsetof(struct trapframe, tf_r9)); 171 ASSYM(TF_R8, offsetof(struct trapframe, tf_r8)); 183 ASSYM(TF_CS, offsetof(struct trapframe, tf_cs)); 186 ASSYM(TF_SS, offsetof(struct trapframe, tf_ss)); 187 ASSYM(TF_DS, offsetof(struct trapframe, tf_ds)); 188 ASSYM(TF_ES, offsetof(struct trapframe, tf_es)); 189 ASSYM(TF_FS, offsetof(struct trapframe, tf_fs)); 190 ASSYM(TF_GS, offsetof(struct trapframe, tf_gs)); [all …]
|
| H A D | trap.c | 109 void trap_check(struct trapframe *frame); 116 int (**hook)(struct trapframe *)); 183 trap(struct trapframe *frame) in trap() 628 trap_check(struct trapframe *frame) in trap_check() 640 trap_is_smap(struct trapframe *frame) in trap_is_smap() 658 trap_is_pti(struct trapframe *frame) in trap_is_pti() 847 struct trapframe *frame; in trap_fatal() 926 trap_user_dtrace(struct trapframe *frame, int (**hookp)(struct trapframe *)) in trap_user_dtrace() argument 928 int (*hook)(struct trapframe *); in trap_user_dtrace() 981 struct trapframe *frame; in cpu_fetch_syscall_args_fallback() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | trap.c | 77 void do_el1h_sync(struct thread *, struct trapframe *); 78 void do_el0_sync(struct thread *, struct trapframe *); 79 void do_el0_error(struct trapframe *); 80 void do_serror(struct trapframe *); 81 void unhandled_exception(struct trapframe *); 83 static void print_registers(struct trapframe *frame); 85 int (*dtrace_invop_jump_addr)(struct trapframe *); 183 svc_handler(struct thread *td, struct trapframe *frame) in svc_handler() 346 print_registers(struct trapframe *frame) in print_registers() 581 do_serror(struct trapframe *frame) in do_serror() [all …]
|
| H A D | genassym.c | 77 ASSYM(TF_SIZE, sizeof(struct trapframe)); 78 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp)); 79 ASSYM(TF_ELR, offsetof(struct trapframe, tf_elr)); 80 ASSYM(TF_SPSR, offsetof(struct trapframe, tf_spsr)); 81 ASSYM(TF_X, offsetof(struct trapframe, tf_x));
|
| H A D | vm_machdep.c | 71 struct trapframe *tf; in cpu_fork() 96 tf = (struct trapframe *)STACKALIGN((struct trapframe *)pcb2 - 1); in cpu_fork() 142 struct trapframe *frame; in cpu_set_syscall_retval() 174 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread() 198 struct trapframe *tf = td->td_frame; in cpu_set_upcall() 246 td->td_frame = (struct trapframe *)STACKALIGN( in cpu_thread_alloc() 247 (struct trapframe *)td->td_pcb - 1); in cpu_thread_alloc()
|
| /f-stack/freebsd/mips/nlm/ |
| H A D | clock.h | 40 void count_compare_clockhandler(struct trapframe *); 41 void pic_hardclockhandler(struct trapframe *); 42 void pic_timecounthandler(struct trapframe *);
|
| /f-stack/freebsd/sys/ |
| H A D | dtrace_bsd.h | 38 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 *);
|
| H A D | kdb.h | 39 struct trapframe; 71 extern struct trapframe *kdb_frame; /* Frame to kdb_trap(). */ 94 int kdb_trap(int, int, struct trapframe *);
|
| /f-stack/freebsd/arm/include/ |
| H A D | undefined.h | 56 struct trapframe; 58 typedef int (*undef_handler_t) (unsigned int, unsigned int, struct trapframe *, int); 87 void undefinedinstruction(struct trapframe *);
|
| H A D | machdep.h | 18 struct trapframe; 21 void abort_handler(struct trapframe *, int ); 23 void undefinedinstruction_bounce(struct trapframe *);
|
| /f-stack/freebsd/arm/arm/ |
| H A D | vm_machdep.c | 86 _Static_assert((sizeof(struct trapframe) % 8) == 0, "Bad alignment"); 99 struct trapframe *tf; in cpu_fork() 126 td2->td_frame = (struct trapframe *)pcb2 - 1; in cpu_fork() 167 struct trapframe *frame; in cpu_set_syscall_retval() 208 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread() 232 struct trapframe *tf = td->td_frame; in cpu_set_upcall() 265 td->td_frame = (struct trapframe *)((caddr_t)td->td_pcb) - 1; in cpu_thread_alloc()
|
| H A D | syscall.c | 97 void swi_handler(struct trapframe *); 141 syscall(struct thread *td, struct trapframe *frame) in syscall() 149 swi_handler(struct trapframe *frame) in swi_handler()
|
| /f-stack/freebsd/arm64/cloudabi64/ |
| H A D | cloudabi64_sysvec.c | 54 struct trapframe *regs; in cloudabi64_proc_setregs() 72 struct trapframe *frame; in cloudabi64_fetch_syscall_args() 98 struct trapframe *frame = td->td_frame; in cloudabi64_set_syscall_retval() 124 struct trapframe *frame = td->td_frame; in cloudabi64_schedtail() 141 struct trapframe *frame; in cloudabi64_thread_setregs()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | genassym.c | 149 ASSYM(TF_FS, offsetof(struct trapframe, tf_fs)); 150 ASSYM(TF_ES, offsetof(struct trapframe, tf_es)); 151 ASSYM(TF_DS, offsetof(struct trapframe, tf_ds)); 152 ASSYM(TF_TRAPNO, offsetof(struct trapframe, tf_trapno)); 153 ASSYM(TF_ERR, offsetof(struct trapframe, tf_err)); 154 ASSYM(TF_EIP, offsetof(struct trapframe, tf_eip)); 155 ASSYM(TF_CS, offsetof(struct trapframe, tf_cs)); 156 ASSYM(TF_EFLAGS, offsetof(struct trapframe, tf_eflags)); 157 ASSYM(TF_SZ, sizeof(struct trapframe));
|
| H A D | trap.c | 112 void trap(struct trapframe *frame); 113 void syscall(struct trapframe *frame); 116 static void trap_fatal(struct trapframe *, vm_offset_t); 118 static bool trap_user_dtrace(struct trapframe *, 119 int (**hook)(struct trapframe *)); 195 trap(struct trapframe *frame) in trap() 879 struct trapframe *frame; in trap_fatal() 970 trap_user_dtrace(struct trapframe *frame, int (**hookp)(struct trapframe *)) in trap_user_dtrace() argument 972 int (*hook)(struct trapframe *); in trap_user_dtrace() 1017 struct trapframe *frame; in cpu_fetch_syscall_args() [all …]
|
| /f-stack/freebsd/arm64/cloudabi32/ |
| H A D | cloudabi32_sysvec.c | 54 struct trapframe *regs; in cloudabi32_proc_setregs() 69 struct trapframe *frame; in cloudabi32_fetch_syscall_args() 106 struct trapframe *frame = td->td_frame; in cloudabi32_set_syscall_retval() 144 struct trapframe *frame = td->td_frame; in cloudabi32_schedtail() 160 struct trapframe *frame; in cloudabi32_thread_setregs()
|
| /f-stack/freebsd/arm/cloudabi32/ |
| H A D | cloudabi32_sysvec.c | 54 struct trapframe *regs; in cloudabi32_proc_setregs() 72 struct trapframe *frame; in cloudabi32_fetch_syscall_args() 106 struct trapframe *frame = td->td_frame; in cloudabi32_set_syscall_retval() 132 struct trapframe *frame = td->td_frame; in cloudabi32_schedtail() 149 struct trapframe *frame; in cloudabi32_thread_setregs()
|
| /f-stack/freebsd/amd64/cloudabi64/ |
| H A D | cloudabi64_sysvec.c | 75 struct trapframe *regs; in cloudabi64_proc_setregs() 93 struct trapframe *frame; in cloudabi64_fetch_syscall_args() 122 struct trapframe *frame = td->td_frame; in cloudabi64_set_syscall_retval() 150 struct trapframe *frame = td->td_frame; in cloudabi64_schedtail() 161 struct trapframe *frame; in cloudabi64_thread_setregs()
|
| /f-stack/freebsd/x86/include/ |
| H A D | x86_var.h | 105 struct trapframe; 142 void nmi_call_kdb(u_int cpu, u_int type, struct trapframe *frame); 143 void nmi_call_kdb_smp(u_int type, struct trapframe *frame); 144 void nmi_handle_intr(u_int type, struct trapframe *frame);
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_util.h | 34 struct trapframe; 41 void dump_trapframe(struct trapframe *tf);
|
| /f-stack/freebsd/mips/include/ |
| H A D | intr_machdep.h | 44 struct trapframe; 51 void cpu_intr(struct trapframe *);
|
| /f-stack/freebsd/arm64/include/ |
| H A D | undefined.h | 38 typedef int (*undef_handler_t)(vm_offset_t, uint32_t, struct trapframe *, 64 int undef_insn(u_int, struct trapframe *);
|