According to UltraSPARC™-IIi User’s Manual, PBM has 64 IRQ lines. Signed-off-by: Artyom Tarasenko <atar4q...@gmail.com> --- hw/pci-host/apb.c | 2 +- hw/sparc64/sun4u.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index b4981d7..3bc0d10 100644 --- a/hw/pci-host/apb.c +++ b/hw/pci-host/apb.c @@ -66,7 +66,7 @@ do { printf("APB: " fmt , ## __VA_ARGS__); } while (0) #define RESET_WCMASK 0x98000000 #define RESET_WMASK 0x60000000 -#define MAX_IVEC 0x30 +#define MAX_IVEC 0x40 typedef struct APBState { SysBusDevice busdev; diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 0d29620..5c2bbd4 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -81,7 +81,7 @@ #define FW_CFG_SPARC64_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) #define FW_CFG_SPARC64_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) -#define IVEC_MAX 0x30 +#define IVEC_MAX 0x40 #define TICK_MAX 0x7fffffffffffffffULL -- 1.7.1