At HKG15, lets move the arch doc etc and create and split the information we have into the right docs, we need to get this information recorded because much of it evaporates on the list.
On 4 February 2015 at 04:14, Taras Kondratiuk <taras.kondrat...@linaro.org> wrote: > On 02/04/2015 12:28 AM, Ola Liljedahl wrote: > > On 3 February 2015 at 23:24, Taras Kondratiuk > > <taras.kondrat...@linaro.org> wrote: > >> On 02/03/2015 11:57 PM, Ola Liljedahl wrote: > >>>> The re-org has make it easier for the implementors of ODP. > >>>> However, its a bit harder to follow the structure now maybe. > >>>> > >>>> "static inline functions" should go into: > >>>> platform/linux-generic/include/odp/*.h > >>>> > >>>> and typedefs, defines, enums, and structs that are platform specific > >>>> should go into: > >>>> platform/linux-generic/include/odp/plat/*_types.h > >>> Me thinks there should be a couple more directory levels here. Why not > >>> repeat plat and platform a couple of times? > >> > >> 'plat' is a header namespace to separate files after they are installed > >> and keep destination directory organized. > >> If you don't like the name please send a patch to rename it ;) > > Taras if there was a description of the complete ODP directory > > structure somewhere it would probably make sense. > > Yeah that's a missing piece. Should a part Implementer's guide. > Current structure: > > /usr/share/include/ > ├── odp.h - The only header included by applications > (for now). > └── odp - Structure of this directory is up to > implementation. > │ This is a linux-generic's structure which > can be used as a reference. > ├── <odp_module>.h - One header per module. That is not > mandatory, but recommended (in case we drop odp.h at some point). > │ Each header will normally include > corresponding header from 'api' directory plus 'static inline' APIs. > ├── api - A copy of <odp_src>/include/odp/api > directory. Contains clean API headers. > │ └── <odp_module>.h > └── plat - Contains types definitions and other > platform specific stuff. > ├── <odp_module>_types.h > └── <some_sdk>.h > > > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/lng-odp > -- *Mike Holmes* Linaro Sr Technical Manager LNG - ODP
_______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp