1 #ifndef TARGET_SIGNAL_H
2 #define TARGET_SIGNAL_H
6 typedef struct target_sigaltstack
{
12 #define TARGET_SS_ONSTACK 1
13 #define TARGET_SS_DISABLE 2
15 #define TARGET_MINSIGSTKSZ 2048
16 #define TARGET_SIGSTKSZ 8192
18 static inline abi_ulong
get_sp_from_cpustate(CPURISCVState
*state
)
20 return state
->gpr
[xSP
];
23 #endif /* TARGET_SIGNAL_H */