summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-09-03 10:39:49 +0200
committerDavid Hildenbrand2019-09-23 09:28:29 +0200
commitb6c636f2cd6c50cdc558e3c02fbc7f2d102955b2 (patch)
treed065f3c2d5a7527319cb6660b641a540d7807ffa /exec.c
parents390x/tcg: Fault-safe memset (diff)
downloadqemu-b6c636f2cd6c50cdc558e3c02fbc7f2d102955b2.tar.gz
qemu-b6c636f2cd6c50cdc558e3c02fbc7f2d102955b2.tar.xz
qemu-b6c636f2cd6c50cdc558e3c02fbc7f2d102955b2.zip
s390x/tcg: Fault-safe memmove
Replace fast_memmove() variants by access_memmove() variants, that first try to probe access to all affected pages (maximum is two pages). Introduce access_get_byte()/access_set_byte(). We might be able to speed up memmove in special cases even further (do single-byte access, use memmove() for remaining bytes in page), however, we'll skip that for now. In MVCOS, simply always call access_memmove_as() and drop the TODO about LAP. LAP is already handled in the MMU. Get rid of adj_len_to_page(), which is now unused. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions