aboutsummaryrefslogtreecommitdiff
path: root/target/alpha/cpu.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-08-08 13:42:52 +0100
committerRichard Henderson <richard.henderson@linaro.org>2017-09-07 11:15:55 -0700
commit6ad4d7eed05a1e23537fc92b50f898f5977f37e6 (patch)
tree68274ea648323ca49a2fcd96b65ff1a65e251ec7 /target/alpha/cpu.c
parent99a92b9459c1197e58036ab5a6f3ac6a5119b2ad (diff)
downloadqemu-6ad4d7eed05a1e23537fc92b50f898f5977f37e6.zip
qemu-6ad4d7eed05a1e23537fc92b50f898f5977f37e6.tar.gz
qemu-6ad4d7eed05a1e23537fc92b50f898f5977f37e6.tar.bz2
target/alpha: Switch to do_transaction_failed() hook
Switch the alpha target from the old unassigned_access hook to the new do_transaction_failed hook. This allows us to resolve a ??? in the old hook implementation. The only part of the alpha target that does physical memory accesses is reading the page table -- add a TODO comment there to the effect that we should handle bus faults on page table walks. (Since the palcode doesn't actually do anything useful on a bus fault anyway it's a bit moot for now.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <1502196172-13818-1-git-send-email-peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/cpu.c')
-rw-r--r--target/alpha/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c
index 1ea597b..e6c6aab 100644
--- a/target/alpha/cpu.c
+++ b/target/alpha/cpu.c
@@ -297,7 +297,7 @@ static void alpha_cpu_class_init(ObjectClass *oc, void *data)
#ifdef CONFIG_USER_ONLY
cc->handle_mmu_fault = alpha_cpu_handle_mmu_fault;
#else
- cc->do_unassigned_access = alpha_cpu_unassigned_access;
+ cc->do_transaction_failed = alpha_cpu_do_transaction_failed;
cc->do_unaligned_access = alpha_cpu_do_unaligned_access;
cc->get_phys_page_debug = alpha_cpu_get_phys_page_debug;
dc->vmsd = &vmstate_alpha_cpu;