2010-03-27 10:26:16 +03:00
|
|
|
#ifndef HW_MIPS_CPUDEVS_H
|
|
|
|
#define HW_MIPS_CPUDEVS_H
|
2016-03-15 16:32:19 +03:00
|
|
|
|
2016-10-11 09:56:52 +03:00
|
|
|
#include "target/mips/cpu-qom.h"
|
2016-03-15 16:32:19 +03:00
|
|
|
|
2010-03-27 10:26:16 +03:00
|
|
|
/* Definitions for MIPS CPU internal devices. */
|
|
|
|
|
|
|
|
/* mips_addr.c */
|
|
|
|
uint64_t cpu_mips_kseg0_to_phys(void *opaque, uint64_t addr);
|
|
|
|
uint64_t cpu_mips_phys_to_kseg0(void *opaque, uint64_t addr);
|
2014-06-18 02:10:28 +04:00
|
|
|
uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque, uint64_t addr);
|
|
|
|
|
2010-03-27 10:26:16 +03:00
|
|
|
|
|
|
|
/* mips_int.c */
|
2016-03-15 16:32:19 +03:00
|
|
|
void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
|
2010-03-27 10:26:16 +03:00
|
|
|
|
|
|
|
/* mips_timer.c */
|
2016-03-15 16:32:19 +03:00
|
|
|
void cpu_mips_clock_init(MIPSCPU *cpu);
|
2010-03-27 10:26:16 +03:00
|
|
|
|
|
|
|
#endif
|