xref: /qemu/semihosting/user.c (revision b103cc6e74ac92f070a0e004bd84334e845c20b5)
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