[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] mconfigptr support
From: |
Rahul Pathak |
Subject: |
[PATCH v2 0/2] mconfigptr support |
Date: |
Mon, 25 Oct 2021 18:13:17 +0530 |
Patches add the mconfigptr csr support.
mconfigptr is newly incorporated in risc-v privileged architecture
specification 1.12 version.
priv spec 1.12.0 version check is also added.
qemu-system-riscv64 -nographic -machine virt -cpu rv64,priv_spec=v1.12.0
Changelog:
v1->v2
------
1. Added privileged architecture spec version 1.12 ("v1.12.0") check
2. Added predicate function for mconfigptr which verifies
for priv spec version v1.12.0 or higher.
Thanks
Rahul
Rahul Pathak (2):
target/riscv: Add priv spec 1.12.0 version check
target/riscv: csr: Implement mconfigptr CSR
target/riscv/cpu.c | 4 +++-
target/riscv/cpu.h | 1 +
target/riscv/cpu_bits.h | 1 +
target/riscv/csr.c | 19 +++++++++++++++----
4 files changed, 20 insertions(+), 5 deletions(-)
--
2.25.1
- [PATCH v2 0/2] mconfigptr support,
Rahul Pathak <=