commit | 7f11636dbee89b0e4d03e9e2b96e14649a7db778 | [log] [tgz] |
---|---|---|
author | Emilio G. Cota <cota@braap.org> | Tue Jul 11 17:06:48 2017 -0400 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Oct 10 07:37:10 2017 -0700 |
tree | 440555ab6e73d7ed21ba19b0447cbeb22a1c94ac | |
parent | d453ec78251d03cbd4ffc28dbf6070931c8ae469 [diff] |
tcg: remove addr argument from lookup_tb_ptr It is unlikely that we will ever want to call this helper passing an argument other than the current PC. So just remove the argument, and use the pc we already get from cpu_get_tb_cpu_state. This change paves the way to having a common "tb_lookup" function. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>