From 42f2fdfd4e18a783e8be4f26f83ce86c7a1fedb0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 Jul 2018 07:56:43 +0200 Subject: 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. --- cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h') diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h index 4f2311e755..7b47b1fb75 100644 --- a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h +++ b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h @@ -146,6 +146,10 @@ register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" ); #define _CPU_Get_thread_executing() ( _SPARC_Per_CPU_current->executing ) +void _CPU_Context_volatile_clobber( uintptr_t pattern ); + +void _CPU_Context_validate( uintptr_t pattern ); + #ifdef __cplusplus } #endif -- cgit v1.2.3