aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-preprocess-test.py
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2024-11-06 10:34:01 -0300
committerAlistair Francis <alistair.francis@wdc.com>2024-12-20 11:19:16 +1000
commit4876e6f7b51cf7dcbfaa43ae323e51ce9ebfcf79 (patch)
treeb48903a35bf23dd8f74f021a39c16b669b9ba03a /scripts/xml-preprocess-test.py
parent0d0141fadc9063e527865ee420b2baf34e306093 (diff)
downloadqemu-4876e6f7b51cf7dcbfaa43ae323e51ce9ebfcf79.zip
qemu-4876e6f7b51cf7dcbfaa43ae323e51ce9ebfcf79.tar.gz
qemu-4876e6f7b51cf7dcbfaa43ae323e51ce9ebfcf79.tar.bz2
hw/riscv/riscv-iommu.c: add riscv_iommu_instance_init()
Move all the static initializion of the device to an init() function, leaving only the dynamic initialization to be done during realize. With this change s->cap is initialized with RISCV_IOMMU_CAP_DBG during init(), and realize() will increment s->cap with the extra caps. This will allow callers to add IOMMU capabilities before the realization. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20241106133407.604587-2-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/xml-preprocess-test.py')
0 files changed, 0 insertions, 0 deletions