diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-12-10 17:33:50 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-01-08 09:04:30 +1000 |
commit | b7ed683a8d53b68b5b2f376789b20d2fe91d544b (patch) | |
tree | 371f60c2dac27417eccf2adb34ffca03a8a296db /hw/sh4/shix.c | |
parent | c102d9471f8f02d9fbea72ec4505d7089173f470 (diff) |
hw/alpha/typhoon: Stop calling cpu_unassigned_access()
The typhoon MemoryRegionOps callbacks directly call
cpu_unassigned_access(), presumably as the old-fashioned way
to provoke a CPU exception. This won't work since commit
6ad4d7eed05a1e235 when we switched Alpha over to the
transaction_failed hook API, because now cpu_unassigned_access()
is a no-op for Alpha.
Make the MemoryRegionOps callbacks use the read_with_attrs
and write_with_attrs hooks, so they can signal a failure
that should cause a CPU exception by returning MEMTX_ERROR.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20181210173350.13073-1-peter.maydell@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/sh4/shix.c')
0 files changed, 0 insertions, 0 deletions