Revision 992f48a0 linux-user/sparc/target_signal.h
b/linux-user/sparc/target_signal.h | ||
---|---|---|
6 | 6 |
/* this struct defines a stack used during syscall handling */ |
7 | 7 |
|
8 | 8 |
typedef struct target_sigaltstack { |
9 |
target_ulong ss_sp;
|
|
10 |
target_long ss_flags;
|
|
11 |
target_ulong ss_size;
|
|
9 |
abi_ulong ss_sp;
|
|
10 |
abi_long ss_flags;
|
|
11 |
abi_ulong ss_size;
|
|
12 | 12 |
} target_stack_t; |
13 | 13 |
|
14 | 14 |
|
... | ... | |
28 | 28 |
#define UREG_FP UREG_I6 |
29 | 29 |
#endif |
30 | 30 |
|
31 |
static inline target_ulong get_sp_from_cpustate(CPUSPARCState *state)
|
|
31 |
static inline abi_ulong get_sp_from_cpustate(CPUSPARCState *state)
|
|
32 | 32 |
{ |
33 | 33 |
return state->regwptr[UREG_FP]; |
34 | 34 |
} |
Also available in: Unified diff