diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-02-08 20:08:56 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-02-21 13:30:20 +0000 |
commit | 15e09912b74c01bf8a8eebb4e61f4d0dbfe74513 (patch) | |
tree | e0ba25f81f6badae686aa0a7ca510a056c0361f7 /target/i386/cpu.c | |
parent | ad768e6f2a3397ec88ae874ad743df5d7c8c1936 (diff) | |
download | qemu-15e09912b74c01bf8a8eebb4e61f4d0dbfe74513.zip qemu-15e09912b74c01bf8a8eebb4e61f4d0dbfe74513.tar.gz qemu-15e09912b74c01bf8a8eebb4e61f4d0dbfe74513.tar.bz2 |
include: Move hardware version declarations to new qemu/hw-version.h
The "hardware version" machinery (qemu_set_hw_version(),
qemu_hw_version(), and the QEMU_HW_VERSION define) is used by fewer
than 10 files. Move it out from osdep.h into a new
qemu/hw-version.h.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220208200856.3558249-6-peter.maydell@linaro.org
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r-- | target/i386/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index aa9e636..c9954df 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -21,6 +21,7 @@ #include "qemu/units.h" #include "qemu/cutils.h" #include "qemu/qemu-print.h" +#include "qemu/hw-version.h" #include "cpu.h" #include "tcg/helper-tcg.h" #include "sysemu/reset.h" |