Lines Matching +full:- +full:v
35 regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr, in show_regs()
36 regs->ARM_sp, regs->ARM_ip, regs->ARM_fp); in show_regs()
38 regs->ARM_r10, regs->ARM_r9, regs->ARM_r8); in show_regs()
40 regs->ARM_r7, regs->ARM_r6, regs->ARM_r5, regs->ARM_r4); in show_regs()
42 regs->ARM_r3, regs->ARM_r2, regs->ARM_r1, regs->ARM_r0); in show_regs()
44 flags = regs->ARM_cpsr; in show_regs()
48 buf[3] = flags & PSR_V_BIT ? 'V' : 'v'; in show_regs()
68 void install_exception_handler(enum vector v, exception_fn fn) in install_exception_handler() argument
72 if (v < EXCPTN_MAX) in install_exception_handler()
73 ti->exception_handlers[v] = fn; in install_exception_handler()
76 /* Needed to compile with -Wmissing-prototypes */
77 void do_handle_exception(enum vector v, struct pt_regs *regs);
79 void do_handle_exception(enum vector v, struct pt_regs *regs) in do_handle_exception() argument
81 struct thread_info *ti = thread_info_sp(regs->ARM_sp); in do_handle_exception()
83 if (ti->flags & TIF_USER_MODE) { in do_handle_exception()
84 if (v < EXCPTN_MAX && ti->exception_handlers[v]) { in do_handle_exception()
85 ti->exception_handlers[v](regs); in do_handle_exception()
91 if (v < EXCPTN_MAX && ti->exception_handlers[v]) { in do_handle_exception()
92 ti->exception_handlers[v](regs); in do_handle_exception()
96 if (v < EXCPTN_MAX) in do_handle_exception()
97 printf("Unhandled exception %d (%s)\n", v, vector_names[v]); in do_handle_exception()
99 printf("%s called with vector=%d\n", __func__, v); in do_handle_exception()
103 if (v == EXCPTN_DABT) { in do_handle_exception()
108 } else if (v == EXCPTN_PABT) { in do_handle_exception()
114 dump_frame_stack((void *)regs->ARM_pc, (void *)regs->ARM_fp); in do_handle_exception()
121 ti->cpu = mpidr_to_cpu(get_mpidr()); in thread_info_init()
122 ti->flags = flags; in thread_info_init()
127 sp_usr &= (~7UL); /* stack ptr needs 8-byte alignment */ in start_usr()
130 thread_info_sp(sp_usr)->pgtable = current_thread_info()->pgtable; in start_usr()
146 return current_thread_info()->flags & TIF_USER_MODE; in is_user()