Hi Peter,

what is the smallest range that can be allocated in io space? in the memory
space, it's a page, right?

Michael

On Wed, Jul 6, 2016 at 1:11 PM, Michael Rolnik <mrol...@gmail.com> wrote:

> thanks
>
> On Wed, Jul 6, 2016 at 1:10 PM, Peter Maydell <peter.mayd...@linaro.org>
> wrote:
>
>> On 6 July 2016 at 11:04, Michael Rolnik <mrol...@gmail.com> wrote:
>> > how to create io space device and how to map it?
>>
>> Conceptually it's no different to handling memory mapped
>> devices. get_system_io() returns the memory region for the IO
>> space, and you add devices to it with memory_region_add_subregion().
>>
>> thanks
>> -- PMM
>>
>
>
>
> --
> Best Regards,
> Michael Rolnik
>



-- 
Best Regards,
Michael Rolnik

Reply via email to