diff options
author | Artyom Tarasenko <atar4qemu@gmail.com> | 2013-04-27 07:55:11 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-04-27 10:35:30 +0000 |
commit | 852e82f303884139ba59f7f26e761d937a25fa55 (patch) | |
tree | 3cd3b59bdd36f4ed11d431ea0f31e442283bf502 | |
parent | 96fbd7de3656583d647c204c4138bbdcc3e35d2b (diff) | |
download | hqemu-852e82f303884139ba59f7f26e761d937a25fa55.zip hqemu-852e82f303884139ba59f7f26e761d937a25fa55.tar.gz |
sparc64: allow 64 IRQ lines
According to UltraSPARC™-IIi User’s Manual, PBM has 64 IRQ lines.
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/pci-host/apb.c | 2 | ||||
-rw-r--r-- | 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 |