1*3622634bSMarkus Armbruster #ifndef SPARC_TARGET_SYSCALL_H 2*3622634bSMarkus Armbruster #define SPARC_TARGET_SYSCALL_H 3460c579fSLluís Vilanova 47a3f1944Sbellard struct target_pt_regs { 5992f48a0Sblueswir1 abi_ulong psr; 6992f48a0Sblueswir1 abi_ulong pc; 7992f48a0Sblueswir1 abi_ulong npc; 8992f48a0Sblueswir1 abi_ulong y; 9992f48a0Sblueswir1 abi_ulong u_regs[16]; 107a3f1944Sbellard }; 11cf720db3Sbellard 12cf720db3Sbellard #define UNAME_MACHINE "sun4" 13cbc14e6fSRiku Voipio #define UNAME_MINIMUM_RELEASE "2.6.32" 144ce6243dSPeter Maydell 154ce6243dSPeter Maydell /* SPARC kernels don't define this in their Kconfig, but they have the 164ce6243dSPeter Maydell * same ABI as if they did, implemented by sparc-specific code which fishes 174ce6243dSPeter Maydell * directly in the u_regs() struct for half the parameters in sparc_do_fork() 184ce6243dSPeter Maydell * and copy_thread(). 194ce6243dSPeter Maydell */ 204ce6243dSPeter Maydell #define TARGET_CLONE_BACKWARDS 210903c8beSTom Musta #define TARGET_MINSIGSTKSZ 4096 226f6a4032STom Musta #define TARGET_MLOCKALL_MCL_CURRENT 0x2000 236f6a4032STom Musta #define TARGET_MLOCKALL_MCL_FUTURE 0x4000 24460c579fSLluís Vilanova 25*3622634bSMarkus Armbruster #endif /* SPARC_TARGET_SYSCALL_H */ 26