[PATCH 00/14] Enable all POSIX APIs except signals and sporadic server

Joel Sherrill joel at rtems.org
Mon Oct 29 13:12:51 UTC 2018


Hi

I have been assuming that this has no or minimal impact on the minimum
footprint but haven't seen any numbers. Do you have code and  data size for
the samples from before and after these changes?

Thanks

--joel

On Mon, Oct 29, 2018, 4:03 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> This is the final patch set to enable all POSIX APIs except signals and
> the sporadic server.
>
> Sebastian Huber (14):
>   posix: Provide aio_suspend() by default
>   score: Remove bogus thread object name support
>   Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES
>   Move default config to librtemsdefaultconfig.a
>   posix: Split posix_api_configuration_table
>   posix: Provide named semaphores by default
>   posix: Provide shared memory objects by default
>   posix: Provide message queues by default
>   posix: Hide POSIX_API_Control by default
>   posix: Provide threads by default
>   posix: Enable psxtmtests tests by default
>   posix: Enable more smptests tests by default
>   posix: Enable more psxtests by default
>   posix: Enable more sptests test cases by default
>
>  cpukit/Makefile.am                             |  81 +++---
>  cpukit/include/rtems/confdefs.h                | 366
> ++++++++++++-------------
>  cpukit/include/rtems/monitor.h                 |   4 +-
>  cpukit/include/rtems/posix/config.h            |  66 +----
>  cpukit/include/rtems/posix/mqueue.h            |   2 +
>  cpukit/include/rtems/posix/mqueueimpl.h        |   6 +-
>  cpukit/include/rtems/posix/psignal.h           |   2 +
>  cpukit/include/rtems/posix/pthread.h           |   3 +-
>  cpukit/include/rtems/posix/pthreadattrimpl.h   |   2 -
>  cpukit/include/rtems/posix/pthreadimpl.h       |   2 +
>  cpukit/include/rtems/posix/semaphore.h         |   2 +
>  cpukit/include/rtems/posix/semaphoreimpl.h     |   6 +-
>  cpukit/include/rtems/posix/shm.h               |   4 +
>  cpukit/include/rtems/posix/threadsup.h         |   2 +
>  cpukit/include/rtems/posix/timer.h             |   2 +
>  cpukit/include/rtems/score/coremsg.h           |  26 +-
>  cpukit/include/rtems/score/object.h            |  16 +-
>  cpukit/include/rtems/score/objectimpl.h        |  74 ++---
>  cpukit/include/rtems/score/thread.h            |  10 +-
>  cpukit/include/rtems/score/threadimpl.h        |   4 +-
>  cpukit/libcsupport/src/resource_snapshot.c     |  30 +-
>  cpukit/libmisc/monitor/mon-monitor.c           |   4 -
>  cpukit/libmisc/monitor/mon-object.c            |   8 +-
>  cpukit/posix/src/key.c                         |   4 +-
>  cpukit/posix/src/mqueue.c                      |   3 +-
>  cpukit/posix/src/mqueueconfig.c                |  34 +++
>  cpukit/posix/src/psignal.c                     |   2 +-
>  cpukit/posix/src/psignalconfig.c               |  34 +++
>  cpukit/posix/src/psxsemaphore.c                |   3 +-
>  cpukit/posix/src/psxsemaphoreconfig.c          |  34 +++
>  cpukit/posix/src/psxtimerconfig.c              |  34 +++
>  cpukit/posix/src/psxtransschedparam.c          |   6 +-
>  cpukit/posix/src/pthread.c                     |  15 +-
>  cpukit/posix/src/pthreadconfig.c               |  34 +++
>  cpukit/posix/src/pthreadcreate.c               |  14 +-
>  cpukit/posix/src/pthreadinitthreads.c          |   4 +-
>  cpukit/posix/src/pthreadsetschedparam.c        |  16 +-
>  cpukit/posix/src/ptimer.c                      |   7 +-
>  cpukit/posix/src/semaphoredeletesupp.c         |   2 +-
>  cpukit/posix/src/shm.c                         |   3 +-
>  cpukit/posix/src/shmconfig.c                   |  34 +++
>  cpukit/posix/src/shmops.c                      |  40 +++
>  cpukit/rtems/src/rtemsobjectgetapiclassname.c  |   8 +-
>  cpukit/rtems/src/tasks.c                       |   4 +-
>  cpukit/score/src/objectclose.c                 |   6 +-
>  cpukit/score/src/objectgetnameasstring.c       |  17 +-
>  cpukit/score/src/objectidtoname.c              |   6 +-
>  cpukit/score/src/objectinitializeinformation.c |   4 +-
>  cpukit/score/src/objectnamespaceremove.c       |  34 +--
>  cpukit/score/src/objectnametoidstring.c        |   2 -
>  cpukit/score/src/objectsetname.c               |  12 +-
>  cpukit/score/src/thread.c                      |  12 +-
>  cpukit/score/src/threaditerate.c               |   2 -
>  cpukit/score/src/threadrestart.c               |  16 --
>  cpukit/score/src/wkspace.c                     |   5 +-
>  testsuites/libtests/Makefile.am                |  47 ++++
>  testsuites/psxtests/Makefile.am                | 102 -------
>  testsuites/psxtests/psx07/init.c               |   2 +
>  testsuites/psxtests/psxcleanup/system.h        |   1 -
>  testsuites/psxtests/psxconfig01/init.c         |   7 +-
>  testsuites/psxtests/psxmsgq01/init.c           |   3 +-
>  testsuites/psxtests/psxmsgq01/system.h         |   2 +
>  testsuites/psxtmtests/Makefile.am              |  98 -------
>  testsuites/psxtmtests/psxtmmq01/init.c         |   2 +
>  testsuites/smptests/Makefile.am                |   6 -
>  testsuites/sptests/spmutex01/init.c            |  58 ++--
>  testsuites/sptests/spstdthreads01/init.c       |   7 -
>  testsuites/sptests/spsysinit01/init.c          |  35 +--
>  testsuites/sptests/spthreadq01/init.c          |  31 +--
>  69 files changed, 734 insertions(+), 840 deletions(-)
>  create mode 100644 cpukit/posix/src/mqueueconfig.c
>  create mode 100644 cpukit/posix/src/psignalconfig.c
>  create mode 100644 cpukit/posix/src/psxsemaphoreconfig.c
>  create mode 100644 cpukit/posix/src/psxtimerconfig.c
>  create mode 100644 cpukit/posix/src/pthreadconfig.c
>  create mode 100644 cpukit/posix/src/shmconfig.c
>  create mode 100644 cpukit/posix/src/shmops.c
>
> --
> 2.16.4
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181029/0dfed5c3/attachment-0002.html>


More information about the devel mailing list