Revision 198a74de target-sparc/cpu.h
b/target-sparc/cpu.h | ||
---|---|---|
316 | 316 |
#define cpu_gen_code cpu_sparc_gen_code |
317 | 317 |
#define cpu_signal_handler cpu_sparc_signal_handler |
318 | 318 |
|
319 |
#ifndef UREG_I6 |
|
320 |
#define UREG_I6 6 |
|
321 |
#endif |
|
322 |
#ifndef UREG_FP |
|
323 |
#define UREG_FP UREG_I6 |
|
324 |
#endif |
|
325 |
|
|
326 |
static inline target_ulong get_sp_from_cpustate(CPUSPARCState *state) |
|
327 |
{ |
|
328 |
return state->regwptr[UREG_FP]; |
|
329 |
} |
|
330 |
|
|
331 | 319 |
#include "cpu-all.h" |
332 | 320 |
|
333 | 321 |
#endif |
Also available in: Unified diff