xref: /openbmc/qemu/semihosting/user.c (revision 8201f1a29c95bca095bdd6e6c6eba42d8d06499b)
1 /*
2  * Semihosting for user emulation
3  *
4  * Copyright (c) 2019 Linaro Ltd
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #include "qemu/osdep.h"
10 #include "semihosting/semihost.h"
11 
12 bool semihosting_enabled(bool is_user)
13 {
14     assert(is_user);
15     return true;
16 }
17 
18 SemihostingTarget semihosting_get_target(void)
19 {
20     return SEMIHOSTING_TARGET_AUTO;
21 }
22