[PATCH 0/3] Optimize object name to identifier implementation
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Aug 21 08:32:35 UTC 2020
Sebastian Huber (3):
score: Constify objects name to id functions
rtems: Add _RTEMS_Name_to_id()
score: Optimize _Objects_Name_to_id_u32()
cpukit/Makefile.am | 1 +
cpukit/include/rtems/rtems/objectimpl.h | 82 +++++++++++++++++++++++
cpukit/include/rtems/score/objectimpl.h | 27 ++++----
cpukit/include/rtems/score/objectmp.h | 8 +--
cpukit/rtems/src/barrierident.c | 55 +++++++++------
cpukit/rtems/src/dpmemident.c | 51 ++++++++------
cpukit/rtems/src/msgqident.c | 57 ++++++++--------
cpukit/rtems/src/partident.c | 47 ++++++++-----
cpukit/rtems/src/ratemonident.c | 56 +++++++++-------
cpukit/rtems/src/regionident.c | 57 +++++++++-------
cpukit/rtems/src/rtemsnametoid.c | 55 +++++++++++++++
cpukit/rtems/src/semident.c | 44 ++++++++----
cpukit/rtems/src/taskident.c | 65 +++++++++++-------
cpukit/rtems/src/timerident.c | 56 +++++++++-------
cpukit/sapi/src/extensionident.c | 52 ++++++++------
cpukit/score/src/objectmp.c | 8 +--
cpukit/score/src/objectnametoid.c | 13 ++--
testsuites/sptests/spsimplesched02/init.c | 4 +-
18 files changed, 492 insertions(+), 246 deletions(-)
create mode 100644 cpukit/include/rtems/rtems/objectimpl.h
create mode 100644 cpukit/rtems/src/rtemsnametoid.c
--
2.26.2
More information about the devel
mailing list