4 static inline void cpu_clone_regs(CPURISCVState
*env
, target_ulong newsp
)
13 static inline void cpu_set_tls(CPURISCVState
*env
, target_ulong newtls
)
15 env
->gpr
[xTP
] = newtls
;
18 static inline abi_ulong
get_sp_from_cpustate(CPURISCVState
*state
)
20 return state
->gpr
[xSP
];