1#ifndef HW_MIPS_CPUDEVS_H 2#define HW_MIPS_CPUDEVS_H 3 4#include "target/mips/cpu-qom.h" 5 6/* Definitions for MIPS CPU internal devices. */ 7 8/* addr.c */ 9uint64_t cpu_mips_kseg0_to_phys(void *opaque, uint64_t addr); 10uint64_t cpu_mips_phys_to_kseg0(void *opaque, uint64_t addr); 11uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque, uint64_t addr); 12bool mips_um_ksegs_enabled(void); 13void mips_um_ksegs_enable(void); 14 15/* mips_int.c */ 16void cpu_mips_irq_init_cpu(MIPSCPU *cpu); 17 18/* mips_timer.c */ 19void cpu_mips_clock_init(MIPSCPU *cpu); 20 21#endif 22