qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 2/2] gen-icount: pass cpu_env as a parameter to ge


From: Richard Henderson
Subject: Re: [Qemu-arm] [PATCH 2/2] gen-icount: pass cpu_env as a parameter to gen_* inlines
Date: Thu, 15 Jun 2017 19:54:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 06/15/2017 04:04 PM, Emilio G. Cota wrote:
We are relying on cpu_env being defined as a global, yet most
targets (i.e. all but arm/a64) have it defined as a local variable.
Luckily all of them use the same "cpu_env" name, but really
compilation shouldn't break if the name of that local variable
changed.

This patch fixes it by explicitly passing cpu_env to the gen_*
inlines that need it. This change also helps paving the way for
the upcoming "translation loop common to all targets" work.

Signed-off-by: Emilio G. Cota<address@hidden>
---

Nack.  If you want to make a change, this should be tcg_ctx.tcg_env.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]