mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Compile some MIPS devices only once
Move CPU specific declarations to a separate file. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
6450a334c4
commit
b970ea8f8d
15 changed files with 51 additions and 18 deletions
15
hw/mips_cpudevs.h
Normal file
15
hw/mips_cpudevs.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue