| /libcpu/unicore32/sep6200/ |
| A D | trap.c | 32 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 33 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 34 …rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x r11:0x%08x\n", regs->r8, regs->r9, regs->r10,regs->r1… in rt_hw_show_register() 35 …rt_kprintf("r12:0x%08x r13:0x%08x r14:0x%08x r15:0x%08x\n", regs->r12,regs->r13,regs->r14,regs->r1… in rt_hw_show_register() 36 …rt_kprintf("r16:0x%08x r17:0x%08x r18:0x%08x r19:0x%08x\n", regs->r16,regs->r17,regs->r18,regs->r1… in rt_hw_show_register() 37 …rt_kprintf("r20:0x%08x r21:0x%08x r22:0x%08x r23:0x%08x\n", regs->r20,regs->r21,regs->r22,regs->r2… in rt_hw_show_register() 38 …r24:0x%08x sb:0x%08x sl:0x%08xfp :0x%08x ip :0x%08x\n",regs->r24,regs->sb,regs->sl,regs->fp,regs-… in rt_hw_show_register() 39 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 40 rt_kprintf("asr:0x%08x bsr:0x%08x\n", regs->asr,regs->bsr); in rt_hw_show_register() 53 rt_hw_show_register(regs); in rt_hw_trap_extn() [all …]
|
| /libcpu/arm/cortex-r4/ |
| A D | trap.c | 32 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 33 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 34 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 35 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 36 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 37 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 51 rt_hw_show_register(regs); in rt_hw_trap_udef() 69 rt_hw_show_register(regs); in rt_hw_trap_svc() 87 rt_hw_show_register(regs); in rt_hw_trap_pabt() 105 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/arm/sep4020/ |
| A D | trap.c | 35 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 36 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 37 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 38 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 39 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 40 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 53 rt_hw_show_register(regs); in rt_hw_trap_udef() 73 rt_hw_show_register(regs); in rt_hw_trap_swi() 89 rt_hw_show_register(regs); in rt_hw_trap_pabt() 108 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/ppc/ppc405/ |
| A D | traps.c | 63 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 65 regs->msr, regs->msr&MSR_EE ? 1 : 0, regs->msr&MSR_PR ? 1 : 0, in show_regs() 66 regs->msr & MSR_FP ? 1 : 0,regs->msr&MSR_ME ? 1 : 0, in show_regs() 91 show_regs(regs); in _exception() 136 regs->nip = fixup; in MachineCheckException() 157 show_regs(regs); in MachineCheckException() 164 show_regs(regs); in AlignmentException() 173 show_regs(regs); in ProgramCheckException() 200 regs->nip, regs->msr, regs->trap); in UnknownException() 201 _exception(0, regs); in UnknownException() [all …]
|
| /libcpu/arm/lpc24xx/ |
| A D | trap.c | 31 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 32 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 33 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 34 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 35 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 36 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 50 rt_hw_show_register(regs); in rt_hw_trap_udef() 68 rt_hw_show_register(regs); in rt_hw_trap_swi() 85 rt_hw_show_register(regs); in rt_hw_trap_pabt() 102 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/arm/s3c24x0/ |
| A D | trap.c | 38 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 39 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 40 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 41 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 42 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 43 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 56 rt_hw_show_register(regs); in rt_hw_trap_udef() 78 rt_hw_show_register(regs); in rt_hw_trap_swi() 94 rt_hw_show_register(regs); in rt_hw_trap_pabt() 115 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/arm/s3c44b0/ |
| A D | trap.c | 37 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 38 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 39 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 40 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 41 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 42 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 55 rt_hw_show_register(regs); in rt_hw_trap_udef() 73 rt_hw_show_register(regs); in rt_hw_trap_swi() 87 rt_hw_show_register(regs); in rt_hw_trap_pabt() 103 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/risc-v/common64/ |
| A D | syscall_c.c | 31 void syscall_handler(struct rt_hw_stack_frame *regs) in syscall_handler() argument 34 int syscallid = regs->a7; in syscall_handler() 56 regs->a0, regs->a1, regs->a2, regs->a3, regs->a4, regs->a5, regs->a6); in syscall_handler() 57 regs->a0 = syscallfunc(regs->a0, regs->a1, regs->a2, regs->a3, regs->a4, regs->a5, regs->a6); in syscall_handler() 58 regs->a7 = 0; in syscall_handler() 59 regs->epc += 4; // skip ecall instruction in syscall_handler() 60 LOG_I("[0x%lx] %s ret: 0x%lx", rt_thread_self(), syscall_name, regs->a0); in syscall_handler()
|
| A D | trap.c | 40 rt_kprintf("\tgp(x3) = %p\ttp(x4) = %p\n", regs->gp, regs->tp); in dump_regs() 42 rt_kprintf("\tt0(x5) = %p\tt1(x6) = %p\n", regs->t0, regs->t1); in dump_regs() 44 rt_kprintf("\tt3(x28) = %p\tt4(x29) = %p\n", regs->t3, regs->t4); in dump_regs() 45 rt_kprintf("\tt5(x30) = %p\tt6(x31) = %p\n", regs->t5, regs->t6); in dump_regs() 48 rt_kprintf("\ts2(x18) = %p\ts3(x19) = %p\n", regs->s2, regs->s3); in dump_regs() 49 rt_kprintf("\ts4(x20) = %p\ts5(x21) = %p\n", regs->s4, regs->s5); in dump_regs() 50 rt_kprintf("\ts6(x22) = %p\ts7(x23) = %p\n", regs->s6, regs->s7); in dump_regs() 51 rt_kprintf("\ts8(x24) = %p\ts9(x25) = %p\n", regs->s8, regs->s9); in dump_regs() 54 rt_kprintf("\ta0(x10) = %p\ta1(x11) = %p\n", regs->a0, regs->a1); in dump_regs() 55 rt_kprintf("\ta2(x12) = %p\ta3(x13) = %p\n", regs->a2, regs->a3); in dump_regs() [all …]
|
| /libcpu/arm/zynqmp-r5/ |
| A D | trap.c | 31 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 32 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 33 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 34 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 35 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 36 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 50 rt_hw_show_register(regs); in rt_hw_trap_undef() 69 rt_hw_show_register(regs); in rt_hw_trap_swi() 87 rt_hw_show_register(regs); in rt_hw_trap_pabt() 105 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/arm/am335x/ |
| A D | trap.c | 40 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 41 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 42 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 43 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 44 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 60 regs->pc -= 4; //lr in undef is pc + 4 in rt_hw_trap_udef() 61 if (gdb_undef_hook(regs)) in rt_hw_trap_udef() 65 rt_hw_show_register(regs); in rt_hw_trap_udef() 87 rt_hw_show_register(regs); in rt_hw_trap_swi() 103 rt_hw_show_register(regs); in rt_hw_trap_pabt() [all …]
|
| /libcpu/arm/cortex-r52/ |
| A D | trap.c | 35 rt_hw_show_register(regs); in rt_hw_trap_svc() 62 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 63 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 64 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 65 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 66 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 104 if (regs->cpsr & (1 << 5)) in rt_hw_trap_undef() 107 addr = regs->pc - 2; in rt_hw_trap_undef() 111 addr = regs->pc - 4; in rt_hw_trap_undef() 121 regs->pc = addr; in rt_hw_trap_undef() [all …]
|
| A D | backtrace.h | 66 #define instruction_pointer(regs) (regs)->ARM_pc argument 69 #define frame_pointer(regs) (regs)->ARM_r7 argument 71 #define frame_pointer(regs) (regs)->ARM_fp argument 75 void unwind_backtrace(struct pt_regs *regs, const struct unwind_idx exidx_start[], const struct unw… 77 void rt_unwind(struct rt_hw_exp_stack *regs, unsigned int pc_adj);
|
| A D | backtrace.c | 39 frame->fp = frame_pointer(regs); in arm_get_current_stackframe() 40 frame->sp = regs->ARM_sp; in arm_get_current_stackframe() 41 frame->lr = regs->ARM_lr; in arm_get_current_stackframe() 42 frame->pc = regs->ARM_pc; in arm_get_current_stackframe() 58 enum regs enum 520 e_regs.ARM_fp = regs->fp; in rt_unwind() 521 e_regs.ARM_sp = regs->sp; in rt_unwind() 522 e_regs.ARM_lr = regs->lr; in rt_unwind() 523 e_regs.ARM_pc = regs->pc - pc_adj; in rt_unwind() 536 struct rt_hw_exp_stack regs; in rt_backtrace() local [all …]
|
| /libcpu/arm/realview-a8-vmm/ |
| A D | trap.c | 32 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 33 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 34 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 35 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 36 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 37 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 51 rt_hw_show_register(regs); in rt_hw_trap_undef() 70 rt_hw_show_register(regs); in rt_hw_trap_swi() 88 rt_hw_show_register(regs); in rt_hw_trap_pabt() 106 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/ti-dsp/c6x/ |
| A D | trap.c | 39 regs->pc, regs->hw_register.sp); in show_regs() 41 regs->csr, regs->orig_a4); in show_regs() 43 regs->hw_register.a0, regs->hw_register.b0); in show_regs() 45 regs->hw_register.a1, regs->hw_register.b1); in show_regs() 47 regs->hw_register.a2, regs->hw_register.b2); in show_regs() 49 regs->hw_register.a3, regs->hw_register.b3); in show_regs() 51 regs->hw_register.a4, regs->hw_register.b4); in show_regs() 53 regs->hw_register.a5, regs->hw_register.b5); in show_regs() 55 regs->hw_register.a6, regs->hw_register.b6); in show_regs() 57 regs->hw_register.a7, regs->hw_register.b7); in show_regs() [all …]
|
| /libcpu/arm/arm926/ |
| A D | trap.c | 59 regs->r0, regs->r1, regs->r2, regs->r3); in rt_hw_show_register() 61 regs->r4, regs->r5, regs->r6, regs->r7); in rt_hw_show_register() 63 regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 65 regs->fp, regs->ip); in rt_hw_show_register() 67 regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 85 result = rt_exception_hook(regs); in rt_hw_trap_udef() 88 rt_hw_show_register(regs); in rt_hw_trap_udef() 117 rt_hw_show_register(regs); in rt_hw_trap_swi() 140 rt_hw_show_register(regs); in rt_hw_trap_pabt() 168 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /libcpu/arm/cortex-a/ |
| A D | trap.c | 35 uint32_t mode = regs->cpsr; in check_user_fault() 63 regs->pc -= 8; in check_data_abort() 86 regs->pc -= 4; in check_prefetch_abort() 102 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 103 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 104 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 105 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 106 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 169 rt_unwind(regs, 4); in rt_hw_trap_undef() 218 rt_unwind(regs, 4); in rt_hw_trap_pabt() [all …]
|
| A D | backtrace.h | 67 #define instruction_pointer(regs) (regs)->ARM_pc argument 70 #define frame_pointer(regs) (regs)->ARM_r7 argument 72 #define frame_pointer(regs) (regs)->ARM_fp argument 76 void unwind_backtrace(struct pt_regs *regs, const struct unwind_idx exidx_start[], const struct unw… 78 void rt_unwind(struct rt_hw_exp_stack *regs, unsigned int pc_adj);
|
| A D | backtrace.c | 38 frame->fp = frame_pointer(regs); in arm_get_current_stackframe() 39 frame->sp = regs->ARM_sp; in arm_get_current_stackframe() 40 frame->lr = regs->ARM_lr; in arm_get_current_stackframe() 41 frame->pc = regs->ARM_pc; in arm_get_current_stackframe() 57 enum regs enum 519 e_regs.ARM_fp = regs->fp; in rt_unwind() 520 e_regs.ARM_sp = regs->sp; in rt_unwind() 521 e_regs.ARM_lr = regs->lr; in rt_unwind() 522 e_regs.ARM_pc = regs->pc - pc_adj; in rt_unwind() 535 struct rt_hw_exp_stack regs; in rt_backtrace() local [all …]
|
| /libcpu/aarch64/common/ |
| A D | trap.c | 156 …16.16p X02:0x%16.16p X03:0x%16.16p\n", (void *)regs->x0, (void *)regs->x1, (void *)regs->x2, (void… in rt_hw_show_register() 157 …16.16p X06:0x%16.16p X07:0x%16.16p\n", (void *)regs->x4, (void *)regs->x5, (void *)regs->x6, (void… in rt_hw_show_register() 158 …16.16p X10:0x%16.16p X11:0x%16.16p\n", (void *)regs->x8, (void *)regs->x9, (void *)regs->x10, (voi… in rt_hw_show_register() 159 …6.16p X14:0x%16.16p X15:0x%16.16p\n", (void *)regs->x12, (void *)regs->x13, (void *)regs->x14, (vo… in rt_hw_show_register() 160 …6.16p X18:0x%16.16p X19:0x%16.16p\n", (void *)regs->x16, (void *)regs->x17, (void *)regs->x18, (vo… in rt_hw_show_register() 161 …6.16p X22:0x%16.16p X23:0x%16.16p\n", (void *)regs->x20, (void *)regs->x21, (void *)regs->x22, (vo… in rt_hw_show_register() 162 …6.16p X26:0x%16.16p X27:0x%16.16p\n", (void *)regs->x24, (void *)regs->x25, (void *)regs->x26, (vo… in rt_hw_show_register() 163 …"X28:0x%16.16p X29:0x%16.16p X30:0x%16.16p\n", (void *)regs->x28, (void *)regs->x29, (void *)regs-… in rt_hw_show_register() 281 .context = regs, in rt_hw_trap_irq() 291 #define DBG_CHECK_EVENT(regs, esr) dbg_check_event(regs, esr) argument [all …]
|
| /libcpu/mips/common/ |
| A D | stack.c | 41 pt->regs[i] = 0xdeadbeef; in rt_hw_stack_init() 44 pt->regs[REG_SP] = (rt_ubase_t)stk; in rt_hw_stack_init() 45 pt->regs[REG_A0] = (rt_ubase_t)parameter; in rt_hw_stack_init() 46 pt->regs[REG_GP] = (rt_ubase_t)$GP; in rt_hw_stack_init() 47 pt->regs[REG_FP] = (rt_ubase_t)0x0; in rt_hw_stack_init() 48 pt->regs[REG_RA] = (rt_ubase_t)texit; in rt_hw_stack_init()
|
| A D | exception.c | 98 void mips_dump_regs(struct pt_regs *regs) in mips_dump_regs() argument 106 rt_kprintf("%d: 0x%08x, ", reg, regs->regs[reg]); in mips_dump_regs() 124 static void unhandled_exception_handle(struct pt_regs *regs) in unhandled_exception_handle() argument 133 rt_kprintf("ST0: 0x%08x ",regs->cp0_status); in unhandled_exception_handle() 135 mips_dump_regs(regs); in unhandled_exception_handle() 164 void rt_general_exc_dispatch(struct pt_regs *regs) in rt_general_exc_dispatch() argument 196 sys_exception_handlers[exccode](regs); in rt_general_exc_dispatch()
|
| /libcpu/sparc-v8/bm3803/ |
| A D | interrupt.c | 48 volatile struct lregs *regs = (struct lregs *)PREGS; in rt_hw_interrupt_mask() local 49 regs->irqmask &= ~(1 << (vector - 0x10)); in rt_hw_interrupt_mask() 60 volatile struct lregs *regs = (struct lregs *)PREGS; in rt_hw_interrupt_umask() local 61 regs->irqmask |= 1 << (vector - 0x10); in rt_hw_interrupt_umask() 96 volatile struct lregs *regs = (struct lregs *)PREGS; in rt_hw_interrupt_clear() local 97 regs->irqclear |= 1 << (vector - 0x10); in rt_hw_interrupt_clear()
|
| /libcpu/ppc/common/ |
| A D | ptrace.h | 46 #define instruction_pointer(regs) ((regs)->nip) argument 47 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) argument
|