diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-03-07 11:59:24 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-03-09 14:36:53 +0100 |
| commit | 5824e8bf6beb226aa5dee94d4e92b671e9b082f1 (patch) | |
| tree | 6b7d2990d57911b415ad0c27ab8b4d0a00b4c11b /hw/misc/aspeed_scu.c | |
| parent | ab24c6a2df8e6c8055b6f1dfe80697320b327c50 (diff) | |
| download | focaccia-qemu-5824e8bf6beb226aa5dee94d4e92b671e9b082f1.tar.gz focaccia-qemu-5824e8bf6beb226aa5dee94d4e92b671e9b082f1.zip | |
hw/intc/aspeed: Introduce IRQ handler function to reduce code duplication
The behavior of the INTC set IRQ is almost identical between INTC and INTCIO. To reduce duplicated code, introduce the "aspeed_intc_set_irq_handler" function to handle both INTC and INTCIO IRQ behavior. No functional change. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250307035945.3698802-16-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/misc/aspeed_scu.c')
0 files changed, 0 insertions, 0 deletions