1/* 2 * QEMU target info stubs (target specific) 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#include "hw/boards.h" 13#include "cpu.h" 14 15static const TargetInfo target_info_stub = { 16 .target_name = TARGET_NAME, 17 .target_arch = SYS_EMU_TARGET__MAX, 18 .long_bits = TARGET_LONG_BITS, 19 .cpu_type = CPU_RESOLVING_TYPE, 20 .machine_typename = TYPE_MACHINE, 21 .endianness = TARGET_BIG_ENDIAN ? ENDIAN_MODE_BIG : ENDIAN_MODE_LITTLE, 22}; 23 24const TargetInfo *target_info(void) 25{ 26 return &target_info_stub; 27} 28

