aboutsummaryrefslogtreecommitdiff
path: root/target/sparc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-30 11:10:34 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-15 16:58:46 +0100
commitd08b7af3f7f27f6f3da8446756bf0b9352026b1d (patch)
tree73ce011e824962ac8a67bd7eaec98e7f5603f032 /target/sparc
parent0177d61bb576b46b37712f39bf8b898628c44848 (diff)
downloadqemu-d08b7af3f7f27f6f3da8446756bf0b9352026b1d.zip
qemu-d08b7af3f7f27f6f3da8446756bf0b9352026b1d.tar.gz
qemu-d08b7af3f7f27f6f3da8446756bf0b9352026b1d.tar.bz2
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>
Diffstat (limited to 'target/sparc')
-rw-r--r--target/sparc/cpu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h
index edf46b3..f3cdd17 100644
--- a/target/sparc/cpu.h
+++ b/target/sparc/cpu.h
@@ -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;
};