OSDN Git Service

tcg: Make probe_write() return a pointer to the host page
authorDavid Hildenbrand <david@redhat.com>
Fri, 30 Aug 2019 10:09:58 +0000 (12:09 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:34:18 +0000 (08:34 -0700)
commitfef39ccd567032d3ad520ed80f3576068e6eb2e3
treedd2926590265451d7e806af7dc3c8c9eefbed2fa
parent9cd9cdaefc2be7a7e26684734bd334b717c50e5a
tcg: Make probe_write() return a pointer to the host page

... similar to tlb_vaddr_to_host(); however, allow access to the host
page except when TLB_NOTDIRTY or TLB_MMIO is set.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190830100959.26615-2-david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
accel/tcg/user-exec.c
include/exec/exec-all.h