aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_cpudevs.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-27 07:26:16 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-27 07:26:16 +0000
commitb970ea8f8d7d05c4abd3e46afc207a585f941be1 (patch)
treeae23730331fda794b6134367d0b1baa651e31be9 /hw/mips_cpudevs.h
parent6450a334c4820a5f7ac4b8c5e1482156e3bbab3c (diff)
Compile some MIPS devices only once
Move CPU specific declarations to a separate file. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/mips_cpudevs.h')
-rw-r--r--hw/mips_cpudevs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hw/mips_cpudevs.h b/hw/mips_cpudevs.h
new file mode 100644
index 0000000000..db82b4105c
--- /dev/null
+++ b/hw/mips_cpudevs.h
@@ -0,0 +1,15 @@
+#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);
+
+/* mips_int.c */
+void cpu_mips_irq_init_cpu(CPUState *env);
+
+/* mips_timer.c */
+void cpu_mips_clock_init(CPUState *);
+
+#endif