aboutsummaryrefslogtreecommitdiff
path: root/semihosting/stubs-all.c
blob: c001c845749e0205ff236a0b10afc307a18ccf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Semihosting Stubs for all targets
 *
 * Copyright (c) 2023 Linaro Ltd
 *
 * Stubs for all targets that don't actually do semihosting.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

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

/* Queries to config status default to off */
bool semihosting_enabled(bool is_user)
{
    return false;
}

SemihostingTarget semihosting_get_target(void)
{
    return SEMIHOSTING_TARGET_AUTO;
}