OSDN Git Service

raspi: Add "raspi3" machine type
authorPekka Enberg <penberg@iki.fi>
Thu, 22 Feb 2018 15:12:51 +0000 (15:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Feb 2018 15:12:51 +0000 (15:12 +0000)
commit1c3db49d39d66646ff546ec26f36e3b9040f3504
tree45f5916d5ab5fd036fcb53c8c31d375f99e5720c
parent36476562d57a3b64bbe86db26e63677dd21907c5
raspi: Add "raspi3" machine type

This patch adds a "raspi3" machine type, which can now be selected as
the machine to run on by users via the "-M" command line option to QEMU.

The machine type does *not* ignore memory transaction failures so we
likely need to add some dummy devices later when people run something
more complicated than what I'm using for testing.

Signed-off-by: Pekka Enberg <penberg@iki.fi>
[PMM: added #ifdef TARGET_AARCH64 so we don't provide the 64-bit
 board in the 32-bit only arm-softmmu build.]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c