summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-04 13:45:25 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-07 07:39:41 +0100
commitdf63fbd1ac1085d1a570c28a17d8425de32d7b78 (patch)
tree156a9558dde73ef999f90c37006523b6045de8b5 /cpukit/score/cpu/powerpc/rtems
parentscore: Optimize self-contained mutexes (diff)
downloadrtems-df63fbd1ac1085d1a570c28a17d8425de32d7b78.tar.bz2
score: Add <rtems/score/cpuimpl.h>
The aim of this file is to encapsulate CPU port implementation details. This helps to hide implementation details from <rtems.h> which indirectly includes <rtems/score/cpu.h>.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h b/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h
new file mode 100644
index 0000000000..6b8b601cb0
--- /dev/null
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h
@@ -0,0 +1,30 @@
+/**
+ * @file
+ *
+ * @brief CPU Port Implementation API
+ */
+
+/*
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef _RTEMS_SCORE_CPUIMPL_H
+#define _RTEMS_SCORE_CPUIMPL_H
+
+#include <rtems/score/cpu.h>
+
+#ifndef ASM
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ASM */
+
+#endif /* _RTEMS_SCORE_CPUIMPL_H */