blob: 82a48473280d870e813c6a298e51166f869c6487 [file] [log] [blame]
Ley Foon Tan771a0162014-11-06 15:19:40 +08001/*
2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd.
4 *
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
8 */
9
10#ifndef _ASM_NIOS2_TRAPS_H
11#define _ASM_NIOS2_TRAPS_H
12
13#define TRAP_ID_SYSCALL 0
14
15#ifndef __ASSEMBLY__
16void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
17#endif
18
19#endif /* _ASM_NIOS2_TRAPS_H */