2010-03-27 15:26:16 +08:00
|
|
|
#ifndef HW_MIPS_CPUDEVS_H
|
|
|
|
#define HW_MIPS_CPUDEVS_H
|
|
|
|
/* 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 06:10:28 +08:00
|
|
|
uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque, uint64_t addr);
|
|
|
|
|
2010-03-27 15:26:16 +08:00
|
|
|
|
|
|
|
/* mips_int.c */
|
2012-03-14 08:38:23 +08:00
|
|
|
void cpu_mips_irq_init_cpu(CPUMIPSState *env);
|
2010-03-27 15:26:16 +08:00
|
|
|
|
|
|
|
/* mips_timer.c */
|
2012-03-14 08:38:23 +08:00
|
|
|
void cpu_mips_clock_init(CPUMIPSState *);
|
2010-03-27 15:26:16 +08:00
|
|
|
|
|
|
|
#endif
|