]>
git.proxmox.com Git - mirror_qemu.git/blob - linux-user/riscv/target_syscall.h
2 * This struct defines the way the registers are stored on the
3 * stack during a system call.
5 * Reference: linux/arch/riscv/include/uapi/asm/ptrace.h
8 struct target_pt_regs
{
44 #define UNAME_MACHINE "riscv32"
46 #define UNAME_MACHINE "riscv64"
48 #define UNAME_MINIMUM_RELEASE "4.15.0"
50 #define TARGET_MINSIGSTKSZ 2048
51 #define TARGET_MLOCKALL_MCL_CURRENT 1
52 #define TARGET_MLOCKALL_MCL_FUTURE 2
54 /* clone(flags, newsp, ptidptr, tls, ctidptr) for RISC-V */
55 /* This comes from linux/kernel/fork.c, CONFIG_CLONE_BACKWARDS */
56 #define TARGET_CLONE_BACKWARDS