qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] New device API


From: Blue Swirl
Subject: Re: [Qemu-devel] [RFC] New device API
Date: Tue, 5 May 2009 19:26:17 +0300

On 5/5/09, Paul Brook <address@hidden> wrote:
> > About "int" property, I'd use a wider type to support 64 bit properties.
>
>
> Ok.
>
>
>  > I don't think the ptr property can be used to construct OpenFirmware
>  > properties, because the length of the data is not handled.
>
>
> This is intended to be used to link between devices. An OF implementation
>  would probably use a phandle. I may rename to device/object to clarify.

Still, it would be useful to have a way for the devices to be able to
export strings and blobs to the device tree.

>  The ESP DMA bits where we pass function pointers are a temporary hack, and
>  should go away.
>
>
>  > What happens if you try to register two devices of the same type, can
>  > you identify them somehow? In OF, this is handed with by adding @ and
>  > address.
>
>
> I guess I'll either use an informative suffix (like OF/FDT), or have separate
>  type and instance name.
>
>
>  Paul
>




reply via email to

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