diff options
author | David Hildenbrand <david@redhat.com> | 2019-09-03 10:39:49 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2019-09-23 09:28:29 +0200 |
commit | b6c636f2cd6c50cdc558e3c02fbc7f2d102955b2 (patch) | |
tree | d065f3c2d5a7527319cb6660b641a540d7807ffa /target/sh4 | |
parent | 70ebd9ce1cb08ffb0ec0d7185f16520998545a7a (diff) |
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 'target/sh4')
0 files changed, 0 insertions, 0 deletions