X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Fhw%2Fswitch_ctx_avr.S;h=db80e94355344349e346cebae01701aee65bc937;hb=f1fab319eb3fe91c157b3a9564841aef62a03554;hp=7ee5a1495830aec4f3e3a805db585e3c5a1cb75d;hpb=b46f64914c62fbb0297728280478681659469654;p=bertos.git diff --git a/bertos/cpu/avr/hw/switch_ctx_avr.S b/bertos/cpu/avr/hw/switch_ctx_avr.S index 7ee5a149..db80e943 100644 --- a/bertos/cpu/avr/hw/switch_ctx_avr.S +++ b/bertos/cpu/avr/hw/switch_ctx_avr.S @@ -78,6 +78,8 @@ asm_switch_context: ld r18,X+ ld r19,X +;FIXME: We probably need to safe the RAMP registers for some XMEGA devices / setups + ; Set new stack pointer. ; AVR is an 8 bit processor so ; care must be taken when updating