Address translation is an architectural thing (not hardware related). Move the helpers from hw/ to target/. As physical address and KVM are specific to system mode emulation, restrict this file to softmmu, so it doesn't get compiled for user-mode emulation. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201206233949.3783184-2-f4bug@amsat.org>
15 lines
265 B
C
15 lines
265 B
C
#ifndef HW_MIPS_CPUDEVS_H
|
|
#define HW_MIPS_CPUDEVS_H
|
|
|
|
#include "target/mips/cpu-qom.h"
|
|
|
|
/* Definitions for MIPS CPU internal devices. */
|
|
|
|
/* mips_int.c */
|
|
void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
|
|
|
|
/* mips_timer.c */
|
|
void cpu_mips_clock_init(MIPSCPU *cpu);
|
|
|
|
#endif
|