xref: /qemu/target-info-stub.c (revision 7cef6d686309e2792186504ae17cf4f3eb57ef68)
1 /*
2  * QEMU target info stubs (target specific)
3  *
4  *  Copyright (c) Linaro
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #include "qemu/osdep.h"
10 #include "qemu/target-info.h"
11 #include "qemu/target-info-impl.h"
12 #include "hw/boards.h"
13 #include "cpu.h"
14 
15 static const TargetInfo target_info_stub = {
16     .target_name = TARGET_NAME,
17     .long_bits = TARGET_LONG_BITS,
18     .cpu_type = CPU_RESOLVING_TYPE,
19     .machine_typename = TYPE_MACHINE,
20 };
21 
target_info(void)22 const TargetInfo *target_info(void)
23 {
24     return &target_info_stub;
25 }
26