summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-tls.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libdl/rtl-tls.h (renamed from cpukit/score/cpu/aarch64/include/rtems/score/cpuatomic.h)25
1 files changed, 17 insertions, 8 deletions
diff --git a/cpukit/score/cpu/aarch64/include/rtems/score/cpuatomic.h b/cpukit/libdl/rtl-tls.h
index ed8091d73c..78dc738dd4 100644
--- a/cpukit/score/cpu/aarch64/include/rtems/score/cpuatomic.h
+++ b/cpukit/libdl/rtl-tls.h
@@ -3,14 +3,15 @@
/**
* @file
*
- * @ingroup RTEMSScoreCPU
+ * @ingroup rtems_rtld
*
- * @brief AArch64 Atomics support
+ * @brief RTEMS Run-Time Link Editor Thread Local Storage
+ *
+ * TLS support the RTL.
*/
/*
- * Copyright (C) 2020 On-Line Applications Research Corporation (OAR)
- * Written by Kinsey Moore <kinsey.moore@oarcorp.com>
+ * COPYRIGHT (c) 2023 Chris Johns <chrisj@rtems.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -34,9 +35,17 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _RTEMS_SCORE_ATOMIC_CPU_H
-#define _RTEMS_SCORE_ATOMIC_CPU_H
+#if !defined (_RTEMS_RTL_TLS_H_)
+#define _RTEMS_RTL_TLS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+void* rtems_rtl_tls_get_base (void);
-#include <rtems/score/cpustdatomic.h>
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
-#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */
+#endif