ppc: Fix OpenPIC model
commit58b62835863db2164002ad843455045c29bcb029
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 17 Sep 2017 17:15:46 +0000 (17 18:15 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Sep 2017 03:05:41 +0000 (27 13:05 +1000)
tree8d934793f200c8c5748867fa7d4f3bf5a63d6775
parent4f7265ff177df2886ccaed0bca318dc81a7f5e75
ppc: Fix OpenPIC model

Apple uses an IBM MPIC2A without timers, it has 64 sources.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/openpic.c
hw/ppc/mac_newworld.c
include/hw/ppc/openpic.h