On Fri, Oct 19, 2012 at 6:06 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 19 October 2012 07:40, Peter Crosthwaite > <peter.crosthwa...@xilinx.com> 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 >