aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-04 23:59:27 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-11 20:03:26 +0100
commit44ac8eaff00735655401e7d899282875da568fa3 (patch)
tree3011e30d995e3b3dc98e4d92e7bb5641ece8f91f /include
parent5dc4337f7908606865f48e476e36482579e1183f (diff)
downloadqemu-44ac8eaff00735655401e7d899282875da568fa3.zip
qemu-44ac8eaff00735655401e7d899282875da568fa3.tar.gz
qemu-44ac8eaff00735655401e7d899282875da568fa3.tar.bz2
system: Replace arch_type global by qemu_arch_available() helper
qemu_arch_available() is a bit simpler to understand while reviewing than the undocumented arch_type variable. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250305005225.95051-5-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/system/arch_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system/arch_init.h b/include/system/arch_init.h
index d8b7744..51e24c3 100644
--- a/include/system/arch_init.h
+++ b/include/system/arch_init.h
@@ -25,6 +25,6 @@ enum {
QEMU_ARCH_LOONGARCH = (1 << 23),
};
-extern const uint32_t arch_type;
+bool qemu_arch_available(unsigned qemu_arch_mask);
#endif