[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [FYI 4/4] prep: Quickfix for ioport
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [FYI 4/4] prep: Quickfix for ioport |
Date: |
Tue, 14 Dec 2010 01:49:18 +0100 |
Workaround the following error:
qemu: hardware error: register_ioport_read: invalid opaque
Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
hw/ppc_prep.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 3073870..0c9183e 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -721,8 +721,10 @@ static void ppc_prep_init (ram_addr_t ram_size,
register_ioport_read(0x398, 2, 1, &PREP_io_read, sysctrl);
register_ioport_write(0x398, 2, 1, &PREP_io_write, sysctrl);
/* System control ports */
+#if 0
register_ioport_read(0x0092, 0x01, 1, &PREP_io_800_readb, sysctrl);
register_ioport_write(0x0092, 0x01, 1, &PREP_io_800_writeb, sysctrl);
+#endif
register_ioport_read(0x0800, 0x52, 1, &PREP_io_800_readb, sysctrl);
register_ioport_write(0x0800, 0x52, 1, &PREP_io_800_writeb, sysctrl);
/* PCI intack location */
--
1.7.3
- [Qemu-devel] [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 1/4] prep: Remove bogus BIOS size check, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 2/4] prep: Add ELF support, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Andreas Färber, 2010/12/13
- [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport,
Andreas Färber <=
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Alexander Graf, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Andreas Färber, 2010/12/20
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Alexander Graf, 2010/12/20
[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check, Alexander Graf, 2010/12/19
[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/19