mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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
This commit is contained in:
parent
ad768e6f2a
commit
15e09912b7
11 changed files with 36 additions and 16 deletions
|
@ -40,6 +40,7 @@ extern int madvise(char *, size_t, int);
|
|||
#include "qemu/error-report.h"
|
||||
#include "qemu/madvise.h"
|
||||
#include "qemu/mprotect.h"
|
||||
#include "qemu/hw-version.h"
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
static bool fips_enabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue