Jocelyn Mayer wrote: > On Thu, 2007-09-27 at 13:57 +0000, Thiemo Seufer wrote: > > CVSROOT: /sources/qemu > > Module name: qemu > > Changes by: Thiemo Seufer <ths> 07/09/27 13:57:58 > > > > Modified files: > > linux-user : qemu.h signal.c syscall.c > > target-alpha : cpu.h > > target-arm : cpu.h > > target-i386 : cpu.h > > target-mips : cpu.h > > target-ppc : cpu.h > > static inline target_ulong get_sp_from_cpustate(CPUPPCState *state) > { > return state->gpr[1]; > } > > This is no way related to CPU emulation then has nothing to do in cpu.h.
Agreed, it should be confined to the linux-user implementation. > Furthermore, there no notion of sigaltstack or even stack pointer in the > PowerPC specification. You would need to look in the Linux PPC ABI for that. Thiemo