Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-19 Thread Blue Swirl
Ok, try this patch. It doesn't handle cases where the sub-page areas are something else than IO. Though I don't know if it handles any other cases for that matter, but at least Sparc32 may work. :-) Index: qemu/exec.c === --- qemu.ori

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-19 Thread Paul Brook
> > While you're fixing this, it would be good to fix overlapping devices as > > well ;-) Currently if you (temporarily) have overlapping regions then > > remove one of them you end up with unmapped memory. > > What is the correct behavior in such a case ? What device would you > actually see ? May

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-19 Thread J. Mayer
On Wed, 2007-04-18 at 17:08 +0100, Paul Brook wrote: > > > If you're interressed in such a feature, you may take a look of what > > > I've done in hw/ppc405_uc.c. There are some device sharing the same > > > memory page on those microcontrollers so I introduced a fake device > > > called mmio that

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-18 Thread Paul Brook
> > If you're interressed in such a feature, you may take a look of what > > I've done in hw/ppc405_uc.c. There are some device sharing the same > > memory page on those microcontrollers so I introduced a fake device > > called mmio that allow to register multiple devices into a single page > > in

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-18 Thread Blue Swirl
On 4/18/07, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: On Wed, 2007-04-18 at 14:06 +0100, Thiemo Seufer wrote: > J. Mayer wrote: > > On Mon, 2007-04-16 at 22:47 +, Thiemo Seufer wrote: > > > CVSROOT: /sources/qemu > > > Module name: qemu > > > Changes by: Thiemo Seufer 07/04/16

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-18 Thread Jocelyn Mayer
On Wed, 2007-04-18 at 14:06 +0100, Thiemo Seufer wrote: > J. Mayer wrote: > > On Mon, 2007-04-16 at 22:47 +, Thiemo Seufer wrote: > > > CVSROOT: /sources/qemu > > > Module name: qemu > > > Changes by: Thiemo Seufer 07/04/16 22:47:54 > > > > > > Modified files: > > > hw

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-18 Thread Thiemo Seufer
J. Mayer wrote: > On Mon, 2007-04-16 at 22:47 +, Thiemo Seufer wrote: > > CVSROOT:/sources/qemu > > Module name:qemu > > Changes by: Thiemo Seufer 07/04/16 22:47:54 > > > > Modified files: > > hw : pckbd.c > > > > Log message: > > Support it_shift for mma

Re: [Qemu-devel] qemu/hw pckbd.c

2007-04-18 Thread J. Mayer
On Mon, 2007-04-16 at 22:47 +, Thiemo Seufer wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Thiemo Seufer 07/04/16 22:47:54 > > Modified files: > hw : pckbd.c > > Log message: > Support it_shift for mmapped pckbd. > > CVSWeb URLs: > ht