summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-25 14:32:02 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-26 07:31:09 +0100
commit27bfcd88f7e65c81b406afa85d81b060e2ea24e3 (patch)
tree17063cc375987e424335b9003da0c3ffdb7b9947 /cpukit/score/cpu/arm
parentpsxtests: Relax shared memory tests (diff)
downloadrtems-27bfcd88f7e65c81b406afa85d81b060e2ea24e3.tar.bz2
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.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index cdffc9c1e9..9f321acc0a 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -458,9 +458,6 @@ void _CPU_Context_Initialize(
#define _CPU_Context_Restart_self( _the_context ) \
_CPU_Context_restore( (_the_context) );
-#define _CPU_Context_Fp_start( _base, _offset ) \
- ( (void *) _Addresses_Add_offset( (_base), (_offset) ) )
-
#define _CPU_Context_Initialize_fp( _destination ) \
do { \
*(*(_destination)) = _CPU_Null_fp_context; \