diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-29 20:18:03 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 12:51:51 -0700 |
| commit | b113dfa081a6a7e061551a70e6ede7af0941a845 (patch) | |
| tree | 1398a750b534b329320256532be352b9877a79d3 /target-info.c | |
| parent | 28502121be7b1422af55bbed6f65a273b889ef01 (diff) | |
| download | focaccia-qemu-b113dfa081a6a7e061551a70e6ede7af0941a845.tar.gz focaccia-qemu-b113dfa081a6a7e061551a70e6ede7af0941a845.zip | |
qemu/target_info: Add %target_cpu_type field to TargetInfo
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'target-info.c')
| -rw-r--r-- | target-info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-info.c b/target-info.c index 0042769e3a..5f5ef1f932 100644 --- a/target-info.c +++ b/target-info.c @@ -15,6 +15,11 @@ const char *target_name(void) return target_info()->target_name; } +const char *target_cpu_type(void) +{ + return target_info()->cpu_type; +} + const char *target_machine_typename(void) { return target_info()->machine_typename; |