On 22/6/26 21:31, Daniel Henrique Barboza wrote:
Move riscv_new_csr_seed from csr.c to cpu.c since this function is
shared with KVM. With that we can remove the csr.h from kvm-cpu.c.
Signed-off-by: Daniel Henrique Barboza <[email protected]>
---
target/riscv/cpu.c | 30 ++++++++++++++++++++++++++++++
target/riscv/cpu.h | 3 ++-
target/riscv/csr.h | 3 ---
target/riscv/kvm/kvm-cpu.c | 1 -
target/riscv/tcg/csr.c | 29 -----------------------------
5 files changed, 32 insertions(+), 34 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>