mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge tag 'single-binary-20251030' of https://github.com/philmd/qemu into staging
Various patches related to single binary work: - Make hw/arm/ common by adding a QOM type to machines to tag in which binary (32 or 64-bit) they can be used. Convert the Virt and SBSA-Ref machines. - Build Xen files once # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmkDbS4ACgkQ4+MsLN6t # wN7LOQ/9HQSArWumcPtJNjfdKyN4BI+evdJuIsJlGnVirZzAShd/aA3emeVoIQXf # kb1xAJvbL6IryasuFFrWJjLKAdTk8RgTzbDwSS07dEvNE/fVo22OarBfusrO+/fJ # 6da3j08gwb0EV9m8eUbTwuRBxIF/tnPzZMzyRwx23b4wRb4jnIsshutHX9/hoZBj # 8cdCJx284EZgj5gLTmk+jEyPEU+miKpnHWqpxSKZCXg7UfzXH34gOo6IBZIzylZs # kJqcPXaJHF//ISMQQGzl7k1GNyr1fZZBIuCd7zdOIBntWjb45g/7lEKTGFaVrR5Y # yqaUsNZNj8z3ESA4y42RUPSYAvjwGh+AKafZiHE6K7Oa/WIjeqfr33GHNSMrDYk1 # UDz4o6/VhA/T7VaQjcd/IG9vYsF3jwjhbXQRa1xXKxhuIC0PzEKxpyWo3mAIEfm8 # 7vw90xx4no29WsUpKi6kyplJ/fq9o3h0kWpd6fYlJQsCtwVZFLT9UeBVIQHrfGec # xkJx/L1OZFzym8Y4bcj0/V4zRJyvyuKK30+bFvu0fKcNR3uijKUjYcQHYg04fSG9 # PgQtCgHxwdbO8vCwHf0WIVtOhqC0aOgtE10jh9HdLG07Ef5K1JBkE90XX27rCOV3 # rAVo/czNnHpx2j0kRGpyRlz9M/eqOVcz4z3TFzKOFPEEumvz1MM= # =Ncy4 # -----END PGP SIGNATURE----- # gpg: Signature made Thu 30 Oct 2025 02:50:38 PM CET # gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'single-binary-20251030' of https://github.com/philmd/qemu: (23 commits) hw/riscv: Replace target_ulong uses hw/xen: Build only once hw/xen: Replace target_ulong by agnostic target_long_bits() hw/xen: Use BITS_PER_BYTE & MAKE_64BIT_MASK() in req_size_bits() hw/arm/meson: Move Xen files to arm_common_ss[] hw/arm/virt: Build only once hw/arm/virt-acpi-build: Build only once hw/arm/virt-acpi-build: Include missing 'cpu.h' header hw/arm/sbsa-ref: Build only once hw/arm/sbsa-ref: Include missing 'cpu.h' header hw/arm/virt: Get default CPU type at runtime hw/arm/virt: Replace TARGET_AARCH64 -> target_aarch64() qemu/target_info: Add target_base_arm() helper qemu/target_info: Add target_aarch64() helper qemu/target_info: Add target_arm() helper hw/arm/virt: Check accelerator availability at runtime hw/arm/virt: Register valid CPU types dynamically config/target: Implement per-binary TargetInfo structure (ARM, AARCH64) meson: Prepare to accept per-binary TargetInfo structure implementation hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries ... Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -2007,6 +2007,7 @@ M: Philippe Mathieu-Daudé <philmd@linaro.org>
|
||||
S: Supported
|
||||
F: include/qemu/target-info*.h
|
||||
F: target-info*.c
|
||||
F: configs/targets/*.c
|
||||
|
||||
Xtensa Machines
|
||||
---------------
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "target/arm/cpu-qom.h"
|
||||
|
||||
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,
|
||||
};
|
||||
|
||||
const TargetInfo *target_info(void)
|
||||
{
|
||||
return &target_info_aarch64_system;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* QEMU binary/target API (qemu-system-arm)
|
||||
*
|
||||
* Copyright (c) Linaro
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/target-info-impl.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "target/arm/cpu-qom.h"
|
||||
|
||||
static const TargetInfo target_info_arm_system = {
|
||||
.target_name = "arm",
|
||||
.target_arch = SYS_EMU_TARGET_ARM,
|
||||
.long_bits = 32,
|
||||
.cpu_type = TYPE_ARM_CPU,
|
||||
.machine_typename = TYPE_TARGET_ARM_MACHINE,
|
||||
.endianness = ENDIAN_MODE_LITTLE,
|
||||
};
|
||||
|
||||
const TargetInfo *target_info(void)
|
||||
{
|
||||
return &target_info_arm_system;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
foreach target : [
|
||||
'arm-softmmu', 'aarch64-softmmu',
|
||||
]
|
||||
config_target_info += {target : files(target + '.c')}
|
||||
endforeach
|
||||
+26
-1
@@ -15,6 +15,7 @@
|
||||
#include "hw/arm/aspeed.h"
|
||||
#include "hw/arm/aspeed_soc.h"
|
||||
#include "hw/arm/aspeed_eeprom.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "hw/i2c/i2c_mux_pca954x.h"
|
||||
#include "hw/i2c/smbus_eeprom.h"
|
||||
@@ -1967,99 +1968,123 @@ static const TypeInfo aspeed_machine_types[] = {
|
||||
.name = MACHINE_TYPE_NAME("palmetto-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_palmetto_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("supermicrox11-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_supermicrox11_bmc_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("supermicro-x11spi-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_supermicro_x11spi_bmc_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("ast2500-evb"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_ast2500_evb_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("romulus-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_romulus_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("sonorapass-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_sonorapass_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("witherspoon-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_witherspoon_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("ast2600-evb"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_ast2600_evb_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("yosemitev2-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_yosemitev2_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("tiogapass-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_tiogapass_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("g220a-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_g220a_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("qcom-dc-scm-v1-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_qcom_dc_scm_v1_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("qcom-firework-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_qcom_firework_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("fp5280g2-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_fp5280g2_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("quanta-q71l-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_quanta_q71l_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("rainier-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_rainier_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("fuji-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_fuji_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("bletchley-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_bletchley_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("gb200nvl-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_gb200nvl_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("catalina-bmc"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_catalina_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("fby35-bmc"),
|
||||
.parent = MACHINE_TYPE_NAME("ast2600-evb"),
|
||||
.class_init = aspeed_machine_fby35_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("ast1030-evb"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_minibmc_machine_ast1030_evb_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
#ifdef TARGET_AARCH64
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("ast2700a0-evb"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_ast2700a0_evb_class_init,
|
||||
}, {
|
||||
.interfaces = aarch64_machine_interfaces,
|
||||
}, {
|
||||
.name = MACHINE_TYPE_NAME("ast2700a1-evb"),
|
||||
.parent = TYPE_ASPEED_MACHINE,
|
||||
.class_init = aspeed_machine_ast2700a1_evb_class_init,
|
||||
.interfaces = aarch64_machine_interfaces,
|
||||
#endif
|
||||
}, {
|
||||
.name = TYPE_ASPEED_MACHINE,
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "hw/arm/aspeed_coprocessor.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
|
||||
#define TYPE_AST2700A1FC MACHINE_TYPE_NAME("ast2700fc")
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(Ast2700FCState, AST2700A1FC);
|
||||
@@ -220,6 +221,7 @@ static const TypeInfo ast2700fc_types[] = {
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = ast2700fc_class_init,
|
||||
.instance_size = sizeof(Ast2700FCState),
|
||||
.interfaces = aarch64_machine_interfaces,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/core/split-irq.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/arm/stm32l4x5_soc.h"
|
||||
#include "hw/gpio/stm32l4x5_gpio.h"
|
||||
#include "hw/display/dm163.h"
|
||||
@@ -131,6 +132,7 @@ static const TypeInfo bl475e_machine_type[] = {
|
||||
.parent = TYPE_MACHINE,
|
||||
.instance_size = sizeof(Bl475eMachineState),
|
||||
.class_init = bl475e_machine_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/arm/allwinner-r40.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
|
||||
static struct arm_boot_info bpim2u_binfo;
|
||||
|
||||
@@ -144,4 +145,4 @@ static void bpim2u_machine_init(MachineClass *mc)
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("bpim2u", bpim2u_machine_init)
|
||||
DEFINE_MACHINE_ARM("bpim2u", bpim2u_machine_init)
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "hw/boards.h"
|
||||
#include "strongarm.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "qom/object.h"
|
||||
@@ -86,6 +87,7 @@ static const TypeInfo collie_machine_typeinfo = {
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = collie_machine_class_init,
|
||||
.instance_size = sizeof(CollieMachineState),
|
||||
.interfaces = arm_machine_interfaces,
|
||||
};
|
||||
|
||||
static void collie_machine_register_types(void)
|
||||
|
||||
+2
-1
@@ -22,6 +22,7 @@
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/arm/allwinner-a10.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/i2c/i2c.h"
|
||||
|
||||
static struct arm_boot_info cubieboard_binfo = {
|
||||
@@ -125,4 +126,4 @@ static void cubieboard_machine_init(MachineClass *mc)
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("cubieboard", cubieboard_machine_init)
|
||||
DEFINE_MACHINE_ARM("cubieboard", cubieboard_machine_init)
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/arm/digic.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "hw/loader.h"
|
||||
#include "system/qtest.h"
|
||||
@@ -145,4 +146,4 @@ static void canon_a1100_machine_init(MachineClass *mc)
|
||||
mc->default_ram_id = "ram";
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init)
|
||||
DEFINE_MACHINE_ARM("canon-a1100", canon_a1100_machine_init)
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "hw/arm/exynos4210.h"
|
||||
#include "hw/net/lan9118.h"
|
||||
@@ -172,6 +173,7 @@ static const TypeInfo nuri_type = {
|
||||
.name = MACHINE_TYPE_NAME("nuri"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = nuri_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
};
|
||||
|
||||
static void smdkc210_class_init(ObjectClass *oc, const void *data)
|
||||
@@ -192,6 +194,7 @@ static const TypeInfo smdkc210_type = {
|
||||
.name = MACHINE_TYPE_NAME("smdkc210"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = smdkc210_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
};
|
||||
|
||||
static void exynos4_machines_init(void)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "hw/qdev-clock.h"
|
||||
#include "hw/arm/aspeed_soc.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
|
||||
#define TYPE_FBY35 MACHINE_TYPE_NAME("fby35")
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(Fby35State, FBY35);
|
||||
@@ -194,6 +195,7 @@ static const TypeInfo fby35_types[] = {
|
||||
.class_init = fby35_class_init,
|
||||
.instance_size = sizeof(Fby35State),
|
||||
.instance_init = fby35_instance_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/loader.h"
|
||||
#include "net/net.h"
|
||||
#include "system/runstate.h"
|
||||
@@ -365,6 +366,7 @@ static const TypeInfo highbank_type = {
|
||||
.name = MACHINE_TYPE_NAME("highbank"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = highbank_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
};
|
||||
|
||||
static void midway_class_init(ObjectClass *oc, const void *data)
|
||||
@@ -390,6 +392,7 @@ static const TypeInfo midway_type = {
|
||||
.name = MACHINE_TYPE_NAME("midway"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = midway_class_init,
|
||||
.interfaces = arm_machine_interfaces,
|
||||
};
|
||||
|
||||
static void calxeda_machines_init(void)
|
||||
|
||||
+2
-1
@@ -28,6 +28,7 @@
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/arm/fsl-imx25.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "system/qtest.h"
|
||||
@@ -150,4 +151,4 @@ static void imx25_pdk_machine_init(MachineClass *mc)
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init)
|
||||
DEFINE_MACHINE_ARM("imx25-pdk", imx25_pdk_machine_init)
|
||||
|
||||
+3
-1
@@ -10,6 +10,7 @@
|
||||
#include "system/address-spaces.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/fsl-imx8mp.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "system/qtest.h"
|
||||
@@ -100,4 +101,5 @@ static void imx8mp_evk_machine_init(MachineClass *mc)
|
||||
mc->max_cpus = FSL_IMX8MP_NUM_CPUS;
|
||||
mc->default_ram_id = "imx8mp-evk.ram";
|
||||
}
|
||||
DEFINE_MACHINE("imx8mp-evk", imx8mp_evk_machine_init)
|
||||
|
||||
DEFINE_MACHINE_AARCH64("imx8mp-evk", imx8mp_evk_machine_init)
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/misc/arm_integrator_debug.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "net/net.h"
|
||||
@@ -693,7 +694,7 @@ static void integratorcp_machine_init(MachineClass *mc)
|
||||
machine_add_audiodev_property(mc);
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("integratorcp", integratorcp_machine_init)
|
||||
DEFINE_MACHINE_ARM("integratorcp", integratorcp_machine_init)
|
||||
|
||||
static const Property core_properties[] = {
|
||||
DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0),
|
||||
|
||||
+2
-1
@@ -17,6 +17,7 @@
|
||||
#include "qapi/error.h"
|
||||
#include "hw/arm/fsl-imx31.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "system/address-spaces.h"
|
||||
@@ -139,4 +140,4 @@ static void kzm_machine_init(MachineClass *mc)
|
||||
mc->default_ram_id = "kzm.ram";
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("kzm", kzm_machine_init)
|
||||
DEFINE_MACHINE_ARM("kzm", kzm_machine_init)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "qapi/error.h"
|
||||
#include "hw/arm/fsl-imx6ul.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "qemu/error-report.h"
|
||||
@@ -76,4 +77,5 @@ static void mcimx6ul_evk_machine_init(MachineClass *mc)
|
||||
mc->default_ram_id = "mcimx6ul-evk.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init)
|
||||
|
||||
DEFINE_MACHINE_ARM("mcimx6ul-evk", mcimx6ul_evk_machine_init)
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "qapi/error.h"
|
||||
#include "hw/arm/fsl-imx7.h"
|
||||
#include "hw/arm/boot.h"
|
||||
#include "hw/arm/machines-qom.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "qemu/error-report.h"
|
||||
@@ -76,4 +77,5 @@ static void mcimx7d_sabre_machine_init(MachineClass *mc)
|
||||
mc->default_ram_id = "mcimx7d-sabre.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
DEFINE_MACHINE("mcimx7d-sabre", mcimx7d_sabre_machine_init)
|
||||
|
||||
DEFINE_MACHINE_ARM("mcimx7d-sabre", mcimx7d_sabre_machine_init)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user