From 852e82f303884139ba59f7f26e761d937a25fa55 Mon Sep 17 00:00:00 2001 From: Artyom Tarasenko Date: Sat, 27 Apr 2013 07:55:11 +0200 Subject: sparc64: allow 64 IRQ lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to UltraSPARC™-IIi User’s Manual, PBM has 64 IRQ lines. Signed-off-by: Artyom Tarasenko Signed-off-by: Blue Swirl --- hw/pci-host/apb.c | 2 +- hw/sparc64/sun4u.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hw') diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index b4981d7005..3bc0d10940 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 0d29620094..5c2bbd44f5 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 -- cgit v1.2.1