projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up. Reformat.
[bertos.git]
/
bertos
/
cpu
/
avr
/
hw
/
switch_ctx_avr.S
diff --git
a/bertos/cpu/avr/hw/switch_ctx_avr.S
b/bertos/cpu/avr/hw/switch_ctx_avr.S
index 7ee5a1495830aec4f3e3a805db585e3c5a1cb75d..db80e94355344349e346cebae01701aee65bc937 100644
(file)
--- 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
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
; Set new stack pointer.
; AVR is an 8 bit processor so
; care must be taken when updating