summary refs log tree commit diff stats
path: root/trace/control-target.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-08-15 15:00:57 -0500
committerRichard Henderson <richard.henderson@linaro.org>2022-10-04 12:13:04 -0700
commit93b996161b54860ded173f54ed96257717bb9728 (patch)
treed4557fe8738dd29451cd39c5b2c1de25c9e46d2d /trace/control-target.c
parentb21af662c15522b83a973bc2ffd51d0117c0e039 (diff)
downloadfocaccia-qemu-93b996161b54860ded173f54ed96257717bb9728.tar.gz
focaccia-qemu-93b996161b54860ded173f54ed96257717bb9728.zip
accel/tcg: Do not align tb->page_addr[0]
Let tb->page_addr[0] contain the address of the first byte of the
translated block, rather than the address of the page containing the
start of the translated block.  We need to recover this value anyway
at various points, and it is easier to discard a page offset when it
is not needed, which happens naturally via the existing find_page shift.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'trace/control-target.c')
0 files changed, 0 insertions, 0 deletions