mirror of
https://github.com/qemu/qemu.git
synced 2025-07-24 10:00:21 +00:00

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
354 B
C
22 lines
354 B
C
/*
|
|
* Semihosting for user emulation
|
|
*
|
|
* Copyright (c) 2019 Linaro Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "semihosting/semihost.h"
|
|
|
|
bool semihosting_enabled(bool is_user)
|
|
{
|
|
assert(is_user);
|
|
return true;
|
|
}
|
|
|
|
SemihostingTarget semihosting_get_target(void)
|
|
{
|
|
return SEMIHOSTING_TARGET_AUTO;
|
|
}
|