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 cb10b5f81ab3640bf589ce064d59bf01837393b6..db80e94355344349e346cebae01701aee65bc937 100644
(file)
--- a/
bertos/cpu/avr/hw/switch_ctx_avr.S
+++ b/
bertos/cpu/avr/hw/switch_ctx_avr.S
@@
-30,7
+30,6
@@
* Copyright 1999, 2000, 2001 Bernie Innocenti <bernie@codewiz.org>
* -->
*
* Copyright 1999, 2000, 2001 Bernie Innocenti <bernie@codewiz.org>
* -->
*
- * \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
*
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
*
@@
-79,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