summaryrefslogtreecommitdiffstats
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-29 18:24:38 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-29 18:24:38 +0000
commitada24f846650ad2e64c92178d233e380db141427 (patch)
tree09d14b0e3c763cbf8dc7c3ee2dd7cffdbaa17047 /hw/sun4m.c
parente44a3e798a18e872d52d1d860201971095e31047 (diff)
downloadhqemu-ada24f846650ad2e64c92178d233e380db141427.zip
hqemu-ada24f846650ad2e64c92178d233e380db141427.tar.gz
Fix SS-2 crash
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index c053ab0..697c76d 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -693,7 +693,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, ram_addr_t RAM_size,
slavio_serial_init(hwdef->serial_base, slavio_irq[hwdef->ser_irq],
serial_hds[1], serial_hds[0]);
- slavio_misc = slavio_misc_init(-1, hwdef->apc_base,
+ slavio_misc = slavio_misc_init(0, hwdef->apc_base,
hwdef->aux1_base, hwdef->aux2_base,
slavio_irq[hwdef->me_irq], env, &fdc_tc);
OpenPOWER on IntegriCloud