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