summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at90usb
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-15 18:34:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-15 18:34:21 +0000
commitcfed92be8b2d93060baa14d7527dfd4e20e02962 (patch)
tree0799443a1f0aee82beaac05307251eb4ec6a0059 /nuttx/arch/avr/src/at90usb
parentf0c4282b44dcf92fcf0933df9d47367c03f41ece (diff)
downloadpx4-nuttx-cfed92be8b2d93060baa14d7527dfd4e20e02962.tar.gz
px4-nuttx-cfed92be8b2d93060baa14d7527dfd4e20e02962.tar.bz2
px4-nuttx-cfed92be8b2d93060baa14d7527dfd4e20e02962.zip
More corrections to AVR assembly macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3705 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/at90usb')
-rwxr-xr-xnuttx/arch/avr/src/at90usb/at90usb_exceptions.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/at90usb/at90usb_exceptions.S b/nuttx/arch/avr/src/at90usb/at90usb_exceptions.S
index 8fa931a04..90d9cbac3 100755
--- a/nuttx/arch/avr/src/at90usb/at90usb_exceptions.S
+++ b/nuttx/arch/avr/src/at90usb/at90usb_exceptions.S
@@ -129,8 +129,8 @@ excpt_common:
* the push operation post-decrements -- need to REVISIT this).
*/
- in r16, __SP_L__ /* Get the save structure pointer in a Call-saved register pair */
- in r17, __SP_H__ /* (Careful, push post-decrements) */
+ in r16, _SFR_IO_ADDR(SPL) /* Get the save structure pointer in a Call-saved register pair */
+ in r17, _SFR_IO_ADDR(SPH) /* (Careful, push post-decrements) */
movw r22, r16 /* Pass register save structure as the parameter 2 */
USE_INTSTACK rx, ry, rz /* Switch to the interrupt stack */
call up_doirq /* Dispatch the interrupt */