aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx/compat.py
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-03-07 11:59:12 +0800
committerCédric Le Goater <clg@redhat.com>2025-03-09 14:36:53 +0100
commit563afea0aebd15eac74b89467204f4b76b2ee6fa (patch)
tree157f1e8ebd4f01d1ab32a7ee73e93abe3e3e75e7 /docs/sphinx/compat.py
parent0cffaace0565b68a354c67f147bf8f0f438726e1 (diff)
downloadqemu-563afea0aebd15eac74b89467204f4b76b2ee6fa.zip
qemu-563afea0aebd15eac74b89467204f4b76b2ee6fa.tar.gz
qemu-563afea0aebd15eac74b89467204f4b76b2ee6fa.tar.bz2
hw/intc/aspeed: Introduce dynamic allocation for regs array
Currently, the size of the "regs" array is 0x2000, which is too large. To save code size and avoid mapping large unused gaps, will update it to only map the useful set of registers. This update will support multiple sub-regions with different sizes. To address the redundant size issue, replace the static "regs" array with a dynamically allocated "regs" memory. Introduce a new "aspeed_intc_unrealize" function to free the allocated "regs" memory. 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-4-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'docs/sphinx/compat.py')
0 files changed, 0 insertions, 0 deletions