OSDN Git Service

disas: Remove monitor_disas_is_physical
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 19 Sep 2017 14:40:40 +0000 (09:40 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 25 Oct 2017 09:55:21 +0000 (11:55 +0200)
commitb8d8720892f7912e8a2621b30ebac0e9a48e89e3
tree5bca0e09dfdd109bd19f57aa20e9d8b1a27eec6e
parentac226899db15c5751f5b1f4f42ea4b31a3d360e0
disas: Remove monitor_disas_is_physical

Even though there is only one monitor, and thus no race on this
global data object, there is also no point in having it.  We can
just as well record the decision in the read_memory_function that
we select.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
disas.c