Browse Source
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>pull/305/head
committed by
Alex Bennée
6 changed files with 58 additions and 33 deletions
@ -0,0 +1,19 @@ |
|||
/*
|
|||
* 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(); |
|||
} |
|||
Loading…
Reference in new issue