summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-02-08 17:56:45 +0100
committerPeter Maydell2020-02-13 15:30:51 +0100
commit759f0f87e34fe63a475d926ea6db88d11d2cd018 (patch)
treeaa8902774aa5cbe502e3b8575c61e62c709c0ffa /include
parenthw/arm/raspi: Use a unique raspi_machine_class_init() method (diff)
downloadqemu-759f0f87e34fe63a475d926ea6db88d11d2cd018.tar.gz
qemu-759f0f87e34fe63a475d926ea6db88d11d2cd018.tar.xz
qemu-759f0f87e34fe63a475d926ea6db88d11d2cd018.zip
hw/arm/raspi: Extract the cores count from the board revision
The count of ARM cores is encoded in the board revision. Add a helper to extract the number of cores, and use it. This will be helpful when we add the Raspi0/1 that have a single core. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200208165645.15657-14-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: tweaked commit message as suggested by Igor] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions