cputlb: Pass CPUTLBDescFast to tlb_n_entries and sizeof_tlb
commit722a1c1e97c1edeca5ad458ad2ce3441b47f0440
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 7 Dec 2019 19:47:41 +0000 (7 11:47 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 Jan 2020 00:21:59 +0000 (21 14:21 -1000)
treede1df0d36ceb9fd17f60868351ffacb4ff0c457b
parent7a1efe1b97c4f68f2f78cbca2e512324ed07524d
cputlb: Pass CPUTLBDescFast to tlb_n_entries and sizeof_tlb

We do not need the entire CPUArchState to compute these values.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c