aboutsummaryrefslogtreecommitdiff
path: root/semihosting/user.c
blob: 98c144cb456d131e1ad041878bfc2c242d464b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Semihosting for user emulation
 *
 * Copyright (c) 2019 Linaro Ltd
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "qemu/osdep.h"
#include "semihosting/semihost.h"

bool semihosting_enabled(bool is_user)
{
    assert(is_user);
    return true;
}

SemihostingTarget semihosting_get_target(void)
{
    return SEMIHOSTING_TARGET_AUTO;
}