mips: use MIPSCPU instead of CPUMIPSState
[qemu/rayw.git] / include / hw / mips / cpudevs.h
blob8673daa39d3d5da3fb752d871bfe94010fb0f2b4
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. */
8 /* mips_addr.c */
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);
14 /* mips_int.c */
15 void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
17 /* mips_timer.c */
18 void cpu_mips_clock_init(MIPSCPU *cpu);
20 #endif