traps.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) traps.c (09f8a6db20e6ed8eab1b2b23d09d2458f6e15062)
1/*
2 * arch/xtensa/kernel/traps.c
3 *
4 * Exception handling.
5 *
6 * Derived from code with the following copyrights:
7 * Copyright (C) 1994 - 1999 by Ralf Baechle
8 * Modified for R3000 by Paul M. Antoine, 1995, 1996

--- 37 unchanged lines hidden (view full) ---

46
47/*
48 * Machine specific interrupt handlers
49 */
50
51extern void kernel_exception(void);
52extern void user_exception(void);
53
1/*
2 * arch/xtensa/kernel/traps.c
3 *
4 * Exception handling.
5 *
6 * Derived from code with the following copyrights:
7 * Copyright (C) 1994 - 1999 by Ralf Baechle
8 * Modified for R3000 by Paul M. Antoine, 1995, 1996

--- 37 unchanged lines hidden (view full) ---

46
47/*
48 * Machine specific interrupt handlers
49 */
50
51extern void kernel_exception(void);
52extern void user_exception(void);
53
54extern void fast_illegal_instruction_user(void);
54extern void fast_syscall_user(void);
55extern void fast_alloca(void);
56extern void fast_unaligned(void);
57extern void fast_second_level_miss(void);
58extern void fast_store_prohibited(void);
59extern void fast_coprocessor(void);
60
61extern void do_illegal_instruction (struct pt_regs*);

--- 20 unchanged lines hidden (view full) ---

82typedef struct {
83 int cause;
84 int fast;
85 void* handler;
86} dispatch_init_table_t;
87
88static dispatch_init_table_t __initdata dispatch_init_table[] = {
89
55extern void fast_syscall_user(void);
56extern void fast_alloca(void);
57extern void fast_unaligned(void);
58extern void fast_second_level_miss(void);
59extern void fast_store_prohibited(void);
60extern void fast_coprocessor(void);
61
62extern void do_illegal_instruction (struct pt_regs*);

--- 20 unchanged lines hidden (view full) ---

83typedef struct {
84 int cause;
85 int fast;
86 void* handler;
87} dispatch_init_table_t;
88
89static dispatch_init_table_t __initdata dispatch_init_table[] = {
90
91#ifdef CONFIG_USER_ABI_CALL0_PROBE
92{ EXCCAUSE_ILLEGAL_INSTRUCTION, USER, fast_illegal_instruction_user },
93#endif
90{ EXCCAUSE_ILLEGAL_INSTRUCTION, 0, do_illegal_instruction},
91{ EXCCAUSE_SYSTEM_CALL, USER, fast_syscall_user },
92{ EXCCAUSE_SYSTEM_CALL, 0, system_call },
93/* EXCCAUSE_INSTRUCTION_FETCH unhandled */
94/* EXCCAUSE_LOAD_STORE_ERROR unhandled*/
95{ EXCCAUSE_LEVEL1_INTERRUPT, 0, do_interrupt },
96{ EXCCAUSE_ALLOCA, USER|KRNL, fast_alloca },
97/* EXCCAUSE_INTEGER_DIVIDE_BY_ZERO unhandled */

--- 446 unchanged lines hidden ---
94{ EXCCAUSE_ILLEGAL_INSTRUCTION, 0, do_illegal_instruction},
95{ EXCCAUSE_SYSTEM_CALL, USER, fast_syscall_user },
96{ EXCCAUSE_SYSTEM_CALL, 0, system_call },
97/* EXCCAUSE_INSTRUCTION_FETCH unhandled */
98/* EXCCAUSE_LOAD_STORE_ERROR unhandled*/
99{ EXCCAUSE_LEVEL1_INTERRUPT, 0, do_interrupt },
100{ EXCCAUSE_ALLOCA, USER|KRNL, fast_alloca },
101/* EXCCAUSE_INTEGER_DIVIDE_BY_ZERO unhandled */

--- 446 unchanged lines hidden ---