[PATCH 0/3] Statically initialize the objects information

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 11 15:41:07 UTC 2018


Sebastian Huber (3):
  score: Remove Objects_Information::auto_extend
  rtems: Use object information to get config max
  score: Static Objects_Information initialization

 cpukit/Makefile.am                             |   2 +
 cpukit/include/rtems/confdefs.h                | 450 +++++++++----------------
 cpukit/include/rtems/config.h                  |  15 +-
 cpukit/include/rtems/extensiondata.h           |  25 ++
 cpukit/include/rtems/extensionimpl.h           |   2 -
 cpukit/include/rtems/posix/key.h               |  42 +++
 cpukit/include/rtems/posix/keyimpl.h           |   5 -
 cpukit/include/rtems/posix/mqueue.h            |  31 +-
 cpukit/include/rtems/posix/mqueueimpl.h        |   6 -
 cpukit/include/rtems/posix/pthread.h           |   8 +-
 cpukit/include/rtems/posix/pthreadimpl.h       |   6 -
 cpukit/include/rtems/posix/semaphore.h         |  29 +-
 cpukit/include/rtems/posix/semaphoreimpl.h     |   6 -
 cpukit/include/rtems/posix/shm.h               |  25 +-
 cpukit/include/rtems/posix/shmimpl.h           |   2 -
 cpukit/include/rtems/posix/sigset.h            |   3 +-
 cpukit/include/rtems/posix/timer.h             |  24 +-
 cpukit/include/rtems/posix/timerimpl.h         |   6 -
 cpukit/include/rtems/rtems/barrierdata.h       |  25 ++
 cpukit/include/rtems/rtems/barrierimpl.h       |   6 -
 cpukit/include/rtems/rtems/config.h            |  77 +----
 cpukit/include/rtems/rtems/dpmemdata.h         |  25 ++
 cpukit/include/rtems/rtems/dpmemimpl.h         |   6 -
 cpukit/include/rtems/rtems/messagedata.h       |  39 +++
 cpukit/include/rtems/rtems/messageimpl.h       |   6 -
 cpukit/include/rtems/rtems/msgmp.h             |  12 -
 cpukit/include/rtems/rtems/partdata.h          |  39 +++
 cpukit/include/rtems/rtems/partimpl.h          |   6 -
 cpukit/include/rtems/rtems/partmp.h            |  12 -
 cpukit/include/rtems/rtems/ratemondata.h       |  25 ++
 cpukit/include/rtems/rtems/ratemonimpl.h       |   8 -
 cpukit/include/rtems/rtems/regiondata.h        |  25 ++
 cpukit/include/rtems/rtems/regionimpl.h        |   6 -
 cpukit/include/rtems/rtems/semdata.h           |  39 +++
 cpukit/include/rtems/rtems/semimpl.h           |   6 -
 cpukit/include/rtems/rtems/semmp.h             |  12 -
 cpukit/include/rtems/rtems/tasksdata.h         |   6 +
 cpukit/include/rtems/rtems/tasksimpl.h         |   6 -
 cpukit/include/rtems/rtems/timerdata.h         |  25 ++
 cpukit/include/rtems/rtems/timerimpl.h         |   6 -
 cpukit/include/rtems/score/freechain.h         |  18 +-
 cpukit/include/rtems/score/interr.h            |   2 +-
 cpukit/include/rtems/score/object.h            |  23 +-
 cpukit/include/rtems/score/objectdata.h        | 181 +++++++++-
 cpukit/include/rtems/score/objectimpl.h        | 201 ++---------
 cpukit/include/rtems/score/thread.h            |  76 ++++-
 cpukit/include/rtems/score/threadimpl.h        |  22 +-
 cpukit/include/rtems/score/threadq.h           |   9 -
 cpukit/libmisc/monitor/mon-config.c            |  18 +-
 cpukit/posix/src/key.c                         | 175 ++--------
 cpukit/posix/src/keycreate.c                   | 119 +++++++
 cpukit/posix/src/keyzerokvp.c                  |  36 ++
 cpukit/posix/src/mqueue.c                      |  81 ++---
 cpukit/posix/src/mqueueopen.c                  |  12 +
 cpukit/posix/src/psxsemaphore.c                |  72 ++--
 cpukit/posix/src/psxtimercreate.c              |  17 +-
 cpukit/posix/src/pthread.c                     | 191 +----------
 cpukit/posix/src/pthreadcreate.c               | 138 ++++++++
 cpukit/posix/src/ptimer.c                      |  94 ++----
 cpukit/posix/src/semopen.c                     |  12 +
 cpukit/posix/src/shm.c                         |  66 ++--
 cpukit/posix/src/shmopen.c                     |  12 +
 cpukit/rtems/src/barrier.c                     |  68 ++--
 cpukit/rtems/src/barriercreate.c               |  33 +-
 cpukit/rtems/src/dpmem.c                       |  68 ++--
 cpukit/rtems/src/dpmemcreate.c                 |  15 +-
 cpukit/rtems/src/msg.c                         |  83 ++---
 cpukit/rtems/src/msgqcreate.c                  |  35 +-
 cpukit/rtems/src/part.c                        |  79 ++---
 cpukit/rtems/src/partcreate.c                  |  43 +--
 cpukit/rtems/src/ratemon.c                     |  67 ++--
 cpukit/rtems/src/ratemoncreate.c               |  31 +-
 cpukit/rtems/src/region.c                      |  76 ++---
 cpukit/rtems/src/regioncreate.c                |  32 +-
 cpukit/rtems/src/rtemsobjectgetclassinfo.c     |   2 +-
 cpukit/rtems/src/rtemstimer.c                  |  69 ++--
 cpukit/rtems/src/sem.c                         |  76 ++---
 cpukit/rtems/src/semcreate.c                   |  19 ++
 cpukit/rtems/src/taskcreate.c                  |  62 ++++
 cpukit/rtems/src/tasks.c                       |  86 +----
 cpukit/rtems/src/timercreate.c                 |  14 +
 cpukit/sapi/src/extension.c                    |  60 ++--
 cpukit/sapi/src/extensioncreate.c              |  16 +-
 cpukit/sapi/src/getconfigmax.c                 | 102 ++++++
 cpukit/score/src/freechain.c                   |  25 --
 cpukit/score/src/mpci.c                        |   2 +-
 cpukit/score/src/objectallocate.c              |  13 +-
 cpukit/score/src/objectextendinformation.c     |  64 ++--
 cpukit/score/src/objectfree.c                  |  27 +-
 cpukit/score/src/objectinitializeinformation.c |  98 ++----
 cpukit/score/src/objectshrinkinformation.c     |   5 +-
 cpukit/score/src/thread.c                      |  34 +-
 cpukit/score/src/threadcreateidle.c            |   2 +-
 cpukit/score/src/threadinitialize.c            |   2 +-
 cpukit/score/src/wkspace.c                     |  20 +-
 testsuites/psxtests/psxobj01/init.c            |  35 +-
 testsuites/samples/unlimited/test1.c           |   8 +-
 testsuites/sptests/Makefile.am                 |  10 -
 testsuites/sptests/configure.ac                |   1 -
 testsuites/sptests/spfatal13/spfatal13.doc     |  19 --
 testsuites/sptests/spfatal13/spfatal13.scn     |   3 -
 testsuites/sptests/spfatal13/testcase.h        |  26 --
 testsuites/sptests/spfreechain01/init.c        |   9 +-
 testsuites/sptests/spsimplesched02/init.c      |   2 +-
 testsuites/sptests/spsize/size.c               |   2 +-
 testsuites/sptests/spsysinit01/init.c          | 357 +++++++++++++++++---
 106 files changed, 2473 insertions(+), 2106 deletions(-)
 create mode 100644 cpukit/posix/src/keyzerokvp.c
 create mode 100644 cpukit/sapi/src/getconfigmax.c
 delete mode 100644 testsuites/sptests/spfatal13/spfatal13.doc
 delete mode 100644 testsuites/sptests/spfatal13/spfatal13.scn
 delete mode 100644 testsuites/sptests/spfatal13/testcase.h

-- 
2.16.4



More information about the devel mailing list