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/mips/include/rtems/score/cpu.h | 12 ------------ cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'cpukit/score/cpu/mips') diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpu.h b/cpukit/score/cpu/mips/include/rtems/score/cpu.h index df9f2b71b0..bedb79c53a 100644 --- a/cpukit/score/cpu/mips/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/include/rtems/score/cpu.h @@ -871,18 +871,6 @@ void _CPU_Context_restore_fp( Context_Control_fp **fp_context_ptr ); -static inline void _CPU_Context_volatile_clobber( uintptr_t pattern ) -{ - /* TODO */ -} - -static inline void _CPU_Context_validate( uintptr_t pattern ) -{ - while (1) { - /* TODO */ - } -} - void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ); /* The following routine swaps the endian format of an unsigned int. diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h index 789f2badd9..ee188bebce 100644 --- a/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h +++ b/cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h @@ -25,6 +25,18 @@ extern "C" { #endif +RTEMS_INLINE_ROUTINE void _CPU_Context_volatile_clobber( uintptr_t pattern ) +{ + /* TODO */ +} + +RTEMS_INLINE_ROUTINE void _CPU_Context_validate( uintptr_t pattern ) +{ + while (1) { + /* TODO */ + } +} + #ifdef __cplusplus } #endif -- cgit v1.2.3