summaryrefslogtreecommitdiffstats
path: root/qemu/include/hw/mips/cpudevs.h
blob: b2626f2922f4c8314fb1b64910752fec4bbdc2a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);
uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque, uint64_t addr);


/* mips_int.c */
void cpu_mips_irq_init_cpu(CPUMIPSState *env);

/* mips_timer.c */
void cpu_mips_clock_init(CPUMIPSState *);

#endif