mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
target/riscv: Do not abuse DEFINE_PROP_END_OF_LIST
These are not arrays of Property and had no business using DEFINE_PROP_END_OF_LIST. Use plain { } instead. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Link: https://lore.kernel.org/r/20241218134251.4724-20-richard.henderson@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1088d41795
commit
ebe9685f12
1 changed files with 6 additions and 6 deletions
|
@ -213,7 +213,7 @@ const RISCVIsaExtData isa_edata_arr[] = {
|
|||
ISA_EXT_DATA_ENTRY(xtheadsync, PRIV_VERSION_1_11_0, ext_xtheadsync),
|
||||
ISA_EXT_DATA_ENTRY(xventanacondops, PRIV_VERSION_1_12_0, ext_XVentanaCondOps),
|
||||
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
bool isa_ext_is_enabled(RISCVCPU *cpu, uint32_t ext_offset)
|
||||
|
@ -1575,7 +1575,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
|
|||
MULTI_EXT_CFG_BOOL("zvksc", ext_zvksc, false),
|
||||
MULTI_EXT_CFG_BOOL("zvksg", ext_zvksg, false),
|
||||
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
const RISCVCPUMultiExtConfig riscv_cpu_vendor_exts[] = {
|
||||
|
@ -1592,12 +1592,12 @@ const RISCVCPUMultiExtConfig riscv_cpu_vendor_exts[] = {
|
|||
MULTI_EXT_CFG_BOOL("xtheadsync", ext_xtheadsync, false),
|
||||
MULTI_EXT_CFG_BOOL("xventanacondops", ext_XVentanaCondOps, false),
|
||||
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
/* These are experimental so mark with 'x-' */
|
||||
const RISCVCPUMultiExtConfig riscv_cpu_experimental_exts[] = {
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -1610,7 +1610,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_experimental_exts[] = {
|
|||
const RISCVCPUMultiExtConfig riscv_cpu_named_features[] = {
|
||||
MULTI_EXT_CFG_BOOL("zic64b", ext_zic64b, true),
|
||||
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
/* Deprecated entries marked for future removal */
|
||||
|
@ -1627,7 +1627,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_deprecated_exts[] = {
|
|||
MULTI_EXT_CFG_BOOL("Zve64f", ext_zve64f, false),
|
||||
MULTI_EXT_CFG_BOOL("Zve64d", ext_zve64d, false),
|
||||
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
{ },
|
||||
};
|
||||
|
||||
static void cpu_set_prop_err(RISCVCPU *cpu, const char *propname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue