From 813dff13bf2c6bbf3588dfd00de75f6ed07901aa Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 1 Oct 2017 22:11:45 +0200 Subject: 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 Signed-off-by: Richard Henderson --- target/hppa/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/hppa/cpu.c') 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; -- cgit v1.1