Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210718' into...
[qemu.git] / bsd-user / sparc / target_syscall.h
blob151284754be88c49a0b87517f8c724553c4af412
1 /*
2 * sparc dependent system call definitions
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.
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.
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/>.
18 #ifndef TARGET_SYSCALL_H
19 #define TARGET_SYSCALL_H
21 struct 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];
29 #define UNAME_MACHINE "sun4"
30 #define TARGET_HW_MACHINE "sparc"
31 #define TARGET_HW_MACHINE_ARCH "sparc"
33 #define TARGET_SPARC_UTRAP_INSTALL 1
34 #define TARGET_SPARC_SIGTRAMP_INSTALL 2
36 #endif /* TARGET_SYSCALL_H */