1 /* 2 * include/asm-mips64/traps.h 3 * 4 * Trap handling definitions. 5 * 6 * Copyright (C) 2002, 2003 Maciej W. Rozycki 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 11 * 2 of the License, or (at your option) any later version. 12 */ 13 #ifndef __ASM_MIPS64_TRAPS_H 14 #define __ASM_MIPS64_TRAPS_H 15 16 /* 17 * Possible status responses for a board_be_handler backend. 18 */ 19 #define MIPS_BE_DISCARD 0 /* return with no action */ 20 #define MIPS_BE_FIXUP 1 /* return to the fixup code */ 21 #define MIPS_BE_FATAL 2 /* treat as an unrecoverable error */ 22 23 extern void (*board_be_init)(void); 24 extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup); 25 26 #endif /* __ASM_MIPS64_TRAPS_H */ 27