#ifndefTARGET_SIGNAL_H#defineTARGET_SIGNAL_H#include"cpu.h"/* this struct defines a stack used during syscall handling */typedefstructtarget_sigaltstack{int32_tss_sp;uint32_tss_size;int32_tss_flags;}target_stack_t;/**sigaltstackcontrols*/#defineTARGET_SS_ONSTACK1#defineTARGET_SS_DISABLE2#defineTARGET_MINSIGSTKSZ2048#defineTARGET_SIGSTKSZ8192staticinlinetarget_ulongget_sp_from_cpustate(CPUMIPSState*state){returnstate->gpr[29][state->current_tc];}#endif/* TARGET_SIGNAL_H */