[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Get current env within io_handler ?
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Get current env within io_handler ? |
Date: |
Mon, 21 May 2012 19:28:09 +0100 |
On 21 May 2012 19:08, Blue Swirl <address@hidden> wrote:
> On Mon, May 21, 2012 at 10:36 AM, Peter Maydell
> <address@hidden> wrote:
>> I think it would be nice to have this in upstream qemu; however adding
>> transaction properties to the IO interface would be quite tricky I
>> suspect...
>
> This is limited to CPU and CPU local bus devices (not generic like
> PCI), so there could be an out of band mechanism to get/set the
> additional data.
What's your definition of "generic" here? AMBA isn't particularly
limited to CPU local bus devices either, really (for instance
the connection between a versatile express CPU daughterboard
and the motherboard includes an AMBA AXI bus).
> For example store in op_helper.c could use
> cpu_set_amba_properties(...) before the store and afterwards
> cpu_get_amba_reply(...).
We really don't want to do two helper function calls for every
load or store! If you're going to implement them at all then
you need a more efficient implementation than that...
-- PMM
- Re: [Qemu-devel] Get current env within io_handler ?, (continued)
- Re: [Qemu-devel] Get current env within io_handler ?, Andreas Färber, 2012/05/15
- Re: [Qemu-devel] Get current env within io_handler ?, nicolas.sauzede, 2012/05/15
- Re: [Qemu-devel] Get current env within io_handler ?, Peter Maydell, 2012/05/15
- Re: [Qemu-devel] Get current env within io_handler ?, Andreas Färber, 2012/05/15
- Re: [Qemu-devel] Get current env within io_handler ?, nicolas.sauzede, 2012/05/16
- Re: [Qemu-devel] Get current env within io_handler ?, Blue Swirl, 2012/05/19
- Re: [Qemu-devel] Get current env within io_handler ?, Peter Maydell, 2012/05/19
- Re: [Qemu-devel] Get current env within io_handler ?, nicolas.sauzede, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?, Peter Maydell, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?, Blue Swirl, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?,
Peter Maydell <=
- Re: [Qemu-devel] Get current env within io_handler ?, Blue Swirl, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?, Edgar E. Iglesias, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?, Andreas Färber, 2012/05/21
- Re: [Qemu-devel] Get current env within io_handler ?, Anthony Liguori, 2012/05/15
- Re: [Qemu-devel] Get current env within io_handler ?, nicolas.sauzede, 2012/05/16