]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: move RISCVCPUConfig fields to a header file
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Feb 2025 10:28:23 +0000 (11:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 May 2025 06:18:53 +0000 (08:18 +0200)
commit12877e739b3afff2b6ff7b80d6a6b22e451671c2
tree3a78921cc42bcf3e91d65191d4a8e995be3f4205
parent7f9e15d82d21714a2c82aff8869b8ef9aa191c98
target/riscv: move RISCVCPUConfig fields to a header file

To support merging a subclass's RISCVCPUDef into the superclass, a list
of all the CPU features is needed.  Put them into a header file that
can be included multiple times, expanding the macros BOOL_FIELD and
TYPE_FIELD to different operations.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/riscv/cpu_cfg.h
target/riscv/cpu_cfg_fields.h.inc [new file with mode: 0644]