xref: /openbmc/linux/arch/nios2/include/asm/traps.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*771a0163SLey Foon Tan /*
2*771a0163SLey Foon Tan  * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3*771a0163SLey Foon Tan  * Copyright (C) 2004 Microtronix Datacom Ltd.
4*771a0163SLey Foon Tan  *
5*771a0163SLey Foon Tan  * This file is subject to the terms and conditions of the GNU General Public
6*771a0163SLey Foon Tan  * License.  See the file "COPYING" in the main directory of this archive
7*771a0163SLey Foon Tan  * for more details.
8*771a0163SLey Foon Tan  */
9*771a0163SLey Foon Tan 
10*771a0163SLey Foon Tan #ifndef _ASM_NIOS2_TRAPS_H
11*771a0163SLey Foon Tan #define _ASM_NIOS2_TRAPS_H
12*771a0163SLey Foon Tan 
13*771a0163SLey Foon Tan #define TRAP_ID_SYSCALL		0
14*771a0163SLey Foon Tan 
15*771a0163SLey Foon Tan #ifndef __ASSEMBLY__
16*771a0163SLey Foon Tan void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
17*771a0163SLey Foon Tan #endif
18*771a0163SLey Foon Tan 
19*771a0163SLey Foon Tan #endif /* _ASM_NIOS2_TRAPS_H */
20