aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2024-05-31 17:27:53 -0300
committerAlistair Francis <alistair.francis@wdc.com>2024-06-26 22:34:03 +1000
commit02dd57b3f9f0951d5de087043d29aac64c92a6b4 (patch)
tree1ab1f267a0aa351affde79af8185d3e567eec262 /scripts/qapi
parent190e0ae6290d17780c075ca38b9ecb9895dee419 (diff)
downloadqemu-02dd57b3f9f0951d5de087043d29aac64c92a6b4.zip
qemu-02dd57b3f9f0951d5de087043d29aac64c92a6b4.tar.gz
qemu-02dd57b3f9f0951d5de087043d29aac64c92a6b4.tar.bz2
hw/riscv/virt.c: add aplic nodename helper
We'll change the aplic DT nodename in the next patch and the name is hardcoded in 2 different functions. Create a helper to change a single place later. While we're at it, in create_fdt_socket_aplic(), move 'aplic_name' inside the conditional to avoid allocating a string that won't be used when socket == NULL. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240531202759.911601-3-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions