[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu cpu-all.h exec.c
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] qemu cpu-all.h exec.c |
Date: |
Thu, 3 Jan 2008 01:18:58 +0000 |
User-agent: |
KMail/1.9.7 |
On Wednesday 02 January 2008, Blue Swirl wrote:
> On 1/2/08, Paul Brook <address@hidden> wrote:
> > > Also the opaque parameter may need to be different for each function,
> > > it just didn't matter for the unassigned memory case.
> >
> > Do you really have systems where independent devices need to respond to
> > different sized accesses to the same address?
>
> I don't think so. But one day unassigned or even normal RAM memory
> access may need an opaque parameter, so passing the device's opaque to
> unassigned memory handler is wrong.
I'm not convinced. Your current implementation seems to introduce an extra
level of indirection without any plausible benefit.
If you're treating unassigned memory differently it needs to be handled much
earlier that so you can raise CPU exceptions.
Paul
- [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/01
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Fabrice Bellard, 2008/01/01
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/02
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Paul Brook, 2008/01/02
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/02
- Re: [Qemu-devel] qemu cpu-all.h exec.c,
Paul Brook <=
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/03
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Paul Brook, 2008/01/03
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Fabrice Bellard, 2008/01/03
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/03
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Paul Brook, 2008/01/03
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Blue Swirl, 2008/01/04
- Re: [Qemu-devel] qemu cpu-all.h exec.c, Paul Brook, 2008/01/04