Philippe Mathieu-Daudé | 3d88116 | 2025-03-23 12:47:37 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 13 | const char *target_name(void) |
| 14 | { |
| 15 | return target_info()->target_name; |
| 16 | } |
Philippe Mathieu-Daudé | 2850212 | 2025-03-23 22:46:34 +0100 | [diff] [blame^] | 17 | |
| 18 | const char *target_machine_typename(void) |
| 19 | { |
| 20 | return target_info()->machine_typename; |
| 21 | } |