From fffb51bf52f6cda77fb5ef50769e541ada2df2f3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 18 Jun 2011 15:49:59 +0000 Subject: [PATCH] Update documents and comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3723 42af7a65-404d-4744-a932-0658087f49c3 --- arch/avr/src/avr/excptmacros.h | 2 +- arch/avr/src/avr/up_switchcontext.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/avr/src/avr/excptmacros.h b/arch/avr/src/avr/excptmacros.h index 604ad5fae8..b1d9583b80 100755 --- a/arch/avr/src/avr/excptmacros.h +++ b/arch/avr/src/avr/excptmacros.h @@ -415,7 +415,7 @@ .macro TCB_RESTORE, regs - /* X [r36:27] points to the resister save block. Get an offset pointer to the PC in + /* X [r36:27] points to the register save block. Get an offset pointer to the PC in * Y [r28:29] */ diff --git a/arch/avr/src/avr/up_switchcontext.S b/arch/avr/src/avr/up_switchcontext.S index e60939c849..3e451f4092 100755 --- a/arch/avr/src/avr/up_switchcontext.S +++ b/arch/avr/src/avr/up_switchcontext.S @@ -122,7 +122,7 @@ up_switchcontext: .global up_fullcontextrestore .func up_fullcontextrestore up_fullcontextrestore: - /* Use X ]r26:r27] to reference the restore structure. */ + /* Use X [r26:r27] to reference the restore structure. */ movw r26, r24