]>
git.proxmox.com Git - mirror_qemu.git/blob - target/riscv/cpu_user.h
1 #define xRA 1 /* return address (aka link register) */
2 #define xSP 2 /* stack pointer */
3 #define xGP 3 /* global pointer */
4 #define xTP 4 /* thread pointer */
6 #define xA0 10 /* gpr[10-17] are syscall arguments */
13 #define xA7 17 /* syscall number for RVI ABI */
14 #define xT0 5 /* syscall number for RVE ABI */