blob: 98c144cb456d131e1ad041878bfc2c242d464b7f [file] [log] [blame]
Richard Hendersond0b4cfa2025-03-12 17:16:05 -07001/*
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
12bool semihosting_enabled(bool is_user)
13{
Richard Henderson17a71e82025-03-20 16:09:51 -070014 assert(is_user);
Richard Hendersond0b4cfa2025-03-12 17:16:05 -070015 return true;
16}
17
18SemihostingTarget semihosting_get_target(void)
19{
20 return SEMIHOSTING_TARGET_AUTO;
21}