From 27bfcd88f7e65c81b406afa85d81b060e2ea24e3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 25 Jan 2017 14:32:02 +0100 Subject: score: Delete _CPU_Context_Fp_start() Since the FP area pointer is passed by reference in _CPU_Context_Initialize_fp() the optional FP area adjustment via _CPU_Context_Fp_start() is superfluous. It is also wrong with respect to memory management, e.g. pointer passed to _Workspace_Free() may be not the one returned by _Workspace_Allocate(). Close #1400. --- cpukit/score/include/rtems/score/context.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'cpukit/score/include/rtems/score/context.h') diff --git a/cpukit/score/include/rtems/score/context.h b/cpukit/score/include/rtems/score/context.h index 7e59f05d60..46cb4606b1 100644 --- a/cpukit/score/include/rtems/score/context.h +++ b/cpukit/score/include/rtems/score/context.h @@ -110,22 +110,6 @@ extern "C" { #define _Context_Restart_self( _the_context ) \ _CPU_Context_Restart_self( _the_context ) -/** - * @brief Return starting address of floating point context. - * - * This function returns the starting address of the floating - * point context save area. It is assumed that the are reserved - * for the floating point save area is large enough. - * - * @param[in] _base is lowest physical address of the floating point - * context save area. - * @param[in] _offset is the offset into the floating point area - * - * @retval the initial FP context pointer - */ -#define _Context_Fp_start( _base, _offset ) \ - _CPU_Context_Fp_start( (_base), (_offset) ) - /** * @brief Initialize floating point context area. * -- cgit v1.2.3