1/* 2 * sparc dependent system call definitions 3 * 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 */ 18#ifndef TARGET_SYSCALL_H 19#define TARGET_SYSCALL_H 20 21struct target_pt_regs { 22 abi_ulong psr; 23 abi_ulong pc; 24 abi_ulong npc; 25 abi_ulong y; 26 abi_ulong u_regs[16]; 27}; 28 29#define UNAME_MACHINE "sun4" 30#define TARGET_HW_MACHINE "sparc" 31#define TARGET_HW_MACHINE_ARCH "sparc" 32 33#define TARGET_SPARC_UTRAP_INSTALL 1 34#define TARGET_SPARC_SIGTRAMP_INSTALL 2 35 36#endif /* TARGET_SYSCALL_H */ 37