aboutsummaryrefslogtreecommitdiff
path: root/target-info-stub.c
blob: 773a10188c882dac84580795f3c53569846f11b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * QEMU target info stubs (target specific)
 *
 *  Copyright (c) Linaro
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "qemu/osdep.h"
#include "qemu/target-info.h"
#include "qemu/target-info-impl.h"
#include "cpu.h"

static const TargetInfo target_info_stub = {
    .target_name = TARGET_NAME,
};

const TargetInfo *target_info(void)
{
    return &target_info_stub;
}

const char *target_cpu_type(void)
{
    return CPU_RESOLVING_TYPE;
}