master
c 23 lines 447 Bytes
Raw
1 /*
2 * Semihosting Stubs for all targets
3 *
4 * Copyright (c) 2023 Linaro Ltd
5 *
6 * Stubs for all targets that don't actually do semihosting.
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #include "qemu/osdep.h"
12 #include "semihosting/semihost.h"
13
14 /* Queries to config status default to off */
15 bool semihosting_enabled(bool is_user)
16 {
17 return false;
18 }
19
20 SemihostingTarget semihosting_get_target(void)
21 {
22 return SEMIHOSTING_TARGET_AUTO;
23 }