summary refs log tree commit diff stats
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-03-07 11:59:15 +0800
committerCédric Le Goater <clg@redhat.com>2025-03-09 14:36:53 +0100
commit3d6e15eafb3a3977f6659211e08d112807f20626 (patch)
treeb283bfb95d58b268e165df684317d9667f6c3fc8 /rust/qemu-api-macros/src
parent7ffee511fcf1487e016ae1d11c5e191557a8b804 (diff)
downloadfocaccia-qemu-3d6e15eafb3a3977f6659211e08d112807f20626.tar.gz
focaccia-qemu-3d6e15eafb3a3977f6659211e08d112807f20626.zip
hw/intc/aspeed: Introduce helper functions for enable and status registers
The behavior of the enable and status registers is almost identical between
INTC(CPU Die) and INTCIO(IO Die). To reduce duplicated code, adds
"aspeed_intc_enable_handler" functions to handle enable register write
behavior and "aspeed_intc_status_handler" functions to handle status
register write 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-7-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions