Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index 96f796b..bf82eed 100644
--- a/hw/dma/rc4030.c
+++ b/hw/dma/rc4030.c
@@ -86,7 +86,7 @@ typedef struct rc4030State
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 2297231..093f0cc 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -21,16 +21,10 @@
#include "qemu/ti
Remove also unneeded debug logs.
Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c | 81 -
trace-events| 6 +
2 files changed, 22 insertions(+), 65 deletions(-)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index bf82eed
Signed-off-by: Laurent Vivier
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c | 1 +
hw/net/dp8393x.c| 18 ++
2 files changed, 19 insertions(+)
diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c
index 648654e..9d60633 100644
--- a/hw/mips/mips_jazz.c
+++ b/hw
Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c| 115 ++---
hw/mips/mips_jazz.c| 37 ++--
include/hw/mips/mips.h | 4 +-
3 files changed, 113 insertions(+), 43 deletions(-)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
tested on MIPS Jazz emulation and on (yet unpublished)
m68k Quadra 800 emulation.
Changes v1->v2:
- added patches 1, 5-7, 14-16
- fixed memory region life cycle in rc4030 (patch 2)
- removed a loop around address_space_rw (patch 2)
- added RFC patch 17, which highlights a bug somewhere
He
Signed-off-by: Laurent Vivier
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c| 12 ++--
hw/net/dp8393x.c | 83 ++
include/hw/mips/mips.h | 5 ---
3 files changed, 67 insertions(+), 33 deletions(-)
diff --git a/hw/mips
Don't write more than the field width, which is always 16 bit.
Fixes network in NetBSD 5.1/arc
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 4184045..b72b0b1 100644
---
This fixes Windows NT 4.0/MIPS, which was always bugchecking with
IRQL_NOT_LESS_OR_EQUAL.
Cc: Paolo Bonzini
---
hw/dma/rc4030.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index 3efa6de..deac0a8 100644
--- a/hw/dma/rc4030.
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 114 ++-
1 file changed, 29 insertions(+), 85 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 093f0cc..5cc1e6b 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index ef1fb0e..4184045 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -853,6 +853,17 @@ static void dp8393x_realize(DeviceState *dev
Remove now useless device models from other MIPS configurations
We're now compiling 18 files less than before.
Signed-off-by: Hervé Poussineau
---
default-configs/mips-softmmu.mak | 5 -
default-configs/mips64-softmmu.mak | 5 -
default-configs/mips64el-softmmu.mak | 1 +
de
Add a new memory region in system address space where DMA address space
definition (the 'translation table') belongs, so we can update on the fly
the DMA address space.
Signed-off-by: Hervé Poussineau
---
Cc: Paolo Bonzini
hw/dma/rc40
Hi Leon,
Le 29/04/2015 16:56, Leon Alrae a écrit :
Hi Hervé,
On 25/03/2015 14:13, Leon Alrae wrote:
On 05/03/2015 22:13, Hervé Poussineau wrote:
Hi,
This patchset improves dp8393x network card emulation to current QEMU standards,
mostly decouples it from MIPS rc4030 chipset emulation, and
Le 25/03/2015 15:45, Paolo Bonzini a écrit :
On 05/03/2015 23:13, Hervé Poussineau wrote:
Add a new memory region in system address space where DMA address space
definition (the 'translation table') belongs, so we can update on the fly
the DMA address space.
Signed-off-by: Hervé
This prevents gtk_widget_get_window to return a NULL pointer.
Signed-off-by: Hervé Poussineau
---
ui/gtk.c | 12
1 file changed, 12 insertions(+)
diff --git a/ui/gtk.c b/ui/gtk.c
index 29bdc19..d6e01c2 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -294,6 +294,10 @@ static void
rtion `GDK_IS_WINDOW (window)' failed
Hervé Poussineau (1):
gtk: do not call gtk_widget_get_window if drawing area is not
initialized
ui/gtk.c | 12
1 file changed, 12 insertions(+)
--
1.7.10.4
Hi,
Le 16/03/2015 22:48, John Snow a écrit :
On 03/14/2015 12:50 PM, Hervé Poussineau wrote:
They were introduced in 6f7e9aec5eb5bdfa57a9e458e391b785c283a007 and
82407d1a4035e5bfefb53ffdcb270872f813b34c and lots of bug fixes were done after
that.
This fixes (at least) the detection of the
works.
Signed-off-by: Hervé Poussineau
---
hw/block/fdc.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/hw/block/fdc.c b/hw/block/fdc.c
index 2bf87c9..f72a392 100644
--- a/hw/block/fdc.c
+++ b/hw/block/fdc.c
@@ -535,8 +535,6 @@ struct FDCtrl {
uint8_t pwrd;
/* Floppy d
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 4f3e8a2..802f2b0 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -21,16 +21,10 @@
#include "qemu/ti
Signed-off-by: Laurent Vivier
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c |1 +
hw/net/dp8393x.c| 18 ++
2 files changed, 19 insertions(+)
diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c
index 16a8368..cb33c9c 100644
--- a/hw/mips/mips_jazz.c
+++ b
Signed-off-by: Laurent Vivier
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c| 12 +--
hw/net/dp8393x.c | 83 +---
include/hw/mips/mips.h |5 ---
3 files changed, 67 insertions(+), 33 deletions(-)
diff --git a/hw/mips
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 112 ++
1 file changed, 28 insertions(+), 84 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 802f2b0..f86a281 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 7b658d9..49fa2a8 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -850,6 +850,17 @@ static void dp8393x_realize(DeviceState
Now that rc4030 internally uses an AddressSpace for DMA handling, make its root
memory region public. This is especially usefull for dp8393x netcard, which now
uses well known QEMU types and methods.
Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c| 14 --
hw/mips
Add a new memory region in system address space where DMA address space
definition (the 'translation table') belongs, so we can update on the fly
the DMA address space.
Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c | 154 ++---
(yet unpublished)
m68k Quadra 800 emulation.
I expect those patches go through a MIPS tree, as rc4030 and dp8393x are
currently
only used in MIPS Jazz emulation.
Hervé Poussineau (8):
rc4030: create custom DMA address space
rc4030: use AddressSpace and address_space_rw in users
net/dp8393x
Signed-off-by: Hervé Poussineau
---
hw/net/dp8393x.c | 80 --
1 file changed, 41 insertions(+), 39 deletions(-)
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index f86a281..809f493 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
update the callers appropriately.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Hervé Poussineau
---
hw/ppc/ppc405_boards.c|2 +-
hw/ppc/prep.c |2 +-
hw/sparc/sun4m.c |2 +-
hw/sparc64/sun4u.c|2 +-
hw/timer/m48t59.c | 27
Hi,
Le 14/02/2015 09:52, Mark Cave-Ayland a écrit :
Currently the m48t59 device uses the hardware model in order to determine
whether the year value is offset from the hardware value. As this will
soon be required by the x59 model, create a qdev base_year property to
represent the base year and
Le 14/02/2015 09:52, Mark Cave-Ayland a écrit :
This is for subsequent use by the sun4u machine.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Hervé Poussineau
---
hw/timer/m48t59.c |4
1 file changed, 4 insertions(+)
diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
index
Le 01/02/2015 19:39, Mark Cave-Ayland a écrit :
Currently the m48t59 device uses the hardware model in order to determine
whether the year value is offset from the hardware value. As this will
soon be required by the x59 model, change the year offset to a qdev
property and update the callers appr
Now that isa_mem_base variable is always 0, we can remove its usage.
Signed-off-by: Hervé Poussineau
---
hw/display/cirrus_vga.c |2 +-
hw/display/vga-isa.c|2 +-
hw/display/vga.c|3 +--
hw/isa/isa-bus.c|1 -
include/hw/isa/isa.h|2 --
5 files changed
Create a custom address space for PCI memory region and use it for the PCI bus.
Dynamically handle PCI0 Mem0 and PCI0 Mem1 regions, as already done for PCI0 IO.
Signed-off-by: Hervé Poussineau
---
hw/mips/gt64xxx_pci.c | 95 +++--
1 file changed, 68
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_r4k.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c
index 5b982f2..3e90e27 100644
--- a/hw/mips/mips_r4k.c
+++ b/hw/mips/mips_r4k.c
@@ -165,7 +165,8 @@ void
Do assorted changes in memory-mapped rtc interface.
Also fix size of ISA I/O memory region, which should be 0x1 bytes.
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/hw/mips
Currently, keep current behaviour by always using get_system_memory().
Also use QOM casts when possible.
Signed-off-by: Hervé Poussineau
Reviewed-by: Paolo Bonzini
---
hw/alpha/typhoon.c |2 +-
hw/i386/pc_piix.c|2 +-
hw/isa/i82378.c |3 ++-
hw/isa/isa-bus.c | 11
O ISA devices (like some network cards)
- supporting multiple ISA buses (not done in this patchset)
Most of the changes are MIPS-related, so maybe Aurélien or Leon can
take care of them?
Changes since v1:
- correctly handle PCI0 windows in gt64xxx
Hervé Poussineau (7):
isa: add memory space para
piix4 is only used on MIPS Malta board, which gives get_system_memory()
to pci_register_bus().
Signed-off-by: Hervé Poussineau
---
hw/isa/piix4.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 0cacc3b..a9916df 100644
--- a/hw/isa
Also remove address_space and address_space_io parameters, which
where always get_system_memory() and get_system_io().
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/hw/mips/mips_jazz.c b/hw
7;) to do like other devices ISA devices
(isa-ide, isa-parallel, isa-serial...)
Signed-off-by: Hervé Poussineau
---
hw/timer/m48t59.c | 246 -
1 file changed, 169 insertions(+), 77 deletions(-)
diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
in
Remove left-overs from header file.
Move some functions only used by PReP to hw/ppc/prep.c
Signed-off-by: Hervé Poussineau
---
hw/ppc/ppc.c | 161 -
hw/ppc/prep.c | 161 +
hw/sparc
-device m48t59_isa can now be used to create a fully functional nvram.
Signed-off-by: Hervé Poussineau
---
hw/timer/m48t59.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
index 31509d5..967a313 100644
Signed-off-by: Hervé Poussineau
---
hw/timer/m48t59.c | 59 +
include/hw/timer/m48t59.h | 24 ++
2 files changed, 83 insertions(+)
diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
index c46b63c..c5e74ce 100644
--- a/hw
Patch 4 is using this new Nvram interface and cleaning the m48t59 header.
Patches 3 and 4 are not needed for m48t59 QOM'ification, but are in my
opinion a nice cleanup.
Hervé Poussineau (4):
m48t59: move ISA ports/memory regions registration to QOM constructor
m48t59: register a QOM type
Le 19/01/2015 12:35, Mark Cave-Ayland a écrit :
This patch lays the groundwork for switching sun4u over from ioport NVRAM
access to MMIO NVRAM access.
Patch 1 introduces a new year_offset property which is the offset between the
year value stored in hardware and the actual year. In particular, S
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_r4k.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c
index 5b982f2..3e90e27 100644
--- a/hw/mips/mips_r4k.c
+++ b/hw/mips/mips_r4k.c
@@ -165,7 +165,8 @@ void
Currently, keep current behaviour by always using get_system_memory().
Also use QOM casts when possible.
Signed-off-by: Hervé Poussineau
---
hw/alpha/typhoon.c |2 +-
hw/i386/pc_piix.c|2 +-
hw/isa/i82378.c |3 ++-
hw/isa/isa-bus.c | 11 ---
hw/isa/lpc_ich9
Also remove address_space and address_space_io parameters, which
where always get_system_memory() and get_system_io().
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/hw/mips/mips_jazz.c b/hw
Create a custom address space for PCI memory region and use it for the PCI bus.
However, continue to hardcode VGA window address at 0x1000 instead of
calculating its address dynamically.
Signed-off-by: Hervé Poussineau
---
I would be quite happy if someone knowing gt64xxx better than me
Now that isa_mem_base variable is always 0, we can remove its usage.
Signed-off-by: Hervé Poussineau
---
hw/display/cirrus_vga.c |2 +-
hw/display/vga-isa.c|2 +-
hw/display/vga.c|3 +--
hw/isa/isa-bus.c|1 -
include/hw/isa/isa.h|2 --
5 files changed
piix4 is only used on MIPS Malta board, which gives get_system_memory()
to pci_register_bus().
Signed-off-by: Hervé Poussineau
---
hw/isa/piix4.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 0cacc3b..a9916df 100644
--- a/hw/isa
Do assorted changes in memory-mapped rtc interface.
Also fix size of ISA I/O memory region, which should be 0x1 bytes.
Signed-off-by: Hervé Poussineau
---
hw/mips/mips_jazz.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/hw/mips
O ISA devices
- supporting multiple ISA buses (not done in this patchset)
Patch 6 may be not very good, but I don't know enough gt64xxx chipset
to come to a better solution.
Hervé
Hervé Poussineau (7):
isa: add memory space parameter to isa_bus_new
jazz: do not explode QEMUMachineInitArgs
Le 19/01/2015 16:01, Andreas Färber a écrit :
Also, wasn't Hervé's(?) plan to get rid of mem_base completely by always
passing a pointer to ISADevice/ISABus around? It should only be needed
when somewhere NULL is being passed, no?
Yes, I've a patch series which is removing the isa_mem_base vari
Hi Laurent,
Le 29/12/2014 01:39, Laurent Vivier a écrit :
This is a series of patches I wrote to use dp8393x (SONIC) with
Quadra 800 emulation. I think it is interesting to share them with the
mainline.
Qdev'ifying allows to remove the annoying warning:
"requested NIC (anonymous, model dp83932)
Ping.
Le 15/06/2014 16:31, Hervé Poussineau a écrit :
Ping.
Le 28/05/2014 01:23, Alexander Graf a écrit :
On 28.05.14 01:21, Alexander Graf wrote:
On 27.05.14 20:57, Hervé Poussineau wrote:
Ping.
Le 20/05/2014 07:34, Hervé Poussineau a écrit :
Ping.
Le 23/04/2014 23:19, Hervé
Ping.
Le 28/05/2014 01:23, Alexander Graf a écrit :
On 28.05.14 01:21, Alexander Graf wrote:
On 27.05.14 20:57, Hervé Poussineau wrote:
Ping.
Le 20/05/2014 07:34, Hervé Poussineau a écrit :
Ping.
Le 23/04/2014 23:19, Hervé Poussineau a écrit :
Hi,
These two patches remove some bugs for
Ping.
Le 20/05/2014 07:34, Hervé Poussineau a écrit :
Ping.
Le 23/04/2014 23:19, Hervé Poussineau a écrit :
Hi,
These two patches remove some bugs for a PReP firmware. Note that first patch
is very
PReP-oriented, and breaks OHW compatibility with other QEMU emulations
(oldworld and
Ping.
Le 23/04/2014 23:19, Hervé Poussineau a écrit :
Hi,
These two patches remove some bugs for a PReP firmware. Note that first patch
is very
PReP-oriented, and breaks OHW compatibility with other QEMU emulations
(oldworld and
newworld machines).
Patches to remove corresponding hacks on
Le lun. 05 mai 2014 10:01:10 CEST, Michael S. Tsirkin a écrit :
On Sat, May 03, 2014 at 10:39:37PM +0200, Hervé Poussineau wrote:
Ping.
Le 22/04/2014 23:00, Hervé Poussineau a écrit :
This is a guest-triggerable error, as seen when using Xenix 2.3.4.
Replace hw_error by LOG_UNIMPL, so that
Ping.
Le 22/04/2014 23:00, Hervé Poussineau a écrit :
This is a guest-triggerable error, as seen when using Xenix 2.3.4.
Replace hw_error by LOG_UNIMPL, so that guests have at least a chance to
continue.
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259.c |3 ++-
1 file changed, 2
This is easier to do this than to copy the code from the wrong entry point to
the right entry point.
Suggested-by: Alexander Graf
Signed-off-by: Hervé Poussineau
---
src/vectors.S |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/vectors.S b/src/vectors.S
index
Note that offsets are PReP ones, so this breaks compatibility with hardware
which has different values.
Signed-off-by: Hervé Poussineau
---
Indentation may look strange, but I tried to stay consistent with other parts
of the file.
src/pci.c |7 ++-
1 file changed, 6 insertions(+), 1
/archive/html/qemu-devel/2014-04/msg00240.html
Hervé
Changes v1 -> v2:
- rewrite patch 2 as suggested by Alexander Graf
Hervé Poussineau (2):
ohw: correctly program BAR addresses of PCI devices
ohw: let the right reset entry point 0xfff00100 jump to the currently
wrong entry point (0xf
This define has been introduced 8 years ago, and non-DMA cases have never
changed since then.
Signed-off-by: Hervé Poussineau
---
hw/ide/core.c |8
hw/ide/internal.h |1 -
2 files changed, 9 deletions(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index c943a4d..61b211f
This is a guest-triggerable error, as seen when using Xenix 2.3.4.
Replace hw_error by LOG_UNIMPL, so that guests have at least a chance to
continue.
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/intc/i8259.c b
Le sam. 05 avril 2014 22:34:38 CEST, Alexander Graf a écrit :
On 05.04.2014, at 22:26, Hervé Poussineau wrote:
Hi Andreas,
Le sam. 05 avril 2014 17:41:43 CEST, Andreas Färber a écrit :
Hi Hervé,
Am 20.03.2014 00:36, schrieb Andreas Färber:
From: Hervé Poussineau
Remove now duplicated
Hi Andreas,
Le sam. 05 avril 2014 17:41:43 CEST, Andreas Färber a écrit :
Hi Hervé,
Am 20.03.2014 00:36, schrieb Andreas Färber:
From: Hervé Poussineau
Remove now duplicated code from prep board.
Signed-off-by: Hervé Poussineau
Signed-off-by: Andreas Färber
---
hw/pci-host/prep.c | 85
Le mer. 02 avril 2014 07:14:48 CEST, Alexander Graf a écrit :
Am 01.04.2014 um 23:18 schrieb Hervé Poussineau :
This is easier to do this than to copy the code from the wrong entry point to
the right entry point.
Signed-off-by: Hervé Poussineau
---
src/vectors.S |7 ++-
1 file
Note that OHW is still the default firmware.
Signed-off-by: Hervé Poussineau
---
hw/ppc/prep.c | 42 ++
1 file changed, 42 insertions(+)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index dfe4a5c..e59d5b9 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
Hi,
This patchset remove the last two hacks related to shortcuts in OHW firmware.
Note that related OHW patches must be applied first, and binary updated,
before applying those patches.
Hervé
Hervé Poussineau (2):
prep: remove PCI memory hack related to OpenHack'Ware
prep: remove CPU
Signed-off-by: Hervé Poussineau
---
hw/ppc/prep.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index 035b5b2..dfe4a5c 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -346,9 +346,6 @@ static void ppc_prep_reset(void *opaque)
PowerPCCPU *cpu
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c |4 +---
hw/ppc/prep.c |9 -
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index d3e746c..56234e5 100644
--- a/hw/pci-host/prep.c
+++ b/hw/pci-host/prep.c
This is easier to do this than to copy the code from the wrong entry point to
the right entry point.
Signed-off-by: Hervé Poussineau
---
src/vectors.S |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/vectors.S b/src/vectors.S
index 691d568..05cd1d9 100644
--- a
Hi,
These two patches remove some bugs for a PReP firmware. Note that first patch
is very
PReP-oriented, and breaks OHW compatibility with other QEMU emulations
(oldworld and
newworld machines).
Patches to remove corresponding hacks on QEMU side will be sent shortly.
Hervé
Hervé Poussineau (2
Note that offsets are PReP ones, so this breaks compatibility with hardware
which has different values.
Signed-off-by: Hervé Poussineau
---
src/pci.c |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/pci.c b/src/pci.c
index 38aad27..7c0ebad 100644
--- a/src
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index 8d0794e..fed6c26 100644
--- a/hw/pci-host/prep.c
+++ b/hw/pci-host/prep.c
@@ -223,12 +223,12 @@ static void
Hi,
Le lun. 17 mars 2014 22:55:37 CET, Artyom Tarasenko a écrit :
[...]
BTW another unresolved issue that's been discussed is whether we should
change the default CPU for -M prep. I've been open to doing so for 2.0
but would like some pointer that such a machine did exist
That's fair. I don't h
PCI memory region is 0x3f00 bytes starting at 0xc000.
However, keep compatibility with Open Hack'Ware expectations
by adding a hack for Open Hack'Ware display.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c |9 ++---
hw/ppc/prep.c |9 +
2 fil
PCI I/O region is 0x3f80 bytes starting at 0x8000.
Do not use global QEMU I/O region, which is only 64KB.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/hw/pci-host/prep.c b/hw/pci-host
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index fed6c26..373af48 100644
--- a/hw/pci-host/prep.c
+++ b/hw/pci-host/prep.c
@@ -70,7
Regions added in next patches will also have the pci_ prefix.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index 94fdffa..84d50ca 100644
--- a/hw/pci-host/prep.c
+++ b
This has been tested on Linux 2.4/PPC with the lsi53c895a SCSI adapter.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index 45615bd..8d0794e 100644
--- a/hw/pci-host
Remove now duplicated code from prep board.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/prep.c | 84 ++
hw/ppc/prep.c | 94 ++--
2 files changed, 87 insertions(+), 91 deletions(-)
diff
hes 5 and 6
Changes since v1:
- reworked a dubious memcpy to make it work on big endian hosts
- split onto multiple patches
Hervé Poussineau (7):
raven: rename intack region to pci_intack
raven: implement non-contiguous I/O region
raven: set a correct PCI I/O memory region
raven: set a corre
Le 13/03/2014 18:09, Andreas Färber a écrit :
Am 05.11.2013 00:09, schrieb Hervé Poussineau:
PCI I/O region is 0x3f80 bytes starting at 0x8000.
Do not use global QEMU I/O region, which is only 64KB.
Signed-off-by: Hervé Poussineau
With this patch I get only a blank screen in OHW
Le 05/03/2014 09:15, Paolo Bonzini a écrit :
Il 05/03/2014 00:49, Michael S. Tsirkin ha scritto:
On Mon, Mar 03, 2014 at 11:05:17PM +0100, Hervé Poussineau wrote:
Ping.
QEMU crash at reboot is due to not resetting PAM registers at i440fx
reset, but a patch has already been rejected on ML
Le mer. 05 mars 2014 19:50:04 CET, Andreas Färber a écrit :
Am 05.03.2014 00:49, schrieb Michael S. Tsirkin:
On Mon, Mar 03, 2014 at 11:05:17PM +0100, Hervé Poussineau wrote:
Ping.
QEMU crash at reboot is due to not resetting PAM registers at i440fx
reset, but a patch has already been
Ping.
QEMU crash at reboot is due to not resetting PAM registers at i440fx
reset, but a patch has already been rejected on ML:
http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg02928.html
Hervé
Hervé Poussineau a écrit :
With those two patches, I'm able to run a real BIOS in
en be mapped to some device!)
This fixes Award BIOS, which use this mode to shadow system BIOS and video BIOS.
Signed-off-by: Hervé Poussineau
---
hw/pci-host/pam.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pci-host/pam.c b/hw/pci-host/pam.c
index ec6be46..e1
Bit 7 of Input Port is the keyboard inhibit switch.
0 means keyboard inhibited, while 1 means keyboard enabled.
Incidentaly, this also fixes an error encountered while booting
an Award BIOS: "Keyboard is locked out - Unlock the key".
Signed-off-by: Hervé Poussineau
---
hw/input/pckb
With those two patches, I'm able to run a real BIOS in QEMU (Iwill P55XB2)
However, QEMU crashes when rebooting the computer after leaving BIOS settings.
Hervé Poussineau (2):
pam: partly fix write-only mode
pckbd: return 'keyboard enabled' on read input port command
h
Miki Mishael a écrit :
Support for pci-serial-2x and pci-serial-4x
was added to the inf file.
Standard Windows driver mf.sys used to
split single function device into per-port nodes.
Signed-off-by: Miki Mishael
Signed-off-by: Dmitry Fleytman
---
Reviewed-by: Hervé
Hi,
Miki Mishael a écrit :
Support for pci-serial-2x and pci-serial-4x
added to inf file.
Standard Windows driver mf.sys used to
split single function
device into per-port nodes.
Signed-off-by: Miki Mishael
Signed-off-by: Dmitry Fleytman
---
docs/qemupciserial.i
for smbus busy bit not set (to know that command finished)
Fix (c), by immediately setting the busy bit, and completing the command
a little bit later.
Signed-off-by: Hervé Poussineau
---
This fixes a problem with a real bios, which can now properly initialize the
PIIX4.
Note also that load/sa
Andreas Färber a écrit :
Am 24.12.2013 01:32, schrieb Alexander Graf:
On 23.12.2013, at 22:54, Hervé Poussineau wrote:
Andreas Färber a écrit :
Am 23.12.2013 19:13, schrieb Hervé Poussineau:
Alexander Graf a écrit :
On 23.12.2013, at 07:48, Hervé Poussineau wrote:
Hi,
Andreas Färber a
Andreas Färber a écrit :
Am 23.12.2013 19:13, schrieb Hervé Poussineau:
Alexander Graf a écrit :
On 23.12.2013, at 07:48, Hervé Poussineau wrote:
Hi,
Andreas Färber a écrit :
Hi,
Am 05.11.2013 00:09, schrieb Hervé Poussineau:
Raven datasheet explains where firmware lives in system memory
Peter Maydell a écrit :
On 23 December 2013 06:48, Hervé Poussineau wrote:
So, this patch is a small functional change, as it adds a copy of the
firmware in a new range 0xfff0-0xfff7, but I think we can live with
it.
We'll be able to remove it once we switch to another firmware
Alexander Graf a écrit :
On 23.12.2013, at 07:48, Hervé Poussineau wrote:
Hi,
Andreas Färber a écrit :
Hi,
Am 05.11.2013 00:09, schrieb Hervé Poussineau:
Raven datasheet explains where firmware lives in system memory, so do
it there instead of in board code. Other boards using the same PCI
501 - 600 of 1187 matches
Mail list logo