summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/or1k
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-20 07:56:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-20 09:11:05 +0200
commit42f2fdfd4e18a783e8be4f26f83ce86c7a1fedb0 (patch)
tree7712dfa1591715b0bff54b06e949512b8c636d68 /cpukit/score/cpu/or1k
parentscore: Remove obsolete CPU port defines (diff)
downloadrtems-42f2fdfd4e18a783e8be4f26f83ce86c7a1fedb0.tar.bz2
score: Move context validation declarations
The context validation support functions _CPU_Context_validate() and _CPU_Context_volatile_clobber() are used only by one test program (spcontext01). Move the function declarations to the CPU port implementation header file.
Diffstat (limited to 'cpukit/score/cpu/or1k')
-rw-r--r--cpukit/score/cpu/or1k/include/rtems/score/cpu.h4
-rw-r--r--cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
index 333bdf8ccc..0c8358bfb9 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
@@ -744,10 +744,6 @@ void _CPU_Context_restore_fp(
*
*/
-void _CPU_Context_volatile_clobber( uintptr_t pattern );
-
-void _CPU_Context_validate( uintptr_t pattern );
-
static inline unsigned int CPU_swap_u32(
unsigned int value
)
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
index 789f2badd9..19afb254fd 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
@@ -25,6 +25,10 @@
extern "C" {
#endif
+void _CPU_Context_volatile_clobber( uintptr_t pattern );
+
+void _CPU_Context_validate( uintptr_t pattern );
+
#ifdef __cplusplus
}
#endif