Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
24 lines
447 B
C
24 lines
447 B
C
/*
|
|
* Semihosting Stubs for all targets
|
|
*
|
|
* Copyright (c) 2023 Linaro Ltd
|
|
*
|
|
* Stubs for all targets that don't actually do semihosting.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "semihosting/semihost.h"
|
|
|
|
/* Queries to config status default to off */
|
|
bool semihosting_enabled(bool is_user)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
SemihostingTarget semihosting_get_target(void)
|
|
{
|
|
return SEMIHOSTING_TARGET_AUTO;
|
|
}
|