mips/tcg: Call probe_write() for CONFIG_USER_ONLY as well
commit3a9576ec98cf87ac29e6e3aa885d6c782f918f73
authorDavid Hildenbrand <david@redhat.com>
Mon, 26 Aug 2019 07:51:10 +0000 (26 09:51 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:34:18 +0000 (3 08:34 -0700)
tree353929fd979ba6bad3bf60066350b261c0d37548
parentca86cf328ce216bb304bbf09a43614613f945d86
mips/tcg: Call probe_write() for CONFIG_USER_ONLY as well

Let's call it also for CONFIG_USER_ONLY. While at it, add a FIXME and get
rid of one local variable.

MIPS code probably needs a bigger refactoring in regards of
ensure_writable_pages(), similar to s390x, so for example, watchpoints
can be handled reliably later. The actually accessed addresses should
be probed only, not full pages.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190826075112.25637-6-david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/mips/op_helper.c