[RTEMS Project] #3598: Move internal types of API objects to separate header file
RTEMS trac
trac at rtems.org
Thu Nov 8 12:19:56 UTC 2018
#3598: Move internal types of API objects to separate header file
-----------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.1
Component: rtems | Version: 5
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------------
Description changed by Sebastian Huber:
Old description:
> The <rtems.h> header file still exposes a lot of implementation details
> via the definition of internal data structures, e.g. the *_Control
> structures of the API objects. They are only necessary for the
> application configuration. Move them to separate header files. Currently
> we have:
>
> * <rtems/rtems/XYZ.h>
> * <rtems/rtems/XYZimpl.h>
>
> Use
>
> * <rtems/rtems/XYZdata.h>
>
> for this new header file.
>
> Potential new header files are:
>
> * rtems/rtems/asrdata.h
> * rtems/rtems/barrierdata.h
> * rtems/rtems/dpmemdata.h
> * rtems/rtems/eventdata.h
> * rtems/rtems/messagedata.h
> * rtems/rtems/partdata.h
> * rtems/rtems/ratemondata.h
> * rtems/rtems/regiondata.h
> * rtems/rtems/semdata.h
> * rtems/rtems/tasksdata.h
> * rtems/rtems/timerdata.h
New description:
The <rtems.h> header file still exposes a lot of implementation details
via the definition of internal data structures, e.g. the *_Control
structures of the API objects. They are only necessary for the application
configuration. Move them to separate header files. Currently we have:
* <rtems/rtems/XYZ.h>
* <rtems/rtems/XYZimpl.h>
Use
* <rtems/rtems/XYZdata.h>
for this new header file.
Potential new header files are:
* rtems/extensiondata.h
* rtems/rtems/asrdata.h
* rtems/rtems/barrierdata.h
* rtems/rtems/dpmemdata.h
* rtems/rtems/eventdata.h
* rtems/rtems/messagedata.h
* rtems/rtems/partdata.h
* rtems/rtems/ratemondata.h
* rtems/rtems/regiondata.h
* rtems/rtems/semdata.h
* rtems/rtems/tasksdata.h
* rtems/rtems/timerdata.h
--
--
Ticket URL: <http://devel.rtems.org/ticket/3598#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list