qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v1 4/7] sysbus/sysbus_mmio_map: parameterise map


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH v1 4/7] sysbus/sysbus_mmio_map: parameterise mapped region
Date: Fri, 19 Oct 2012 19:01:17 +1000

On Fri, Oct 19, 2012 at 6:06 PM, Peter Maydell <address@hidden> wrote:
> On 19 October 2012 07:40, Peter Crosthwaite
> <address@hidden> wrote:
>> Add a variant to sysbus_mmio_map that allow specifying a target memory 
>> region.
>> The requested device memory region is mapped within the argument target 
>> memory
>> region rather than the default (get_system_memory()). Behaviour of original
>> sysbus_mmio_map remains unchanged.
>
> If you want to take a sysbus device and map one of its mmio regions into
> something other than the system memory space, the usual approach is to
> use sysbus_mmio_get_region() to get the MemoryRegion* and then you can
> do what you want with it.
>

Fixed in v2. This patch will be removed from the series.

Regards,
Peter

> -- PMM
>



reply via email to

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