mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
linux-user: Pass CPUArchState to target_restore_altstack
In most cases we were already passing get_sp_from_cpustate directly to the function. In other cases, we were passing a local variable which already contained the same value. In the rest of the cases, we were passing the stack pointer out of env directly. Reviewed by: Warner Losh <imp@bsdimp.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210426025334.1168495-5-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
6b20875503
commit
ddc3e74d9c
18 changed files with 21 additions and 21 deletions
|
@ -24,7 +24,7 @@ int on_sig_stack(unsigned long sp);
|
|||
int sas_ss_flags(unsigned long sp);
|
||||
abi_ulong target_sigsp(abi_ulong sp, struct target_sigaction *ka);
|
||||
void target_save_altstack(target_stack_t *uss, CPUArchState *env);
|
||||
abi_long target_restore_altstack(target_stack_t *uss, abi_ulong sp);
|
||||
abi_long target_restore_altstack(target_stack_t *uss, CPUArchState *env);
|
||||
|
||||
static inline void target_sigemptyset(target_sigset_t *set)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue