[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] New device API
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [RFC] New device API |
Date: |
Tue, 5 May 2009 17:17:24 +0100 |
User-agent: |
KMail/1.9.9 |
> 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.
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
- [Qemu-devel] [RFC] New device API, Paul Brook, 2009/05/05
- Re: [Qemu-devel] [RFC] New device API, Anthony Liguori, 2009/05/05
- Re: [Qemu-devel] [RFC] New device API, Edgar E. Iglesias, 2009/05/05
- Re: [Qemu-devel] [RFC] New device API, Paul Brook, 2009/05/05
- Re: [Qemu-devel] [RFC] New device API, Paul Brook, 2009/05/05
- Re: [Qemu-devel] [RFC] New device API, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [RFC] New device API, Anthony Liguori, 2009/05/09
- Re: [Qemu-devel] [RFC] New device API, Paul Brook, 2009/05/09
- Re: [Qemu-devel] [RFC] New device API, Anthony Liguori, 2009/05/09