summaryrefslogtreecommitdiffstats
path: root/hw/sh4
diff options
context:
space:
mode:
authorPeter Maydell2020-03-02 10:37:06 +0100
committerPeter Maydell2020-03-02 10:37:06 +0100
commita4c7ed8b89e8919ddb71c78c4f42b8fdc455ac27 (patch)
tree06d62e3a633ee467010a132133c8fbe33305598b /hw/sh4
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200228'... (diff)
parentvl: Abort if multiple machines are registered as default (diff)
downloadqemu-a4c7ed8b89e8919ddb71c78c4f42b8fdc455ac27.tar.gz
qemu-a4c7ed8b89e8919ddb71c78c4f42b8fdc455ac27.tar.xz
qemu-a4c7ed8b89e8919ddb71c78c4f42b8fdc455ac27.zip
Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging
Machine queue, 2020-02-28 Cleanups: * Fix NMI() macro (Philippe Mathieu-Daudé) * Make MachineClass::is_default boolean, refuse multiple default machines (Philippe Mathieu-Daudé) # gpg: Signature made Fri 28 Feb 2020 21:03:20 GMT # gpg: using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6 # gpg: issuer "ehabkost@redhat.com" # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full] # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF D1AA 2807 936F 984D C5A6 * remotes/ehabkost/tags/machine-next-pull-request: vl: Abort if multiple machines are registered as default hw: Make MachineClass::is_default a boolean type hw: Do not initialize MachineClass::is_default to 0 hw/nmi: Fix the NMI() macro, based on INTERFACE_CHECK() Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/sh4')
-rw-r--r--hw/sh4/shix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh4/shix.c b/hw/sh4/shix.c
index 2fc2915428..68b14ee5e7 100644
--- a/hw/sh4/shix.c
+++ b/hw/sh4/shix.c
@@ -82,7 +82,7 @@ static void shix_machine_init(MachineClass *mc)
{
mc->desc = "shix card";
mc->init = shix_init;
- mc->is_default = 1;
+ mc->is_default = true;
mc->default_cpu_type = TYPE_SH7750R_CPU;
}