mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
hw: Make MachineClass::is_default a boolean type
There's no good reason for it to be type int, change it to bool. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200207161948.15972-3-philmd@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
abcbc4eeca
commit
ea0ac7f6f8
20 changed files with 26 additions and 24 deletions
|
@ -295,7 +295,7 @@ static void lm32_evr_class_init(ObjectClass *oc, void *data)
|
|||
|
||||
mc->desc = "LatticeMico32 EVR32 eval system";
|
||||
mc->init = lm32_evr_init;
|
||||
mc->is_default = 1;
|
||||
mc->is_default = true;
|
||||
mc->default_cpu_type = LM32_CPU_TYPE_NAME("lm32-full");
|
||||
mc->default_ram_size = 64 * MiB;
|
||||
mc->default_ram_id = "lm32_evr.sdram";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue