Move *_Control types of API objects to separate header file
Chris Johns
chrisj at rtems.org
Thu Nov 8 04:36:11 UTC 2018
On 08/11/2018 00:14, Sebastian Huber wrote:
>
> the <rtems.h> header file still exposes a lot of implementation details via the
> definition of the *_Control structures of the API objects. They are only
> necessary for the application configuration. I would like to move them to
> separate header files. Currently we have:
>
> <rtems/rtems/XYZ.h>
> <rtems/rtems/XYZimpl.h>
>
> I need a new name for this header file. For example:
>
> <rtems/rtems/XYZdata.h>
>
> An example patch is attached. Comments?
>
> cpukit/include/rtems/confdefs.h | 1 +
> cpukit/include/rtems/rtems/ratemon.h | 111 +---------------------------
> cpukit/include/rtems/rtems/ratemondata.h | 123 +++++++++++++++++++++++++++++++
This is the ratemon "control struct" so does `ratemonctrl.h` work?
Which ever way you go please make sure it will work for all the cases you wish
to change, for example these do not work `foodatadata.h`, or `fooctrlctrl.h`.
Chris
More information about the devel
mailing list