qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport


From: Andreas Färber
Subject: Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport
Date: Mon, 27 Dec 2010 00:28:45 +0100

Am 14.12.2010 um 01:49 schrieb Andreas Färber:

Workaround the following error:

qemu: hardware error: register_ioport_read: invalid opaque

I found out that this is a conflict with i8042 registering I/O port 0x0092 in pckbd.c, too. Not sure what the proper fix should look like - add some qdev property to ISAKBDState to disable the port?

Andreas

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]