]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: Add AIA cpu feature
authorAnup Patel <anup.patel@wdc.com>
Fri, 4 Feb 2022 17:46:42 +0000 (23:16 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:18 +0000 (12:24 +1000)
commit32b0ada038629311aa90499a68de29473df7935d
tree6c0e8aecc592dcbf74cc40c9b128dc3385d46ca0
parentf87adf23fa66fd07d9f003173d386c0a54d9ddb0
target/riscv: Add AIA cpu feature

We define a CPU feature for AIA CSR support in RISC-V CPUs which
can be set by machine/device emulation. The RISC-V CSR emulation
will also check this feature for emulating AIA CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-7-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.h