mirror of
https://github.com/qemu/qemu.git
synced 2025-09-28 02:24:42 +00:00

We move relevant code to semihosting/arm-compat-semi.c, and add functions to query CONFIG_ARM_COMPATIBLE_SEMIHOSTING at runtime. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20250822150058.18692-4-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20250922093711.2768983-7-alex.bennee@linaro.org>
20 lines
311 B
C
20 lines
311 B
C
/*
|
|
* Stubs for platforms different from ARM
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "semihosting/semihost.h"
|
|
#include <glib.h>
|
|
|
|
bool semihosting_arm_compatible(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void semihosting_arm_compatible_init(void)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|