hw/clock: Only propagate clock changes if the clock is changed
[qemu.git] / include / hw / mips / cpudevs.h
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 */
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);
14
15 /* mips_int.c */
16 void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
17
18 /* mips_timer.c */
19 void cpu_mips_clock_init(MIPSCPU *cpu);
20
21 #endif