blob: 16fdca7aaaf717bb4fea149e09a55b7c525d7621 [file] [log] [blame]
Philippe Mathieu-Daudé3d881162025-03-23 12:47:37 +01001/*
2 * QEMU target info helpers
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
13const char *target_name(void)
14{
15 return target_info()->target_name;
16}
Philippe Mathieu-Daudé28502122025-03-23 22:46:34 +010017
Philippe Mathieu-Daudéc1be1352025-03-23 13:20:24 +010018unsigned target_long_bits(void)
19{
20 return target_info()->long_bits;
21}
22
Philippe Mathieu-Daudéb113dfa2025-04-29 20:18:03 +020023const char *target_cpu_type(void)
24{
25 return target_info()->cpu_type;
26}
27
Philippe Mathieu-Daudé28502122025-03-23 22:46:34 +010028const char *target_machine_typename(void)
29{
30 return target_info()->machine_typename;
31}