From 49a88a73a871d23bb7129a5048e4b5331527e84a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 15 Sep 2023 08:21:21 +0200 Subject: score: Add _CPU_Get_TLS_thread_pointer() Add _CPU_Get_TLS_thread_pointer() to get the thread pointer which is used to get the address of thread-local storage objects associated with a thread. Update #4920. --- cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h') diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h index ca87c61c2b..e5f45eb363 100644 --- a/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h +++ b/cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h @@ -72,6 +72,14 @@ static inline void _CPU_Use_thread_local_storage( (void) context; } +static inline void *_CPU_Get_TLS_thread_pointer( + const Context_Control *context +) +{ + (void) context; + return NULL; +} + #ifdef __cplusplus } #endif -- cgit v1.2.3