From ab4c072d2f2f4d2e4bfa54bb89e43e2b4cb86275 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 17 Oct 2019 18:42:35 +0200 Subject: leon3: use qemu_irq framework instead of callback as property "set_pin_in" property is used to define a callback mechanism where the device says "call the callback function, passing it an opaque cookie and a 32-bit value". We already have a generic mechanism for doing that, which is the qemu_irq. So we should just use that. Signed-off-by: Marc-André Lureau Reviewed-by: Peter Maydell Reviewed-by: KONRAD Frederic --- target/sparc/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h index ae97c7d9f7..e70fec0133 100644 --- a/target/sparc/cpu.h +++ b/target/sparc/cpu.h @@ -541,6 +541,7 @@ struct CPUSPARCState { #endif sparc_def_t def; + qemu_irq pil_irq; void *irq_manager; void (*qemu_irq_ack)(CPUSPARCState *env, void *irq_manager, int intno); -- cgit v1.2.3-55-g7522