diff options
author | Alexander Krutwig <alexander.krutwig@embedded-brains.de> | 2015-04-24 16:05:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-21 09:37:36 +0200 |
commit | 1c59cad4aa40238c1aa3085adf3d079114c077b8 (patch) | |
tree | d8c7bc8d2bcaa3d26aba05afa6cb1222aceb8efc /cpukit/score/cpu/sparc/rtems/score/cpu.h | |
parent | doc: Clarify SPARC floating point ABI (diff) | |
download | rtems-1c59cad4aa40238c1aa3085adf3d079114c077b8.tar.bz2 |
sparc: Add support for sptests/spcontext01
Implement _CPU_Context_validate() and _CPU_Context_volatile_clobber().
Update #2270.
Diffstat (limited to 'cpukit/score/cpu/sparc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 12 |
1 files changed, 2 insertions, 10 deletions
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; |