aboutsummaryrefslogtreecommitdiff
path: root/hw/alpha/typhoon.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-08 15:46:37 -0700
committerRichard Henderson <rth@twiddle.net>2013-07-13 16:00:51 -0700
commit3661049fec64ffd7ab008e57e396881c6a4b53a4 (patch)
treeafe4553fa171b400785e729a1ed5f865ee244a02 /hw/alpha/typhoon.c
parent056e6bae1c91f47165d962564f82f5176bae47f0 (diff)
hw/alpha: Don't machine check on missing pci i/o
Not really correct, but we don't implement all of the random devices that the kernel looks for. This is good enough to keep us booting. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'hw/alpha/typhoon.c')
-rw-r--r--hw/alpha/typhoon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/alpha/typhoon.c b/hw/alpha/typhoon.c
index 9dac9df104..69e2255792 100644
--- a/hw/alpha/typhoon.c
+++ b/hw/alpha/typhoon.c
@@ -764,7 +764,8 @@ PCIBus *typhoon_init(ram_addr_t ram_size, ISABus **isa_bus,
&s->pchip.reg_mem);
/* Pchip0 PCI I/O, 0x801.FC00.0000, 32MB. */
- memory_region_init(&s->pchip.reg_io, OBJECT(s), "pci0-io", 32*MB);
+ memory_region_init_io(&s->pchip.reg_io, OBJECT(s), &alpha_pci_ignore_ops,
+ NULL, "pci0-io", 32*MB);
memory_region_add_subregion(addr_space, 0x801fc000000ULL,
&s->pchip.reg_io);