mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
accel/tcg: Replace CPUState.env_ptr with cpu_env()
Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ad75a51e84
commit
b77af26e97
58 changed files with 152 additions and 155 deletions
|
@ -593,7 +593,7 @@ const char *elf_hwcap2_str(uint32_t bit)
|
|||
|
||||
static const char *get_elf_platform(void)
|
||||
{
|
||||
CPUARMState *env = thread_cpu->env_ptr;
|
||||
CPUARMState *env = cpu_env(thread_cpu);
|
||||
|
||||
#if TARGET_BIG_ENDIAN
|
||||
# define END "b"
|
||||
|
@ -4430,7 +4430,7 @@ static int fill_note_info(struct elf_note_info *info,
|
|||
if (cpu == thread_cpu) {
|
||||
continue;
|
||||
}
|
||||
fill_thread_info(info, cpu->env_ptr);
|
||||
fill_thread_info(info, cpu_env(cpu));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue