mirror of https://github.com/xemu-project/xemu.git
hw/misc/mips_itu: Declare itc_reconfigure() in 'hw/misc/mips_itu.h'
We already provide "hw/misc/mips_itu.h" to declare prototype related to MIPSITUState. Move itc_reconfigure() declaration there. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231009171443.12145-3-philmd@linaro.org>
This commit is contained in:
parent
30a8d3a142
commit
db646e830e
|
@ -79,4 +79,6 @@ struct MIPSITUState {
|
||||||
/* Get ITC Configuration Tag memory region. */
|
/* Get ITC Configuration Tag memory region. */
|
||||||
MemoryRegion *mips_itu_get_tag_region(MIPSITUState *itu);
|
MemoryRegion *mips_itu_get_tag_region(MIPSITUState *itu);
|
||||||
|
|
||||||
|
void itc_reconfigure(struct MIPSITUState *tag);
|
||||||
|
|
||||||
#endif /* MIPS_ITU_H */
|
#endif /* MIPS_ITU_H */
|
||||||
|
|
|
@ -1350,9 +1350,6 @@ void cpu_mips_soft_irq(CPUMIPSState *env, int irq, int level);
|
||||||
void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
|
void cpu_mips_irq_init_cpu(MIPSCPU *cpu);
|
||||||
void cpu_mips_clock_init(MIPSCPU *cpu);
|
void cpu_mips_clock_init(MIPSCPU *cpu);
|
||||||
|
|
||||||
/* mips_itu.c */
|
|
||||||
void itc_reconfigure(struct MIPSITUState *tag);
|
|
||||||
|
|
||||||
#endif /* !CONFIG_USER_ONLY */
|
#endif /* !CONFIG_USER_ONLY */
|
||||||
|
|
||||||
/* helper.c */
|
/* helper.c */
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "qemu/host-utils.h"
|
#include "qemu/host-utils.h"
|
||||||
#include "exec/helper-proto.h"
|
#include "exec/helper-proto.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
|
#include "hw/misc/mips_itu.h"
|
||||||
|
|
||||||
|
|
||||||
/* SMP helpers. */
|
/* SMP helpers. */
|
||||||
|
|
Loading…
Reference in New Issue