162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> 362306a36Sopenharmony_ci * Copyright (C) 2004 Microtronix Datacom Ltd. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 662306a36Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 762306a36Sopenharmony_ci * for more details. 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifndef _ASM_NIOS2_TRAPS_H 1162306a36Sopenharmony_ci#define _ASM_NIOS2_TRAPS_H 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define TRAP_ID_SYSCALL 0 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 1662306a36Sopenharmony_civoid _exception(int signo, struct pt_regs *regs, int code, unsigned long addr); 1762306a36Sopenharmony_ci#endif 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif /* _ASM_NIOS2_TRAPS_H */ 20