From 1c59cad4aa40238c1aa3085adf3d079114c077b8 Mon Sep 17 00:00:00 2001 From: Alexander Krutwig Date: Fri, 24 Apr 2015 16:05:50 +0200 Subject: sparc: Add support for sptests/spcontext01 Implement _CPU_Context_validate() and _CPU_Context_volatile_clobber(). Update #2270. --- cpukit/score/cpu/sparc/rtems/score/cpu.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'cpukit/score/cpu/sparc/rtems/score') diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 235b3652ac..64e87509b4 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -1216,17 +1216,9 @@ void _CPU_Context_restore_fp( Context_Control_fp **fp_context_ptr ); -static inline void _CPU_Context_volatile_clobber( uintptr_t pattern ) -{ - /* TODO */ -} +void _CPU_Context_volatile_clobber( uintptr_t pattern ); -static inline void _CPU_Context_validate( uintptr_t pattern ) -{ - while (1) { - /* TODO */ - } -} +void _CPU_Context_validate( uintptr_t pattern ); typedef struct { uint32_t trap; -- cgit v1.2.3