aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/cpu-qom.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-02-12 14:35:56 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2015-03-07 15:27:54 +0300
commit4246e225c0e8fbcf17051aa83a4198293c007cc4 (patch)
treecc8c67e8d16153d47bbd60971c49ca5e6a25bffa /target-xtensa/cpu-qom.h
parent8bb3b575448aeff086b2849943da47dce3c2b6ec (diff)
target-xtensa: implement do_unassigned_access callback
Depending on access type raise either InstrPIFDataError or LoadStorePIFDataError exception. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/cpu-qom.h')
-rw-r--r--target-xtensa/cpu-qom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-xtensa/cpu-qom.h b/target-xtensa/cpu-qom.h
index 9de5c6eb9f..2258224d09 100644
--- a/target-xtensa/cpu-qom.h
+++ b/target-xtensa/cpu-qom.h
@@ -85,6 +85,9 @@ static inline XtensaCPU *xtensa_env_get_cpu(const CPUXtensaState *env)
void xtensa_cpu_do_interrupt(CPUState *cpu);
bool xtensa_cpu_exec_interrupt(CPUState *cpu, int interrupt_request);
+void xtensa_cpu_do_unassigned_access(CPUState *cpu, hwaddr addr,
+ bool is_write, bool is_exec, int opaque,
+ unsigned size);
void xtensa_cpu_dump_state(CPUState *cpu, FILE *f,
fprintf_function cpu_fprintf, int flags);
hwaddr xtensa_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr);