qemu/target_info: Add %target_cpu_type field to TargetInfo
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
28502121be
commit
b113dfa081
3 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue