diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-19 16:39:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-19 16:39:30 +0000 |
commit | 62851cf507bfeafa5c169768df5fdee328f2e062 (patch) | |
tree | ca4aa34ac4ceaa82f6b268d7ed1d5db11d7194c2 /nuttx/arch/dm320 | |
parent | ed92bb853bb946016f343ad7846d5b54a98d83e6 (diff) | |
download | px4-nuttx-62851cf507bfeafa5c169768df5fdee328f2e062.tar.gz px4-nuttx-62851cf507bfeafa5c169768df5fdee328f2e062.tar.bz2 px4-nuttx-62851cf507bfeafa5c169768df5fdee328f2e062.zip |
Typo in naming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@98 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/dm320')
-rw-r--r-- | nuttx/arch/dm320/include/irq.h | 8 | ||||
-rw-r--r-- | nuttx/arch/dm320/src/up_copystate.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/dm320/include/irq.h b/nuttx/arch/dm320/include/irq.h index 98e18b7f6..9e5daafb3 100644 --- a/nuttx/arch/dm320/include/irq.h +++ b/nuttx/arch/dm320/include/irq.h @@ -78,8 +78,8 @@ #define REG_R15 (15) #define REG_CPSR (16) -#define XCPTCONTEST_REGS (17) -#define XCPTCONTEXT_SIZE (4 * XCPTCONTEST_REGS) +#define XCPTCONTEXT_REGS (17) +#define XCPTCONTEXT_SIZE (4 * XCPTCONTEXT_REGS) #define REG_A1 REG_R0 #define REG_A2 REG_R1 @@ -173,7 +173,7 @@ *--- * 5 (XCPTCONTEXT_IRQ_REGS) * - * For a total of 17 (XCPTCONTEST_REGS) + * For a total of 17 (XCPTCONTEXT_REGS) */ #ifndef __ASSEMBLY__ @@ -194,7 +194,7 @@ struct xcptcontext /* Register save area */ - uint32 regs[XCPTCONTEST_REGS]; + uint32 regs[XCPTCONTEXT_REGS]; }; #endif diff --git a/nuttx/arch/dm320/src/up_copystate.c b/nuttx/arch/dm320/src/up_copystate.c index 8e8586699..bd9db8161 100644 --- a/nuttx/arch/dm320/src/up_copystate.c +++ b/nuttx/arch/dm320/src/up_copystate.c @@ -67,7 +67,7 @@ void up_copystate(uint32 *dest, uint32 *src) { int i; - for (i = 0; i < XCPTCONTEST_REGS; i++) + for (i = 0; i < XCPTCONTEXT_REGS; i++) { *dest++ = *src++; } |