[PATCH v2 0/3] Reduce system initialization time

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 15 06:38:45 UTC 2022


This patch set reduces the system initialization time in the default
configuration.  Applications can change the default behaviour through the
CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY and CONFIGURE_DIRTY_MEMORY configuration
options.

v2:

* Reference ticket

* Improve sp54

Sebastian Huber (3):
  bsps: Sort .noinit* sections
  score: Place object controls into .noinit sections
  score: Extend memory dirty/zero actions

 bsps/aarch64/shared/start/linkcmds.base       |  2 +-
 bsps/arm/shared/start/linkcmds.base           |  2 +-
 bsps/bfin/TLL6527M/start/linkcmds             |  2 +-
 bsps/bfin/bf537Stamp/start/linkcmds           |  2 +-
 bsps/bfin/eZKit533/start/linkcmds             |  2 +-
 bsps/i386/pc386/start/linkcmds                |  2 +-
 bsps/lm32/lm32_evr/start/linkcmds             |  2 +-
 bsps/lm32/milkymist/start/linkcmds            |  2 +-
 bsps/m68k/av5282/start/linkcmds               |  2 +-
 bsps/m68k/av5282/start/linkcmdsflash          |  2 +-
 bsps/m68k/av5282/start/linkcmdsram            |  2 +-
 bsps/m68k/csb360/start/linkcmds               |  2 +-
 bsps/m68k/gen68340/start/linkcmds             |  2 +-
 bsps/m68k/gen68360/start/linkcmds             |  2 +-
 bsps/m68k/gen68360/start/linkcmds.bootp       |  2 +-
 bsps/m68k/gen68360/start/linkcmds.prom        |  2 +-
 bsps/m68k/mcf5206elite/start/linkcmds         |  2 +-
 bsps/m68k/mcf5206elite/start/linkcmds.flash   |  2 +-
 bsps/m68k/mcf52235/start/linkcmds             |  2 +-
 bsps/m68k/mcf5225x/start/linkcmds             |  2 +-
 bsps/m68k/mcf5235/start/linkcmds              |  2 +-
 bsps/m68k/mcf5235/start/linkcmdsflash         |  2 +-
 bsps/m68k/mcf5235/start/linkcmdsram           |  2 +-
 bsps/m68k/mcf5329/start/linkcmds              |  2 +-
 bsps/m68k/mcf5329/start/linkcmdsflash         |  2 +-
 bsps/m68k/mrm332/start/linkcmds               |  2 +-
 bsps/m68k/shared/start/linkcmds.base          |  2 +-
 bsps/m68k/uC5282/start/linkcmds               |  2 +-
 bsps/mips/csb350/start/linkcmds               |  2 +-
 bsps/mips/hurricane/start/linkcmds            |  2 +-
 bsps/mips/jmr3904/start/linkcmds              |  2 +-
 bsps/mips/malta/start/linkcmds                |  2 +-
 bsps/mips/rbtx4925/start/linkcmds             |  2 +-
 bsps/mips/rbtx4938/start/linkcmds             |  2 +-
 bsps/moxie/moxiesim/start/linkcmds            |  2 +-
 bsps/nios2/nios2_iss/start/linkcmds           |  2 +-
 bsps/or1k/shared/start/linkcmds.base          |  2 +-
 .../gen5200/start/linkcmds.gen5200_base       |  2 +-
 bsps/powerpc/mpc8260ads/start/linkcmds        |  2 +-
 bsps/powerpc/shared/start/linkcmds.base       |  2 +-
 bsps/powerpc/shared/start/linkcmds.share      |  2 +-
 bsps/powerpc/ss555/start/linkcmds             |  2 +-
 bsps/powerpc/virtex4/start/linkcmds           |  2 +-
 bsps/powerpc/virtex5/start/linkcmds           |  2 +-
 bsps/sh/gensh1/start/linkcmds                 |  2 +-
 bsps/sh/gensh2/start/linkcmds                 |  2 +-
 bsps/sh/gensh2/start/linkcmds.ram             |  2 +-
 bsps/sh/gensh2/start/linkcmds.rom             |  2 +-
 bsps/sh/gensh4/start/linkcmds                 |  2 +-
 bsps/sh/gensh4/start/linkcmds.rom             |  2 +-
 bsps/sh/gensh4/start/linkcmds.rom2ram         |  2 +-
 bsps/sh/shsim/start/linkcmds                  |  2 +-
 bsps/sparc/shared/start/linkcmds.base         |  2 +-
 bsps/sparc64/shared/start/linkcmds            |  2 +-
 bsps/v850/gdbv850sim/start/linkcmds           |  2 +-
 bsps/x86_64/amd64/start/linkcmds              |  2 +-
 cpukit/include/rtems/score/memory.h           | 14 +++++-
 cpukit/include/rtems/score/objectdata.h       |  7 ++-
 cpukit/include/rtems/score/thread.h           |  9 ++--
 cpukit/score/src/memorydirtyfreeareas.c       |  9 +++-
 cpukit/score/src/memorynoinit.c               | 45 +++++++++++++++++
 cpukit/score/src/memoryzerofreeareas.c        |  9 +++-
 spec/build/cpukit/librtemscpu.yml             |  1 +
 testsuites/sptests/sp01/init.c                |  3 +-
 testsuites/sptests/sp54/init.c                | 48 ++++++++++++++++---
 65 files changed, 186 insertions(+), 71 deletions(-)
 create mode 100644 cpukit/score/src/memorynoinit.c

-- 
2.35.3



More information about the devel mailing list