mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
Set the MicroBlaze CPU version to 7.10.d avoiding a runtime warning due to an unset CPU version. Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
263699432c
commit
ad24f947be
@ -66,6 +66,7 @@ petalogix_s3adsp1800_init(MachineState *machine)
|
||||
MemoryRegion *sysmem = get_system_memory();
|
||||
|
||||
cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU));
|
||||
object_property_set_str(OBJECT(cpu), "7.10.d", "version", &error_abort);
|
||||
object_property_set_bool(OBJECT(cpu), true, "realized", &error_abort);
|
||||
|
||||
/* Attach emulated BRAM through the LMB. */
|
||||
|
Loading…
Reference in New Issue
Block a user