Am 02.12.2013 09:52, schrieb Marcel Apfelbaum: > On Sun, 2013-12-01 at 16:14 +0100, Andreas Färber wrote: >> The alternative BTW is dropping all those pointer properties and >> replacing them with link<> properties. Paolo tried that for the OMAP >> timers once but I fear that series was never picked up...? > I heard about these link<> properties, can someone point me to their > implementation?
Start from object_property_add_link(). link<foo> properties represent a cross-reference to an object of type foo, which is representated as a pointer in C and as a textual canonical path representation in QMP. By contrast we model child<foo> properties as value fields (cf. SoC/MPCore modeling discussions) and they actually form the canonical paths used by link<> properties. Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg