2025-04-18 02:36:09 +02:00
|
|
|
/*
|
|
|
|
|
* QEMU binary/target API (qemu-system-aarch64)
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Linaro
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "qemu/osdep.h"
|
|
|
|
|
#include "qemu/target-info-impl.h"
|
2026-05-14 10:23:01 -07:00
|
|
|
#include "qemu/target-info-init.h"
|
2025-04-18 02:36:09 +02:00
|
|
|
#include "hw/arm/machines-qom.h"
|
|
|
|
|
#include "target/arm/cpu-qom.h"
|
2026-02-17 19:51:01 +10:00
|
|
|
#include "target/arm/cpu-param.h"
|
2025-04-18 02:36:09 +02:00
|
|
|
|
|
|
|
|
static const TargetInfo target_info_aarch64_system = {
|
|
|
|
|
.target_name = "aarch64",
|
|
|
|
|
.target_arch = SYS_EMU_TARGET_AARCH64,
|
|
|
|
|
.long_bits = 64,
|
|
|
|
|
.cpu_type = TYPE_ARM_CPU,
|
|
|
|
|
.machine_typename = TYPE_TARGET_AARCH64_MACHINE,
|
|
|
|
|
.endianness = ENDIAN_MODE_LITTLE,
|
2026-02-17 19:51:01 +10:00
|
|
|
.page_bits_vary = true,
|
|
|
|
|
.page_bits_init = TARGET_PAGE_BITS_LEGACY,
|
2025-04-18 02:36:09 +02:00
|
|
|
};
|
|
|
|
|
|
2026-05-14 10:23:01 -07:00
|
|
|
target_info_init(target_info_aarch64_system)
|