diff options
author | Helge Deller <deller@gmx.de> | 2017-10-01 22:11:45 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-01-30 10:08:18 -0800 |
commit | 813dff13bf2c6bbf3588dfd00de75f6ed07901aa (patch) | |
tree | 5123acb4afbbcaab20e47e44dd68fd9d6b3f4b7d /target/hppa/cpu.c | |
parent | 6521130b0a7f699fdb82446d57df5627bfa7ed3c (diff) | |
download | qemu-813dff13bf2c6bbf3588dfd00de75f6ed07901aa.zip qemu-813dff13bf2c6bbf3588dfd00de75f6ed07901aa.tar.gz qemu-813dff13bf2c6bbf3588dfd00de75f6ed07901aa.tar.bz2 |
target/hppa: Skeleton support for hppa-softmmu
With the addition of default-configs/hppa-softmmu.mak, this
will compile. It is not enabled with this patch, however.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/cpu.c')
-rw-r--r-- | target/hppa/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index 9e7b0d4..f6d92de 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -132,7 +132,12 @@ static void hppa_cpu_class_init(ObjectClass *oc, void *data) cc->synchronize_from_tb = hppa_cpu_synchronize_from_tb; cc->gdb_read_register = hppa_cpu_gdb_read_register; cc->gdb_write_register = hppa_cpu_gdb_write_register; +#ifdef CONFIG_USER_ONLY cc->handle_mmu_fault = hppa_cpu_handle_mmu_fault; +#else + cc->get_phys_page_debug = hppa_cpu_get_phys_page_debug; +#endif + cc->disas_set_info = hppa_cpu_disas_set_info; cc->tcg_initialize = hppa_translate_init; |