diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-15 04:51:23 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-15 04:51:23 +0000 |
commit | 6d521f09f1027bb402a070193fd80bdd922278dc (patch) | |
tree | fc88a3ece61feea2d860a462d93c8286aa3cd6bd /cpukit/score/cpu/lm32/rtems/score/cpu.h | |
parent | Regenerate. (diff) | |
download | rtems-6d521f09f1027bb402a070193fd80bdd922278dc.tar.bz2 |
2010-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Make _gp global.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/lm32/rtems/score/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index 41c30ca099..9cf0ec389f 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -840,10 +840,11 @@ uint32_t _CPU_ISR_Get_level( void ); * * XXX document implementation including references if appropriate */ +extern char _gp[]; + #define _CPU_Context_Initialize( _the_context, _stack_base, _size, \ _isr, _entry_point, _is_fp ) \ do { \ - extern char _gp[]; \ uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \ (_the_context)->gp = (void *)_gp; \ (_the_context)->fp = (void *)_stack; \ |