diff options
-rw-r--r-- | cpukit/score/cpu/avr/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/cpu_asm.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog index ca48ff6c92..f509ab6135 100644 --- a/cpukit/score/cpu/avr/ChangeLog +++ b/cpukit/score/cpu/avr/ChangeLog @@ -1,3 +1,7 @@ +2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib. + 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com> * rtems/score/cpu.h: AVR stack grows down. diff --git a/cpukit/score/cpu/avr/cpu_asm.c b/cpukit/score/cpu/avr/cpu_asm.c index 685c4247a0..ceacc7f617 100644 --- a/cpukit/score/cpu/avr/cpu_asm.c +++ b/cpukit/score/cpu/avr/cpu_asm.c @@ -28,6 +28,16 @@ #include <rtems/bspIo.h> /* XXX remove me later */ +/* XXX remove me when really implemented */ +int setjmp(void) +{ + return 0; +} +int longjmp(void) +{ + return 0; +} + /* * _CPU_Context_save_fp_context * |