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