/*1* Copyright (C) 2011 Tobias Klauser <[email protected]>2* Copyright (C) 2004 Microtronix Datacom Ltd.3*4* This file is subject to the terms and conditions of the GNU General Public5* License. See the file "COPYING" in the main directory of this archive6* for more details.7*/89#ifndef _ASM_NIOS2_TRAPS_H10#define _ASM_NIOS2_TRAPS_H1112#define TRAP_ID_SYSCALL 01314#ifndef __ASSEMBLY__15void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);16void do_page_fault(struct pt_regs *regs, unsigned long cause,17unsigned long address);18#endif1920#endif /* _ASM_NIOS2_TRAPS_H */212223