00001 #ifndef TARGET_SIGNAL_H
00002 #define TARGET_SIGNAL_H
00003
00004 #include "cpu.h"
00005
00006
00007
00008 typedef struct target_sigaltstack {
00009 abi_ulong ss_sp;
00010 abi_long ss_flags;
00011 abi_ulong ss_size;
00012 } target_stack_t;
00013
00014
00015
00016
00017
00018 #define TARGET_SS_ONSTACK 1
00019 #define TARGET_SS_DISABLE 2
00020
00021 #define TARGET_MINSIGSTKSZ 4096
00022 #define TARGET_SIGSTKSZ 16384
00023
00024 static inline abi_ulong get_sp_from_cpustate(CPUAlphaState *state)
00025 {
00026 return state->ir[IR_SP];
00027 }
00028
00029 #endif