diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-05-17 10:57:07 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-06-13 16:56:12 +1000 |
commit | b9a2b98e172336e8ec464b3b63bf0dedba944502 (patch) | |
tree | 9452fd52a2e6c945265be382e7ed6da8bbd19e4a /hw | |
parent | 8c6eeb508a98b185fac71c4dad523763ab779a83 (diff) | |
download | qemu-b9a2b98e172336e8ec464b3b63bf0dedba944502.zip qemu-b9a2b98e172336e8ec464b3b63bf0dedba944502.tar.gz qemu-b9a2b98e172336e8ec464b3b63bf0dedba944502.tar.bz2 |
target/riscv: add PRIV_VERSION_LATEST
All these generic CPUs are using the latest priv available, at this
moment PRIV_VERSION_1_12_0:
- riscv_any_cpu_init()
- rv32_base_cpu_init()
- rv64_base_cpu_init()
- rv128_base_cpu_init()
Create a new PRIV_VERSION_LATEST enum and use it in those cases. I'll
make it easier to update everything at once when a new priv version is
available.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230517135714.211809-5-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions