diff options
author | Richard Henderson | 2021-08-22 09:25:28 +0200 |
---|---|---|
committer | Richard Henderson | 2021-10-16 01:39:15 +0200 |
commit | 995b87dedc78b0467f5f18bbc3546072ba97516a (patch) | |
tree | 576984e72885c3c45e0ba8f82716f6c3f4fa4fb4 /include/hw | |
parent | target/xtensa: Drop check for singlestep_enabled (diff) | |
download | qemu-995b87dedc78b0467f5f18bbc3546072ba97516a.tar.gz qemu-995b87dedc78b0467f5f18bbc3546072ba97516a.tar.xz qemu-995b87dedc78b0467f5f18bbc3546072ba97516a.zip |
Revert "cpu: Move cpu_common_props to hw/core/cpu.c"
This reverts commit 1b36e4f5a5de585210ea95f2257839c2312be28f.
Despite a comment saying why cpu_common_props cannot be placed in
a file that is compiled once, it was moved anyway. Revert that.
Since then, Property is not defined in hw/core/cpu.h, so it is now
easier to declare a function to install the properties rather than
the Property array itself.
Cc: Eduardo Habkost <ehabkost@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/core/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index b7d5bc1200..1a10497af3 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -1008,6 +1008,7 @@ void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) GCC_FMT_ATTR(2, 3); /* $(top_srcdir)/cpu.c */ +void cpu_class_init_props(DeviceClass *dc); void cpu_exec_initfn(CPUState *cpu); void cpu_exec_realizefn(CPUState *cpu, Error **errp); void cpu_exec_unrealizefn(CPUState *cpu); |