diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-09-26 15:31:08 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-10-12 12:30:16 +1000 |
commit | b933720be22442e6847629fe0dcf24b95cef3d56 (patch) | |
tree | f4365c3b9707e3584de9c03ba79ab7164c9da0b9 /scripts/qapi-gen.py | |
parent | 31778448f2c39565062014ae89ca8c2f82522fe5 (diff) | |
download | qemu-b933720be22442e6847629fe0dcf24b95cef3d56.zip qemu-b933720be22442e6847629fe0dcf24b95cef3d56.tar.gz qemu-b933720be22442e6847629fe0dcf24b95cef3d56.tar.bz2 |
target/riscv: add riscv_cpu_get_name()
We'll introduce generic errors that will output a CPU type name via its
RISCVCPU pointer. Create a helper for that.
Use the helper in tcg_cpu_realizefn() instead of hardcoding the 'host'
CPU name.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20230926183109.165878-2-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions