mirror of https://github.com/xemu-project/xemu.git
target/sparc: Provide hint about CPUSPARCState::irq_manager member
CPUSPARCState::irq_manager holds a pointer to a QDev, so declare it as DeviceState instead of void. Move the comment about Leon3 fields. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Clément Chigot <chigot@adacore.com> Message-Id: <20240130113102.6732-3-philmd@linaro.org>
This commit is contained in:
parent
0177d61bb5
commit
d08b7af3f7
|
@ -545,10 +545,9 @@ struct CPUArchState {
|
|||
#endif
|
||||
sparc_def_t def;
|
||||
|
||||
void *irq_manager;
|
||||
/* Leon3 */
|
||||
DeviceState *irq_manager;
|
||||
void (*qemu_irq_ack)(CPUSPARCState *env, int intno);
|
||||
|
||||
/* Leon3 cache control */
|
||||
uint32_t cache_control;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue