diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2022-06-30 09:31:02 +1000 |
---|---|---|
committer | Alistair Francis <alistair@alistair23.me> | 2022-07-03 10:03:20 +1000 |
commit | be2265c776a67287cea03908495cf1e785271c6f (patch) | |
tree | 5340ec6b9f307367f1ee396afb354a235d9d06e0 /target/riscv | |
parent | b509caceaa6dcb694015390a202002a0f3088ad0 (diff) | |
download | qemu-be2265c776a67287cea03908495cf1e785271c6f.zip qemu-be2265c776a67287cea03908495cf1e785271c6f.tar.gz qemu-be2265c776a67287cea03908495cf1e785271c6f.tar.bz2 |
target/riscv: Ibex: Support priv version 1.11
The Ibex CPU supports version 1.11 of the priv spec [1], so let's
correct that in QEMU as well.
1: https://ibex-core.readthedocs.io/en/latest/01_overview/compliance.html
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20220629233102.275181-3-alistair.francis@opensource.wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv')
-rw-r--r-- | target/riscv/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index d12c6dc..aac0576 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -237,7 +237,7 @@ static void rv32_ibex_cpu_init(Object *obj) RISCVCPU *cpu = RISCV_CPU(obj); set_misa(env, MXL_RV32, RVI | RVM | RVC | RVU); - set_priv_version(env, PRIV_VERSION_1_10_0); + set_priv_version(env, PRIV_VERSION_1_11_0); cpu->cfg.mmu = false; cpu->cfg.epmp = true; } |