qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/2] Add Enhanced Three-Speed Etherne


From: Fabien Chouteau
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/2] Add Enhanced Three-Speed Ethernet Controller (eTSEC)
Date: Tue, 16 Jul 2013 10:35:47 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 07/16/2013 03:06 AM, Peter Crosthwaite wrote:
>>>> +
>>>> +    memory_region_init_io(&etsec->io_area, OBJECT(etsec), &etsec_ops, 
>>>> etsec,
>>>> +                          "eTSEC", 0x1000);
>>>
>>> Constant size memory_region_init_io should be migrated to the Object::Init 
>>> fm.
>>>
>>
>> What is Object::Init()? Do you have an example?
>>
> 
> hw/dma/xilinx_axidma.c - xilinx_axidma_init() and
> xilinx_axidma_realize() has an example of splitting init task between
> early and late. Note the memory_region_init_io is in the _init.
> 

OK thanks,

-- 
Fabien Chouteau



reply via email to

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