summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-03-10 11:06:17 -0600
committerRichard Henderson <richard.henderson@linaro.org>2021-06-11 09:27:08 -0700
commit01afda991971745948633529bf52df8fbf3710d1 (patch)
tree1b278b4d58f51f3744028cb1e0f5c14fe0d7d6ee /python/qemu/utils/accel.py
parentc2471ca0defb3b4393ae4ae2d8698ced9613700e (diff)
downloadfocaccia-qemu-01afda991971745948633529bf52df8fbf3710d1.tar.gz
focaccia-qemu-01afda991971745948633529bf52df8fbf3710d1.zip
tcg: Tidy tcg_n_regions
Compute the value using straight division and bounds,
rather than a loop.  Pass in tb_size rather than reading
from tcg_init_ctx.code_gen_buffer_size,

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions