1/* 2 * sparc64 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 u_regs[16]; 23 abi_ulong tstate; 24 abi_ulong pc; 25 abi_ulong npc; 26 abi_ulong y; 27 abi_ulong fprs; 28}; 29 30#define UNAME_MACHINE "sun4u" 31#define TARGET_HW_MACHINE "sparc" 32#define TARGET_HW_MACHINE_ARCH "sparc64" 33 34#define TARGET_SPARC_UTRAP_INSTALL 1 35#define TARGET_SPARC_SIGTRAMP_INSTALL 2 36 37#endif /* TARGET_SYSCALL_H */ 38