Re: [PATCH v3 13/13] hw/arm/raspi: Extract the cores count from the board revision

2020-02-10 Thread Igor Mammedov
On Sat, 8 Feb 2020 17:56:45 +0100 Philippe Mathieu-Daudé wrote: > The board revision encode the count of ARM cores. Add a helper s/encode/encodes/ Or better the count of ARM cores is encoded in ... > to extract the number of cores, and use it. This will be helpful > when we add the Raspi0/1 th

[PATCH v3 13/13] hw/arm/raspi: Extract the cores count from the board revision

2020-02-08 Thread Philippe Mathieu-Daudé
The board revision encode the count of ARM cores. 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é --- hw/arm/raspi.c | 19 --- 1 file changed, 16 insertions(+), 3