hw/riscv/spike: Allow more than one CPUs
authorAnup Patel <anup.patel@wdc.com>
Mon, 27 Apr 2020 08:06:44 +0000 (13:36 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 29 Apr 2020 20:16:38 +0000 (13:16 -0700)
commit31e6d70485b1a719ca27e9a2d21f2a61ac497cdf
tree52324705866dabc855d041a1b7ae068ee3a9b14d
parent5b8a986350a9ee2d9d95a76c29017c3c603bb350
hw/riscv/spike: Allow more than one CPUs

Currently, the upstream Spike ISA simulator allows more than
one CPUs so we update QEMU Spike machine on similar lines to
allow more than one CPUs.

The maximum number of CPUs for QEMU Spike machine is kept
same as QEMU Virt machine.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200427080644.168461-4-anup.patel@wdc.com
Message-Id: <20200427080644.168461-4-anup.patel@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/spike.c