]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: move satp_mode.{map,init} out of CPUConfig
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Feb 2025 10:27:12 +0000 (11:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 May 2025 06:18:31 +0000 (08:18 +0200)
commit80b22be3820f1076d9de1b1f1646ae6b352d7675
tree1d464a9e7bfba142813a2f901d413a905de6a4f7
parentdabb54c160b84d648f375d8f7688fb1099ba32ab
target/riscv: move satp_mode.{map,init} out of CPUConfig

They are used to provide the nice QOM properties for svNN,
but the canonical source of the CPU configuration is now
cpu->cfg.max_satp_mode.  Store them in the ArchCPU struct.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/cpu_cfg.h