[PATCH 00/18] Start with splitting up confdefs.h

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 14 16:02:25 UTC 2020


This is the first round of patches to split up confdefs.h.  See also:

https://devel.rtems.org/ticket/3875

Sebastian Huber (18):
  Remove rtems_configuration_get_posix_api_configuration()
  config: Remove unused configuration constant
  monitor: Use proper API for all config constants
  config: Remove CONFIGURE_HAS_OWN_INIT_TASK_TABLE
  config: Simplify initialization task config
  rtems: Simplify _RTEMS_tasks_Initialize_user_task()
  config: Bring back RTEMS 4.11 configuration table
  posix: Remove <rtems/posix/ptimer.h>
  config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
  config: Add _Watchdog_Microseconds_per_tick
  config: Add _Watchdog_Ticks_per_timeslice
  config: Add _Thread_Idle_stack_size
  config: Add _Thread_Idle_body
  config: Add _Workspace_Size
  config: Add _Workspace_Is_unified
  config: Add _SMP_Processor_configure_maximum
  config: Add _SMP_Is_enabled
  config: Add <rtems/confdefs/obsolete.h>

 cpukit/Makefile.am                            |   7 +
 cpukit/header-dirs.am                         |   2 +
 cpukit/headers.am                             |   5 +-
 cpukit/include/rtems/confdefs.h               | 355 ++++++--------------------
 cpukit/include/rtems/confdefs/obsolete.h      | 199 +++++++++++++++
 cpukit/include/rtems/config.h                 | 115 +--------
 cpukit/include/rtems/posix/config.h           |  60 -----
 cpukit/include/rtems/posix/pthread.h          |  25 +-
 cpukit/include/rtems/posix/pthreadimpl.h      |   1 -
 cpukit/include/rtems/posix/ptimer.h           |  88 -------
 cpukit/include/rtems/rtems/config.h           |  74 +++++-
 cpukit/include/rtems/rtems/tasksdata.h        |  19 +-
 cpukit/include/rtems/score/smp.h              |  26 ++
 cpukit/include/rtems/score/threadidledata.h   |  83 ++++++
 cpukit/include/rtems/score/watchdogticks.h    |  26 ++
 cpukit/include/rtems/score/wkspacedata.h      |  73 ++++++
 cpukit/libmisc/monitor/mon-config.c           |  15 +-
 cpukit/libmisc/monitor/mon-itask.c            |   8 +-
 cpukit/posix/src/pthreadinitthreads.c         |  75 +++---
 cpukit/posix/src/timersettime.c               |   1 -
 cpukit/rtems/src/getapiconfig.c               |  64 +++++
 cpukit/rtems/src/taskinitdefault.c            |  34 +++
 cpukit/rtems/src/taskinitusers.c              | 103 +++-----
 cpukit/score/src/threadcreateidle.c           |   6 +-
 cpukit/score/src/threadidledefault.c          |  34 +++
 cpukit/score/src/threadidlestacksizedefault.c |  34 +++
 cpukit/score/src/watchdogticksdefault.c       |  41 +++
 cpukit/score/src/watchdogtimeslicedefault.c   |  35 +++
 cpukit/score/src/wkspaceisunifieddefault.c    |  34 +++
 testsuites/psxtests/psxfatal01/init.c         |  22 +-
 testsuites/psxtests/psxfatal02/init.c         |  40 +--
 testsuites/sptests/sp54/init.c                |  26 +-
 testsuites/sptests/spfatal01/init.c           |  33 +--
 testsuites/sptests/spfatal02/init.c           |  20 +-
 testsuites/sptests/spfatal04/init.c           |  20 --
 testsuites/sptests/spfatal05/init.c           |  20 --
 testsuites/sptests/spfatal06/init.c           |  24 +-
 testsuites/sptests/spsysinit01/init.c         |  21 ++
 38 files changed, 1014 insertions(+), 854 deletions(-)
 create mode 100644 cpukit/include/rtems/confdefs/obsolete.h
 delete mode 100644 cpukit/include/rtems/posix/config.h
 delete mode 100644 cpukit/include/rtems/posix/ptimer.h
 create mode 100644 cpukit/include/rtems/score/threadidledata.h
 create mode 100644 cpukit/include/rtems/score/wkspacedata.h
 create mode 100644 cpukit/rtems/src/getapiconfig.c
 create mode 100644 cpukit/rtems/src/taskinitdefault.c
 create mode 100644 cpukit/score/src/threadidledefault.c
 create mode 100644 cpukit/score/src/threadidlestacksizedefault.c
 create mode 100644 cpukit/score/src/watchdogticksdefault.c
 create mode 100644 cpukit/score/src/watchdogtimeslicedefault.c
 create mode 100644 cpukit/score/src/wkspaceisunifieddefault.c

-- 
2.16.4



More information about the devel mailing list