summaryrefslogtreecommitdiffstats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorRichard Henderson2022-08-12 18:15:15 +0200
committerRichard Henderson2022-10-04 05:53:31 +0200
commitb21af662c15522b83a973bc2ffd51d0117c0e039 (patch)
treef2870a0dbb87cd4474f9942569642157d1f3670c /hw/core/loader.c
parentaccel/tcg: Use bool for page_find_alloc (diff)
downloadqemu-b21af662c15522b83a973bc2ffd51d0117c0e039.tar.gz
qemu-b21af662c15522b83a973bc2ffd51d0117c0e039.tar.xz
qemu-b21af662c15522b83a973bc2ffd51d0117c0e039.zip
accel/tcg: Use DisasContextBase in plugin_gen_tb_start
Use the pc coming from db->pc_first rather than the TB. Use the cached host_addr rather than re-computing for the first page. We still need a separate lookup for the second page because it won't be computed for DisasContextBase until the translator actually performs a read from the page. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions