qemu/target_info: Add %target_cpu_type field to TargetInfo

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-04-29 20:18:03 +02:00 committed by Richard Henderson
parent 28502121be
commit b113dfa081
3 changed files with 8 additions and 5 deletions

View file

@ -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;