diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-14 16:39:34 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-11-02 07:00:52 -0400 |
commit | 860e0b965be0ac3b8e455c3d80d4ca6f5e30a97a (patch) | |
tree | df6979b44a26fafc688fd084faa2c0f7861c08a0 /target/hppa/cpu.h | |
parent | 70863887a84caae2cfaf31b3ce900452d87553bd (diff) | |
download | qemu-860e0b965be0ac3b8e455c3d80d4ca6f5e30a97a.zip qemu-860e0b965be0ac3b8e455c3d80d4ca6f5e30a97a.tar.gz qemu-860e0b965be0ac3b8e455c3d80d4ca6f5e30a97a.tar.bz2 |
target/hppa: Make hppa_cpu_tlb_fill sysemu only
The fallback code in cpu_loop_exit_sigsegv is sufficient
for hppa linux-user.
Remove the code from cpu_loop that raised SIGSEGV.
This makes all of the code in mem_helper.c sysemu only,
so remove the ifdefs and move the file to hppa_softmmu_ss.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/cpu.h')
-rw-r--r-- | target/hppa/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index d3cb7a2..294fd72 100644 --- a/target/hppa/cpu.h +++ b/target/hppa/cpu.h @@ -323,10 +323,10 @@ hwaddr hppa_cpu_get_phys_page_debug(CPUState *cs, vaddr addr); int hppa_cpu_gdb_read_register(CPUState *cpu, GByteArray *buf, int reg); int hppa_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); void hppa_cpu_dump_state(CPUState *cs, FILE *f, int); +#ifndef CONFIG_USER_ONLY bool hppa_cpu_tlb_fill(CPUState *cs, vaddr address, int size, MMUAccessType access_type, int mmu_idx, bool probe, uintptr_t retaddr); -#ifndef CONFIG_USER_ONLY void hppa_cpu_do_interrupt(CPUState *cpu); bool hppa_cpu_exec_interrupt(CPUState *cpu, int int_req); int hppa_get_physical_address(CPUHPPAState *env, vaddr addr, int mmu_idx, |