[PATCH 0/3] Clean up files related to memory allocation

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 20 10:53:42 UTC 2021


Sebastian Huber (3):
  Remove superfluous <rtems/score/wkspace.h> includes
  libcsupport: Move rtems_calloc()
  malloc: Hide RTEMS_Malloc_Sbrk_amount

 bsps/include/bsp/bootcard.h                   |  1 -
 cpukit/Makefile.am                            |  1 +
 cpukit/include/rtems/malloc.h                 |  7 +--
 cpukit/libcsupport/src/malloc_deferred.c      | 15 -----
 cpukit/libcsupport/src/newlibc_reent.c        |  1 -
 .../src/rtems_heap_extend_via_sbrk.c          |  7 ++-
 cpukit/libcsupport/src/rtemscalloc.c          | 57 +++++++++++++++++++
 cpukit/posix/src/psignal.c                    |  1 -
 cpukit/posix/src/psignalclearsignals.c        |  1 -
 cpukit/posix/src/psignalsetprocesssignals.c   |  1 -
 cpukit/posix/src/psignalunblockthread.c       |  1 -
 cpukit/sapi/src/exinit.c                      |  1 -
 cpukit/score/cpu/bfin/cpu.c                   |  1 -
 cpukit/score/cpu/lm32/cpu.c                   |  1 -
 cpukit/score/cpu/mips/cpu.c                   |  1 -
 cpukit/score/cpu/moxie/cpu.c                  |  1 -
 cpukit/score/cpu/no_cpu/cpu.c                 |  1 -
 cpukit/score/cpu/or1k/cpu.c                   |  1 -
 cpukit/score/cpu/v850/cpu.c                   |  1 -
 cpukit/score/cpu/x86_64/cpu.c                 |  1 -
 cpukit/score/src/coremsgflushwait.c           |  1 -
 cpukit/score/src/coremsgsubmit.c              |  1 -
 .../score/src/objectinitializeinformation.c   |  1 -
 cpukit/score/src/schedulercbscleanup.c        |  1 -
 cpukit/score/src/schedulercbsdestroyserver.c  |  1 -
 cpukit/score/src/threaddispatch.c             |  1 -
 cpukit/score/src/threadrestart.c              |  1 -
 spec/build/cpukit/librtemscpu.yml             |  1 +
 28 files changed, 66 insertions(+), 44 deletions(-)
 create mode 100644 cpukit/libcsupport/src/rtemscalloc.c

-- 
2.26.2



More information about the devel mailing list