[PATCH] Do not use RTEMS_INLINE_ROUTINE
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Sep 8 08:52:53 UTC 2022
Directly use "static inline" which is available in C99 and later. This brings
the RTEMS implementation closer to standard C.
Close #3935.
---
bsps/i386/pc386/include/edid.h | 2 +-
bsps/include/grlib/grlib_impl.h | 18 +-
bsps/m68k/shared/cache/cache.h | 56 +++---
bsps/powerpc/gen5200/include/tm27.h | 2 +-
bsps/powerpc/motorola_powerpc/include/bsp.h | 2 +-
bsps/powerpc/mvme5500/include/tm27.h | 2 +-
bsps/powerpc/psim/include/tm27.h | 2 +-
bsps/powerpc/qoriq/include/tm27.h | 10 +-
bsps/powerpc/t32mppc/include/bsp/irq.h | 4 +-
bsps/powerpc/virtex/console/consolelite.c | 8 +-
bsps/sparc/erc32/include/bsp/irq.h | 4 +-
bsps/x86_64/amd64/start/page.c | 2 +-
cpukit/include/drvmgr/drvmgr.h | 4 +-
cpukit/include/pci/access.h | 20 +--
cpukit/include/pci/irq.h | 10 +-
cpukit/include/rtems/bsd.h | 24 +--
cpukit/include/rtems/cbs.h | 24 +--
cpukit/include/rtems/chain.h | 64 +++----
cpukit/include/rtems/extensionimpl.h | 6 +-
cpukit/include/rtems/ioimpl.h | 4 +-
cpukit/include/rtems/libio.h | 2 +-
cpukit/include/rtems/linkersets.h | 2 +-
cpukit/include/rtems/mallocinitmulti.h | 2 +-
cpukit/include/rtems/mallocinitone.h | 2 +-
cpukit/include/rtems/media.h | 2 +-
cpukit/include/rtems/posix/condimpl.h | 10 +-
cpukit/include/rtems/posix/keyimpl.h | 22 +--
cpukit/include/rtems/posix/mqueueimpl.h | 14 +-
cpukit/include/rtems/posix/muteximpl.h | 32 ++--
cpukit/include/rtems/posix/posixapi.h | 10 +-
cpukit/include/rtems/posix/priorityimpl.h | 2 +-
cpukit/include/rtems/posix/psignalimpl.h | 4 +-
cpukit/include/rtems/posix/pthreadattrimpl.h | 6 +-
cpukit/include/rtems/posix/pthreadimpl.h | 4 +-
cpukit/include/rtems/posix/rwlockimpl.h | 2 +-
cpukit/include/rtems/posix/semaphoreimpl.h | 18 +-
cpukit/include/rtems/posix/shmimpl.h | 10 +-
cpukit/include/rtems/posix/spinlockimpl.h | 2 +-
cpukit/include/rtems/posix/timerimpl.h | 10 +-
cpukit/include/rtems/pty.h | 2 +-
cpukit/include/rtems/qreslib.h | 24 +--
cpukit/include/rtems/rbtree.h | 46 ++---
cpukit/include/rtems/record.h | 22 +--
cpukit/include/rtems/rtems/attrimpl.h | 28 +--
cpukit/include/rtems/rtems/barrierimpl.h | 6 +-
cpukit/include/rtems/rtems/dpmemimpl.h | 6 +-
cpukit/include/rtems/rtems/eventimpl.h | 10 +-
cpukit/include/rtems/rtems/messageimpl.h | 6 +-
cpukit/include/rtems/rtems/modesimpl.h | 14 +-
cpukit/include/rtems/rtems/msgmp.h | 2 +-
cpukit/include/rtems/rtems/optionsimpl.h | 4 +-
cpukit/include/rtems/rtems/partimpl.h | 6 +-
cpukit/include/rtems/rtems/partmp.h | 2 +-
cpukit/include/rtems/rtems/ratemonimpl.h | 12 +-
cpukit/include/rtems/rtems/regionimpl.h | 12 +-
cpukit/include/rtems/rtems/semimpl.h | 24 +--
cpukit/include/rtems/rtems/semmp.h | 2 +-
cpukit/include/rtems/rtems/statusimpl.h | 4 +-
cpukit/include/rtems/rtems/tasksimpl.h | 6 +-
cpukit/include/rtems/rtems/timerimpl.h | 22 +--
cpukit/include/rtems/score/address.h | 14 +-
cpukit/include/rtems/score/chainimpl.h | 82 ++++-----
cpukit/include/rtems/score/corebarrierimpl.h | 10 +-
cpukit/include/rtems/score/coremsgimpl.h | 26 +--
cpukit/include/rtems/score/coremuteximpl.h | 38 ++--
cpukit/include/rtems/score/corerwlockimpl.h | 6 +-
cpukit/include/rtems/score/coresemimpl.h | 12 +-
cpukit/include/rtems/score/freechainimpl.h | 8 +-
cpukit/include/rtems/score/hash.h | 8 +-
cpukit/include/rtems/score/heap.h | 8 +-
cpukit/include/rtems/score/heapimpl.h | 54 +++---
cpukit/include/rtems/score/isrlock.h | 2 +-
cpukit/include/rtems/score/memory.h | 26 +--
cpukit/include/rtems/score/mpciimpl.h | 2 +-
cpukit/include/rtems/score/mrspimpl.h | 32 ++--
cpukit/include/rtems/score/object.h | 8 +-
cpukit/include/rtems/score/objectimpl.h | 46 ++---
cpukit/include/rtems/score/percpu.h | 6 +-
.../include/rtems/score/prioritybitmapimpl.h | 22 +--
cpukit/include/rtems/score/priorityimpl.h | 62 +++----
cpukit/include/rtems/score/processormask.h | 42 ++---
cpukit/include/rtems/score/protectedheap.h | 6 +-
cpukit/include/rtems/score/rbtree.h | 38 ++--
cpukit/include/rtems/score/schedulercbsimpl.h | 4 +-
cpukit/include/rtems/score/scheduleredfimpl.h | 18 +-
cpukit/include/rtems/score/schedulerimpl.h | 62 +++----
.../include/rtems/score/schedulernodeimpl.h | 20 +--
.../rtems/score/schedulerpriorityimpl.h | 22 +--
.../include/rtems/score/schedulersimpleimpl.h | 10 +-
cpukit/include/rtems/score/scheduleruniimpl.h | 14 +-
cpukit/include/rtems/score/smpimpl.h | 4 +-
cpukit/include/rtems/score/stackimpl.h | 10 +-
cpukit/include/rtems/score/statesimpl.h | 18 +-
cpukit/include/rtems/score/sysstate.h | 12 +-
cpukit/include/rtems/score/threaddispatch.h | 16 +-
cpukit/include/rtems/score/threadimpl.h | 166 +++++++++---------
cpukit/include/rtems/score/threadmp.h | 2 +-
cpukit/include/rtems/score/threadqimpl.h | 70 ++++----
cpukit/include/rtems/score/timestampimpl.h | 26 +--
cpukit/include/rtems/score/todimpl.h | 4 +-
cpukit/include/rtems/score/userextimpl.h | 4 +-
cpukit/include/rtems/score/watchdogimpl.h | 52 +++---
cpukit/include/rtems/score/wkspaceinitmulti.h | 2 +-
cpukit/include/rtems/score/wkspaceinitone.h | 2 +-
cpukit/include/rtems/termiostypes.h | 8 +-
cpukit/include/rtems/timecounter.h | 14 +-
cpukit/include/rtems/timespec.h | 28 +--
cpukit/libfs/src/dosfs/msdos.h | 4 +-
.../cpu/aarch64/include/rtems/score/cpu.h | 2 +-
.../cpu/aarch64/include/rtems/score/cpuimpl.h | 6 +-
.../score/cpu/arm/include/rtems/score/cpu.h | 2 +-
.../cpu/arm/include/rtems/score/cpuimpl.h | 6 +-
.../score/cpu/bfin/include/rtems/score/cpu.h | 2 +-
.../cpu/bfin/include/rtems/score/cpuimpl.h | 10 +-
.../score/cpu/i386/include/rtems/score/cpu.h | 2 +-
.../cpu/i386/include/rtems/score/cpuimpl.h | 10 +-
.../score/cpu/i386/include/rtems/score/i386.h | 4 +-
.../score/cpu/lm32/include/rtems/score/cpu.h | 4 +-
.../cpu/lm32/include/rtems/score/cpuimpl.h | 10 +-
.../score/cpu/m68k/include/rtems/score/cpu.h | 2 +-
.../cpu/m68k/include/rtems/score/cpuimpl.h | 10 +-
.../cpu/microblaze/include/rtems/score/cpu.h | 2 +-
.../microblaze/include/rtems/score/cpuimpl.h | 6 +-
.../score/cpu/mips/include/rtems/score/cpu.h | 2 +-
.../cpu/mips/include/rtems/score/cpuimpl.h | 10 +-
.../score/cpu/moxie/include/rtems/score/cpu.h | 2 +-
.../cpu/moxie/include/rtems/score/cpuimpl.h | 10 +-
.../cpu/nios2/include/rtems/score/cpuimpl.h | 6 +-
cpukit/score/cpu/nios2/nios2-iic-irq.c | 2 +-
.../cpu/no_cpu/include/rtems/score/cpu.h | 2 +-
.../cpu/no_cpu/include/rtems/score/cpuimpl.h | 6 +-
.../score/cpu/or1k/include/rtems/score/cpu.h | 4 +-
.../cpu/or1k/include/rtems/score/cpuimpl.h | 6 +-
.../cpu/powerpc/include/rtems/score/cpu.h | 2 +-
.../cpu/powerpc/include/rtems/score/cpuimpl.h | 6 +-
.../score/cpu/riscv/include/rtems/score/cpu.h | 4 +-
.../cpu/riscv/include/rtems/score/cpuimpl.h | 6 +-
cpukit/score/cpu/sh/include/rtems/score/cpu.h | 2 +-
.../cpu/sh/include/rtems/score/cpuimpl.h | 10 +-
.../cpu/sparc/include/libcpu/byteorder.h | 16 +-
.../score/cpu/sparc/include/rtems/score/cpu.h | 2 +-
.../cpu/sparc/include/rtems/score/cpuimpl.h | 6 +-
.../cpu/sparc64/include/rtems/score/cpu.h | 2 +-
.../cpu/sparc64/include/rtems/score/cpuimpl.h | 10 +-
.../score/cpu/v850/include/rtems/score/cpu.h | 2 +-
.../cpu/v850/include/rtems/score/cpuimpl.h | 10 +-
.../cpu/x86_64/include/rtems/score/cpu.h | 6 +-
.../cpu/x86_64/include/rtems/score/cpu_asm.h | 20 +--
.../cpu/x86_64/include/rtems/score/cpuimpl.h | 10 +-
testsuites/sptests/sp07/system.h | 2 +-
150 files changed, 1039 insertions(+), 1039 deletions(-)
The patch can be reviewed here:
https://git.rtems.org/sebh/rtems.git/commit/?h=remove-rtems-inline-routine
More information about the devel
mailing list