qemu/target-info.c
Philippe Mathieu-Daudé c1be135ad5 qemu: Introduce target_long_bits()
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-04-30 12:51:51 -07:00

31 lines
515 B
C

/*
* QEMU target info helpers
*
* Copyright (c) Linaro
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "qemu/osdep.h"
#include "qemu/target-info.h"
#include "qemu/target-info-impl.h"
const char *target_name(void)
{
return target_info()->target_name;
}
unsigned target_long_bits(void)
{
return target_info()->long_bits;
}
const char *target_cpu_type(void)
{
return target_info()->cpu_type;
}
const char *target_machine_typename(void)
{
return target_info()->machine_typename;
}