mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-26 03:21:50 -06:00
hw/arm: Set the core count for Xilinx's ZynqMP
Set the ARM CPU core count property for the A53's attached to the Xilnx ZynqMP machine. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: fe0dd90b85ac73f9fc9548c253bededa70a07006.1520018138.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
f9a697112e
commit
8f2ba1f278
1 changed files with 2 additions and 0 deletions
|
@ -282,6 +282,8 @@ static void xlnx_zynqmp_realize(DeviceState *dev, Error **errp)
|
||||||
s->virt, "has_el2", NULL);
|
s->virt, "has_el2", NULL);
|
||||||
object_property_set_int(OBJECT(&s->apu_cpu[i]), GIC_BASE_ADDR,
|
object_property_set_int(OBJECT(&s->apu_cpu[i]), GIC_BASE_ADDR,
|
||||||
"reset-cbar", &error_abort);
|
"reset-cbar", &error_abort);
|
||||||
|
object_property_set_int(OBJECT(&s->apu_cpu[i]), num_apus,
|
||||||
|
"core-count", &error_abort);
|
||||||
object_property_set_bool(OBJECT(&s->apu_cpu[i]), true, "realized",
|
object_property_set_bool(OBJECT(&s->apu_cpu[i]), true, "realized",
|
||||||
&err);
|
&err);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue