mirror of https://github.com/xqemu/xqemu.git
Provision for x86_64-linux-user target: needs get_sp_from_cpustate
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3262 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e1833e1f96
commit
8bb1f9c51c
|
@ -21,4 +21,9 @@ typedef struct target_sigaltstack {
|
||||||
#define TARGET_MINSIGSTKSZ 2048
|
#define TARGET_MINSIGSTKSZ 2048
|
||||||
#define TARGET_SIGSTKSZ 8192
|
#define TARGET_SIGSTKSZ 8192
|
||||||
|
|
||||||
|
static inline target_ulong get_sp_from_cpustate(CPUX86State *state)
|
||||||
|
{
|
||||||
|
return state->regs[R_ESP];
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* TARGET_SIGNAL_H */
|
#endif /* TARGET_SIGNAL_H */
|
||||||
|
|
Loading…
Reference in New Issue