1 #ifndef HW_MIPS_CPUDEVS_H
2 #define HW_MIPS_CPUDEVS_H
4 #include "target/mips/cpu-qom.h"
6 /* Definitions for MIPS CPU internal devices. */
9 uint64_t cpu_mips_kseg0_to_phys(void *opaque
, uint64_t addr
);
10 uint64_t cpu_mips_phys_to_kseg0(void *opaque
, uint64_t addr
);
11 uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque
, uint64_t addr
);
12 bool mips_um_ksegs_enabled(void);
13 void mips_um_ksegs_enable(void);
16 void cpu_mips_irq_init_cpu(MIPSCPU
*cpu
);
19 void cpu_mips_clock_init(MIPSCPU
*cpu
);